Affiliations
Projects
Talks & podcasts
WG21 papers
Blog posts
Other activity
- Merged PR[BugFix] Report Unknown database when REFRESH EXTERNAL TABLE targets a missing database
Why I'm doing: When the database does not exist, REFRESH EXTERNAL TABLE reports the database name as an unknown table: mysql> REFRESH EXTERNAL TABLE default_catalog.db_c.tbl_d; ERROR 5502 (42602): Getting analyzing error. Detail message:…
StarRocks#83995 · by trueeyu - Merged PR[BugFix] Reject REFRESH EXTERNAL TABLE names with more than three parts
Why I'm doing: REFRESH EXTERNAL TABLE catalog1.db1.table1.test (four name parts) should fail, but it passes analysis. Root cause: since #66662 ("Replace TableName with TableRef in AST"), AstBuilder.visitRefreshTableStatement builds a…
StarRocks#83892 · by trueeyu - Merged PR[UT] Fix flaky StmtExecutorTest.testForwardExplicitTxnSelectOnFollower (backport #70316)
Why I'm doing: StmtExecutorTest#testForwardExplicitTxnSelectOnFollower is flaky on branch-4.1 (and branch-4.1-cc, e.g. CI of #83890): Missing 1 invocation to: com.starrocks.server.GlobalStateMgr#getServingState() Caused by: Missing…
StarRocks#83895 · by trueeyu - Merged PR[UT] Fix PaimonTableTest.testEquals by recording the mocked table uuid (backport #78189)
Why I'm doing: PaimonTableTest#testEquals fails every time on branch-4.1: java.lang.NullPointerException: Cannot invoke "String.replace(java.lang.CharSequence, java.lang.CharSequence)" because the return value of…
StarRocks#83894 · by trueeyu - Merged PR[Refactor] Persist the GEO descriptor through GeoType
Why I'm doing: Native GEO types reach FE metadata through the schema of a VIEW and the signature of a database or global SQL UDF. Today only the primitive type is written, so after a restart or a checkpoint such a type comes back as a GEO…
StarRocks#83841 · by trueeyu - Merged PR[BugFix] Fix duplicate symbols from arrow_flight_call_header_utils.h in BE UT
Why I'm doing: Building the BE unit tests with the BE modules linked statically (./run-be-ut.sh without --with-dynamic) fails to link starrocks_test: ld.lld: error: duplicate symbol: starrocks::FindKeyValPrefixInCallHeaders(...) >> defined…
StarRocks#83796 · by trueeyu - Merged PR[Refactor] Make GeoTypeDescriptor a class instead of a record
Why I'm doing: GeoTypeDescriptor is a record. Persisting it in FE metadata (#83841) needs GSON to read it back, and FE uses GSON 2.8.9, which cannot: it sets fields reflectively, and the JDK refuses that for record fields…
StarRocks#83852 · by trueeyu - Merged PR[Refactor] Move the GEO descriptor from ScalarType into GeoType
Why I'm doing: #83664 added GeoType extends ScalarType, but only as a constructor: the GEO descriptor was still a member of ScalarType, written through a package-private ScalarType.setGeoDescriptor that existed only for that transition.…
StarRocks#83795 · by trueeyu - Merged PR[Refactor] Assert on GeoColumn self append instead of cloning
Why I'm doing: GeoColumn is the only column that tolerates being appended to itself. append, append_selective, append_value_multiple_times(const Column&, ...) and update_rows each check &src == this and, if so, clone the whole column and…
StarRocks#83782 · by trueeyu - Merged PR[Refactor] Add a GeoType class for native GEO scalar types
Why I'm doing: Every scalar type family has its own ScalarType subclass (DecimalType, VarcharType, DateType, JsonType, FileType, ...) except native GEO types, which are created as a bare ScalarType with a geo member set on it. This is the…
StarRocks#83664 · by trueeyu - Merged PR[Tool] Retire the stale GEO coordinate system waivers
Why I'm doing: #83689 removed coordinate_system from TGeoTypeDesc and GeoTypeDescPB and moved the following fields up by one, under eight waivers (three field_type_changed and one field_deleted per definition). Now that it has merged, the…
StarRocks#83773 · by trueeyu - Merged PR[Refactor] Remove the coordinate system from the native GEO type protocol
Why I'm doing: A native GEO type descriptor carried both a logical type and a coordinate system, but the second always follows from the first: GEOGRAPHY is spherical, GEOMETRY is Cartesian. Parquet and Iceberg GEO types have no such…
StarRocks#83689 · by trueeyu - Merged PR[Refactor] Drop the descriptor check from zero-count GeoColumn copies
Why I'm doing: GeoColumn::append, append_selective and append_value_multiple_times call _source(src) on the count == 0 early return and discard the result. _source() only does a down_cast plus a DCHECK on the descriptor, so the call is a…
StarRocks#83737 · by trueeyu - Merged PR[Refactor] Stop keeping the GEO coordinate system in the FE descriptor
Why I'm doing: A native GEO descriptor carries a logical type and a coordinate system, but the second always follows from the first: GEOGRAPHY is spherical, GEOMETRY is Cartesian. FE GeoTypeDescriptor.validate rejects any other…
StarRocks#83730 · by trueeyu - Merged PR[Refactor] Stop keeping the GEO coordinate system in the BE descriptor
Why I'm doing: A native GEO descriptor carries a logical type and a coordinate system, but the second always follows from the first: GEOGRAPHY is spherical, GEOMETRY is Cartesian. FE rejects any other combination, and BE never branches on…
StarRocks#83690 · by trueeyu