-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-29981][SQL][FOLLOWUP] Fix failing to run SQLQueryTestSuite #26657
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
Conversation
|
cc @dongjoon-hyun, thanks for reviewing |
|
What's the error happend w/o that profile? Can you decribe more in the PR description? |
| * To run the entire test suite: | ||
| * {{{ | ||
| * build/sbt "sql/test-only *SQLQueryTestSuite" | ||
| * build/sbt -Phive-1.2 "sql/test-only *SQLQueryTestSuite" |
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.
First of all, we had better use -Phive-2.3.
Second, please wait for a while. This PR will become obsolete soon.
As you see, it's still under slow changing to avoid any breakage.
Yesterday, we added hive-1.2/2.3. Today, we regenerates the manifest via test-dependencies.sh.
And, I'm working on the dependency changes. The following is the history of the migration.
a1706e2 [SPARK-30005][INFRA] Update test-dependencies.sh to check hive-1.2/2.3 profile
a60da23 [SPARK-30007][INFRA] Publish snapshot/release artifacts with -Phive-2.3 only
13338ea [SPARK-29554][SQL][FOLLOWUP] Rename Version to SparkVersion
6625b69 [SPARK-29981][BUILD][FOLLOWUP] Change hive.version.short
c98e5eb [SPARK-29981][BUILD] Add hive-1.2/2.3 profiles
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.
Thanks for the instructions
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.
Thank you for understanding and sorry for the inconvenience. It's difficult to change the tires of the running cars.
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.
Never mind. I will leave this pull request open for a while in case someone encounters the same issue until it is completely fixed.
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.
Although I'm still working on, I create a WIP PR to share with you.
dongjoon-hyun
left a comment
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.
To sum up, let's hold on this for a few days.
|
BTW, it's described on the main PR. |
|
Test build #114372 has finished for PR 26657 at commit
|
| * -z describe.sql" | ||
| * }}} | ||
| * | ||
| * Change profiles: |
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.
Plus about the default profile (and it will become obsolete), such documentation should better go to somewhere related to Spark build or testing.
HyukjinKwon
left a comment
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.
Will we even change this? We will have a default profile anyway, and make it working.
Even if we need this, I think it has to be a part of a PR that targets a bigger scope.
Shall we close this and cherry-pick in a bigger PR if needed in any event? credits will be co-authored to everybody involved in commits in a PR anyway.
What changes were proposed in this pull request?
Running
SQLQueryTestSuitefor testing, i.e.will fail with hive2.3 dependecies. Because the hadoop version used here is 2.7.4 by default.
This pr is a followup, only update the doc to run SQLQueryTestSuite correctly.
Why are the changes needed?
the default scripts fail to run tests because the underlying profile changed.
Does this PR introduce any user-facing change?
no. developer side change.
How was this patch tested?
existing ut