hutiefang76 commented on code in PR #67899: URL: https://github.com/apache/doris/pull/67899#discussion_r4000138101
########## fe/fe-core/src/test/java/org/apache/doris/arrowflight/FlightSqlSchemaHelperTableTypesTest.java: ########## @@ -0,0 +1,163 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at Review Comment: Added in 4937418de1ea03ad44134834116bbcbdb9202232. Added `test_table_types_over_arrow_flight` under `arrow_flight_sql_p0`. It creates a base table and a view over Arrow Flight SQL, then consumes `DatabaseMetaData.getTableTypes()` and `getTables()` through the Flight JDBC driver. The checks cover unfiltered requests, individual types, both multi-type orders, and unknown/duplicate types, including catalog/schema values. Validation: the official regression runner passed the new suite (1 run, 0 failures/skips). Locally I used Doris's test FE with real MySQL/Flight services and its built-in mocked BE; this exercises SQL DDL and the metadata RPCs, but is not a native-BE/data-scan integration run. The 30 existing focused FE tests also pass. ```sh bash run-regression-test.sh --run -d arrow_flight_sql_p0 -s test_table_types_over_arrow_flight -g arrow_flight_sql ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
