Skip to content

Conversation

@zxealous
Copy link
Contributor

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

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@zxealous
Copy link
Contributor Author

run buildall

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Oct 18, 2024
@github-actions
Copy link
Contributor

PR approved by at least one committer and no changes requested.

@github-actions
Copy link
Contributor

PR approved by anyone and no changes requested.

@zxealous
Copy link
Contributor Author

run buildall

…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.
@zxealous zxealous force-pushed the fix-load-branch-2.1 branch from a58b07e to 856cd43 Compare October 18, 2024 07:40
@zxealous
Copy link
Contributor Author

run buildall

@yiguolei yiguolei merged commit ba9f8be into apache:branch-2.1 Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants