diqiu50 commented on code in PR #11926:
URL: https://github.com/apache/gravitino/pull/11926#discussion_r3644165754
##########
catalogs/catalog-hive/src/main/java/org/apache/gravitino/catalog/hive/HiveViewCatalogOperations.java:
##########
@@ -368,15 +380,15 @@ private HiveView toHiveView(
String detectedDialect = HiveView.detectDialect(representationSql, params);
switch (detectedDialect.toLowerCase(Locale.ROOT)) {
case Dialects.HIVE:
+ case Dialects.TRINO:
Review Comment:
Added a dedicated gravitino.view.trino_dialect marker so views without it
(including genuine
native Trino views) are treated as Hive dialect instead of having their
encoded body mis-parsed as SQL. Verified with a live integration test creating
a real native Trino view via a separate native_hive catalog.
--
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]