vdiravka commented on a change in pull request #1602: DRILL-6944: 
UnsupportedOperationException thrown for view over MapR-DB binary table
URL: https://github.com/apache/drill/pull/1602#discussion_r248321769
 
 

 ##########
 File path: 
exec/java-exec/src/test/java/org/apache/drill/exec/sql/TestViewSupport.java
 ##########
 @@ -800,4 +801,32 @@ public void 
testViewIsFoundWithinWorkspaceWhenNameStartsWithSlash() throws Excep
       test("DROP VIEW IF EXISTS `%s`.`%s`", DFS_TMP_SCHEMA, viewName);
     }
   }
+
+  @Test // DRILL-6944
+  public void testMapColumnOfNewlyCreatedView() throws Exception {
+    try {
+      test("CREATE VIEW dfs.tmp.`mapf_view` AS SELECT mapf FROM 
dfs.`avro/map_string_to_long.avro`");
 
 Review comment:
   I tried to create view for Parquet and Json with complex data types and the 
view involves `ANY` instead of `MAP` datatype in the result. Do you know the 
reason of that? 
   What is the DESCRIBE output for this view for Avro? Does it involve `MAP`, 
not `ANY`?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to