question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Hive] Use SQL to limit fetch size is not working

See original GitHub issue

I am running Hive on Spark. I need to use hive with option hive.fetch.task.conversion=none . So all SQL commands will run within an Apache Spark application. Howerver, the Data Editor will run SELECT * FROM [table] without LIMIT clause and this take a long time to run this job. Therefore, I have enabled Use SQL to limit fetch size in Data Editor setting but the SELECT * query still didn’t append LIMIT clause. I think this is a bug of Dbeaver.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
uslsscommented, Sep 9, 2020

thanks for the bug report and clarification

0reactions
uslsscommented, Oct 23, 2020

verified

Read more comments on GitHub >

github_iconTop Results From Across the Web

HIVE: How does 'LIMIT' on 'SELECT * from' work under-the ...
Under the hood a "SELECT" in a hive issues a FETCH task instead of spawing a mapreduce task. Think of it like a...
Read more >
hive select query with limit - Cloudera Community - 234636
I am trying to fetch results data stored in hive orc table , but when I run the query it gives results fast...
Read more >
PI41136: HIVE JDBC ARRAY FETCH SIZE NEEDS ... - IBM
The java.sql.statement.setFetchSize parameter is fixed at 50 and is creating a performance bottle neck. Customer wants the.
Read more >
Hive connector — Trino 403 Documentation
This works for very simple Hive views, but can lead to problems for more complex queries. For example, if a HiveQL function has...
Read more >
error in fetching data from Hive table - SAS Communities
I am trying to read into SAS from a Hadoop Apache Hive table and facing ... and the use of DBSASTYPE to limit...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found