doris
doris copied to clipboard
[fix](fe): fix bug in create table name
Proposed changes
When we use alias
as the tableName to construct Table. All parts of the name will be lowercase if lowerCaseTableNames = 1
.
To avoid it, we should extract tableName from alias and only lower tableName
Problem summary
Describe your changes.
Checklist(Required)
- [ ] Does it affect the original behavior
- [ ] Has unit tests been added
- [ ] Has document been added or modified
- [ ] Does it need to update dependencies
- [ ] Is this PR support rollback (If NO, please explain WHY)
Further comments
If this is a relatively large or complex change, kick off the discussion at [email protected] by explaining why you chose the solution you did and what alternatives you considered, etc...
run buildall
TeamCity pipeline, clickbench performance test result: the sum of best hot time: 34.66 seconds stream load tsv: 451 seconds loaded 74807831229 Bytes, about 158 MB/s stream load json: 37 seconds loaded 2358488459 Bytes, about 60 MB/s stream load orc: 73 seconds loaded 1101869774 Bytes, about 14 MB/s stream load parquet: 31 seconds loaded 861443392 Bytes, about 26 MB/s https://doris-community-test-1308700295.cos.ap-hongkong.myqcloud.com/tmp/20230306064808_clickbench_pr_109085.html
run buildall
run buildall
PR approved by at least one committer and no changes requested.
PR approved by anyone and no changes requested.