You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When connecting from Tableau Prep Builder to Denodo using the connector Denodo JDBC, Prep Builder executes SQL queries in Denodo withoutWHERE clause. This causes Prep Builder to retrieve all the dataset of the views the user works with. This is a problem for users that query views that return a lot of data and do complex operations like GROUP BYs.
For example, if the user queries a view total_sales_by_country and in Prep Builder, the user adds a filter country = US, since this condition is not passed to Denodo, Denodo has to calculate this aggregation in the entire table, when the user only wants to do it by one country.
The connector Denodo JDBC was created using the Tableau Connector SDK and it is published in the Tableau Exchange.
Additional notes
We did the same steps connecting to a PostgreSQL database with the PostgreSQL connector of Tableau and Prep Builder did pass the conditions in the WHERE clause.
As suggested by the Tableau team, we set the property CAP_QUERY_GROUP_BY_ALIAS to no but the problem still happens.
Steps to reproduce the bug
Open Tableau Prep Builder
Create a connection to a Denodo server using the connector Denodo JDBC by Denodo Technologies. (I can give you online credentials to access a Denodo server we have on AWS).
In the the drop-down Schema, select a schema (for example tpc_h)
Drag a table (for example customer, which has a field c_custkey).
Click Filter values and in the popup, enter the condition [c_custkey] = 5
Click View and clean data
Problem: the SQL query that Tableau Prep Builder executes in Denodo does not have a WHERE condition.
This is the query Tableau Prep Builder executes in Denodo:
SELECT "1752bc0b-836a-43d8-a6b2-daf7a8"."c_acctbal" AS "c_acctbal"
,"1752bc0b-836a-43d8-a6b2-daf7a8"."c_address" AS "c_address"
,"1752bc0b-836a-43d8-a6b2-daf7a8"."c_comment" AS "c_comment"
,"1752bc0b-836a-43d8-a6b2-daf7a8"."c_custkey" AS "c_custkey"
,"1752bc0b-836a-43d8-a6b2-daf7a8"."c_mktsegment" AS "c_mktsegment"
,"1752bc0b-836a-43d8-a6b2-daf7a8"."c_name" AS "c_name"
,"1752bc0b-836a-43d8-a6b2-daf7a8"."c_nationkey" AS "c_nationkey"
,"1752bc0b-836a-43d8-a6b2-daf7a8"."c_phone" AS "c_phone"
,3 AS "hwmtableauinternal"
FROM "tableau_tpc_h"."customer" "1752bc0b-836a-43d8-a6b2-daf7a8"
LIMIT 393216
Screenshots
When clicking in this part, the SQL query Prep Builder executes in Denodo is the one above.
Desktop (please complete the following information):
OS: Windows 10 Pro
Tableau Version: we reproduced with the latest version of Tableau Prep Builder 2024.1.2 with the Denodo JDBC connector version 2.0.0 (the latest version)
About you:
Name: Carlos Santos Canelles
Company: Denodo Technologies
I am registering this on behalf of a customer (I prefer not to write the name of the customer here; I can provide it offline)
The text was updated successfully, but these errors were encountered:
Describe the bug
When connecting from Tableau Prep Builder to Denodo using the connector Denodo JDBC, Prep Builder executes SQL queries in Denodo without
WHERE
clause. This causes Prep Builder to retrieve all the dataset of the views the user works with. This is a problem for users that query views that return a lot of data and do complex operations like GROUP BYs.For example, if the user queries a view
total_sales_by_country
and in Prep Builder, the user adds a filtercountry = US
, since this condition is not passed to Denodo, Denodo has to calculate this aggregation in the entire table, when the user only wants to do it by one country.The connector Denodo JDBC was created using the Tableau Connector SDK and it is published in the Tableau Exchange.
Additional notes
WHERE
clause.CAP_QUERY_GROUP_BY_ALIAS
tono
but the problem still happens.Steps to reproduce the bug
tpc_h
)customer
, which has a fieldc_custkey
).[c_custkey] = 5
Problem: the SQL query that Tableau Prep Builder executes in Denodo does not have a
WHERE
condition.This is the query Tableau Prep Builder executes in Denodo:
Screenshots
When clicking in this part, the SQL query Prep Builder executes in Denodo is the one above.
Desktop (please complete the following information):
About you:
Name: Carlos Santos Canelles
Company: Denodo Technologies
I am registering this on behalf of a customer (I prefer not to write the name of the customer here; I can provide it offline)
The text was updated successfully, but these errors were encountered: