-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix](nereids) Fix load failed where not set database in session #41951
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
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
run buildall |
TPC-H: Total hot run time: 41073 ms |
TPC-DS: Total hot run time: 192589 ms |
ClickBench: Total hot run time: 33.27 s |
| (propertyClause)? | ||
| | ((WITH)? mergeType)? DATA FROM TABLE tableName=multipartIdentifier | ||
| INTO TABLE tableName=multipartIdentifier | ||
| | ((WITH)? mergeType)? DATA FROM TABLE tableName=identifier |
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.
| | ((WITH)? mergeType)? DATA FROM TABLE tableName=identifier | |
| | ((WITH)? mergeType)? DATA FROM TABLE sourceTableName=identifier |
| | ((WITH)? mergeType)? DATA FROM TABLE tableName=multipartIdentifier | ||
| INTO TABLE tableName=multipartIdentifier | ||
| | ((WITH)? mergeType)? DATA FROM TABLE tableName=identifier | ||
| INTO TABLE tableName=identifier |
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.
| INTO TABLE tableName=identifier | |
| INTO TABLE targetTableName=identifier |
fe/fe-core/src/main/antlr4/org/apache/doris/nereids/DorisParser.g4
Outdated
Show resolved
Hide resolved
|
run buildall |
|
run buildall |
|
run buildall |
TPC-H: Total hot run time: 40949 ms |
TPC-DS: Total hot run time: 191596 ms |
ClickBench: Total hot run time: 33.82 s |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
…che#41951) load failed where not set database in session, should use label's database if not set database in session LOAD LABEL test_db.label_111111 ( DATA INFILE("hdfs://hdfs01:9000/user/") INTO TABLE `test_load_tb`) WITH BROKER "broker" ( "username" = "user", "password" = ""); ERROR 1105 (HY000): errCode = 2, detailMessage = Current database is not set.
) (#42082) cherry-pick #41951 load failed where not set database in session, should use label's database if not set database in session LOAD LABEL test_db.label_111111 ( DATA INFILE("hdfs://hdfs01:9000/user/") INTO TABLE `test_load_tb`) WITH BROKER "broker" ( "username" = "user", "password" = ""); ERROR 1105 (HY000): errCode = 2, detailMessage = Current database is not set. ## Proposed changes Issue Number: close #xxx <!--Describe your changes.-->
) (#42081) cherry-pick from master #41951 load failed where not set database in session, should use label's database if not set database in session LOAD LABEL test_db.label_111111 ( DATA INFILE("hdfs://hdfs01:9000/user/") INTO TABLE `test_load_tb`) WITH BROKER "broker" ( "username" = "user", "password" = ""); ERROR 1105 (HY000): errCode = 2, detailMessage = Current database is not set.
Proposed changes
Issue Number: close #xxx
load failed where not set database in session
use label's database if not set database in session