- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
"Select 1" and "select 1+1" queries
- Labels:
-
Apache Impala
Created on
09-25-2019
10:42 PM
- last edited on
09-26-2019
01:29 AM
by
ask_bill_brooks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We see lot of "select 1" and "select 1+1" queries in impala.
When we reach out to user's from whose ID queries are triggered, they are clueless as they have not triggered the query. But, we see such query for every 1-2 mins. What could be the reason and solution for this problem?
Created 10-11-2019 06:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Shruhti,
This indeed odd, my first assumption would be that the 'select 1' queries are triggered by a client application such as a BI tool silently. Maybe to check/keep the connection alive?
Might worth checking the trace level driver logs, that could verify if the queries are coming from a tool/application. This can be done by changing the driver log level, which is described here for ODBC.
Additionally, the query profile contains a Network Address as well, this should help confirm whether the source of the query is valid.