kasakrisz commented on a change in pull request #2401:
URL: https://github.com/apache/hive/pull/2401#discussion_r657787170
##########
File path:
ql/src/test/queries/clientpositive/materialized_view_partitioned_create_rewrite_agg.q
##########
@@ -0,0 +1,44 @@
+set hive.support.concurrency=true;
+set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;
+
+CREATE TABLE t1(a int, b int,c int) STORED AS ORC TBLPROPERTIES
('transactional' = 'true');
+
+INSERT INTO t1(a, b, c) VALUES
+(1, 1, 1),
+(1, 1, 4),
+(2, 1, 2),
+(1, 2, 10),
+(2, 2, 11),
+(1, 3, 100),
+(null, 4, 200);
+
+CREATE MATERIALIZED VIEW mat1 PARTITIONED ON (a) STORED AS ORC TBLPROPERTIES
("transactional"="true", "transactional_properties"="insert_only") AS
Review comment:
added test for ii) since it also includes i)
##########
File path: ql/src/test/results/clientpositive/llap/masking_mv_by_text_2.q.out
##########
@@ -25,6 +25,7 @@ POSTHOOK: type: CREATE_MATERIALIZED_VIEW
POSTHOOK: Input: default@masking_test_n_mv
POSTHOOK: Output: database:default
POSTHOOK: Output: default@masking_test_view_n_mv
+POSTHOOK: Lineage: masking_test_view_n_mv.col0 EXPRESSION
[(masking_test_n_mv)masking_test_n_mv.FieldSchema(name:key, type:int,
comment:null), (masking_test_n_mv)masking_test_n_mv.FieldSchema(name:value,
type:string, comment:null), ]
Review comment:
reverted
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]