Ppei-Wang commented on code in PR #11728:
URL: https://github.com/apache/iceberg/pull/11728#discussion_r1877627235


##########
api/src/main/java/org/apache/iceberg/types/Types.java:
##########
@@ -412,6 +413,24 @@ public String toString() {
     }
   }
 
+  public static class NullType extends PrimitiveType {

Review Comment:
   @danielcweeks I understand what you mean.
   Could you give me a more detailed introduction to the background of the 
above problem? As one of the standard specifications for data lake solutions, 
our company wants to migrate hive tables and views to iceberg to unify 
management and obtain iceberg's advantages in transaction support, real-time 
performance and data management.
   In the test of hive view->iceberg view, we found the above problem, that is, 
sql("CREATE VIEW viewName AS SELECT id, NULL as col_test FROM tableName") is 
not allowed to create a view, which involves null type.
   Is there any better solution to this problem?



-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to