-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HIVE-28560: AssertionError for jdbc queries because of incorrec… #5491
Conversation
…t expectedRel in SqlImplementor
--!qt:database:postgres:q_test_tpcds_tables.sql | ||
|
||
CREATE EXTERNAL TABLE IF NOT EXISTS `date_dim`( | ||
`d_date_sk` int, | ||
`d_date_id` string, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand the purpose of including this file q_test_tpcds_tables.sql
here.
The same tables that are created by that file are also created in this q-test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
q_test_tpcds_tables.sql
creates them in a postgres database in a docker container.
In this file, we create external tables for the jdbc tables, and eventually use these external tables for running qtests.
ql/src/java/org/apache/hadoop/hive/ql/optimizer/calcite/rules/jdbc/HiveJdbcImplementor.java
Outdated
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, will merge soon!
…le contains LIMIT (Soumyakanti Das reviewed by Stamatis Zampetakis) Close apache#5491
…t expectedRel in SqlImplementor
What changes were proposed in this pull request?
https://issues.apache.org/jira/browse/HIVE-28560
Call
setFetch
before the expectedRel is changed to aProject
Why are the changes needed?
We get an
AssertionError
otherwiseDoes this PR introduce any user-facing change?
No
Is the change a dependency upgrade?
No
How was this patch tested?