starrocks
starrocks copied to clipboard
[Enhancement] Complete the error message when selecting an Iceberg table created by spark2
What type of PR is this:
- [ ] bug
- [ ] feature
- [x] enhancement
- [ ] refactor
- [ ] others
Which issues of this PR fixes :
Fixes #
Problem Summary(Required) :
Iceberg tables created with spark2 by default configurations doesn't have the property 'metadata_location', which is necessary when selected using Hive catalog. Trino also cannot select such table, so I suppose it reasonable and just throw an exception with reasons in detail.
MySQL client will crash when executing show tables
after using a database with such tables. I'll try to solve it later in a separated PR.
Checklist:
- [ ] I have added test cases for my bug fix or my new feature
- [ ] I have added user document for my new feature or new function
@caneGuy @stephen-shelby PTAL
run starrocks_fe_unittest
run starrocks_fe_unittest
[FE PR Coverage Check]
:disappointed: fail : 0 / 2 (00.00%)
file detail
path | covered_line | new_line | coverage | not_covered_line_detail | |
---|---|---|---|---|---|
:large_blue_circle: | com/starrocks/external/iceberg/hive/HiveTableOperations.java | 0 | 2 | 00.00% | [82, 83] |
run starrocks_admit_test
@Mergifyio backport branch-2.4
backport branch-2.4
✅ Backports have been created
-
#10118 [Enhancement] Complete the error message when selecting an Iceberg table created by spark2 (backport #9936) has been created for branch
branch-2.4