difin commented on code in PR #6449:
URL: https://github.com/apache/hive/pull/6449#discussion_r3192020037
##########
ql/src/java/org/apache/hadoop/hive/ql/ddl/view/create/CreateViewDesc.java:
##########
@@ -34,26 +34,38 @@
public class CreateViewDesc extends AbstractCreateViewDesc {
private static final long serialVersionUID = 1L;
+ /** HMS table property set when the view is declared with {@code STORED BY
ICEBERG} (native Iceberg view). */
+ public static final String ICEBERG_NATIVE_VIEW_PROPERTY =
"hive.iceberg.native.view";
+
private final String comment;
private final Map<String, String> properties;
private final List<String> partitionColumnNames;
private final boolean ifNotExists;
private final boolean replace;
private final List<FieldSchema> partitionColumns;
+ private final boolean icebergNativeView;
Review Comment:
Done
##########
ql/src/java/org/apache/hadoop/hive/ql/ddl/view/create/CreateViewDesc.java:
##########
@@ -89,6 +101,11 @@ public boolean isReplace() {
return replace;
}
+ @Explain(displayName = "iceberg native view", displayOnlyOnTrue = true)
+ public boolean isIcebergNativeView() {
+ return icebergNativeView;
+ }
Review Comment:
Done
--
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]