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.

Meta data queries executed on editor connection and not meta cnonection

See original GitHub issue

System information:

  • Operating system (distribution) and version: Windows 10
  • DBeaver version: DBeaver 6.3.5 and 7.0
  • Additional extensions: Office Plugin

Connection specification:

  • Database name and version: Exasol 6.1.6
  • Driver name: Exasol
  • Do you use tunnels or proxies (SSH, SOCKS, etc)? No

Describe the problem you’re observing:

certain meta data queries for objects are executed on the editor connection for Exasol

Steps to reproduce, if exist: die

SELECT * from "$ODBC"(CTRL+space to trigger autocomplete); -- don't execute it's just a lookup that can't return a result
flush statistics;
select * from exa_statistics.exa_dba_audit_sql where session_id = current_session and sql_text like '%table_schem%';

The select from the audit shows SQLs that are executed on the current session (Editor Window). image As you can see the lookup for the object for the auto complete was done in editor session.

Looks like the session given to ExasolStructureAssistant in searchTables is not in the DBCExecutionPurpose.META context even though it set in the class

Include any warning/errors/backtraces from the logs

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
Sargulcommented, Mar 18, 2020

I’ve assigned the task to myself

0reactions
serge-ridercommented, Mar 18, 2020

I see, ok, this makes sense.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Synchronizing metadata connections and database structures
When the data in a source database is changed or updated, it is necessary that the relevant connection structure in Talend Studio follows...
Read more >
Why does my query run multiple times - Power Query
Connectors can make multiple calls to a data source for various reasons, including metadata, caching of results, pagination, and so on.
Read more >
Querying a database using the query editor - Amazon Redshift
Using the query editor is an easy way to run queries on databases hosted by your Amazon Redshift cluster. After creating your cluster,...
Read more >
SSIS Package not wanting to fetch metadata of temporary table
The latest version uses sp_describe_first_result_set to fetch metadata and it does not work with temporary tables. As a workaround, I used the below...
Read more >
Query and analyze data - Mode Support
Querying multiple data sources​​ You cannot JOIN data sets between different connections in a single query. However, you can combine result sets from...
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