wecharyu commented on code in PR #4831:
URL: https://github.com/apache/hive/pull/4831#discussion_r1381957130


##########
ql/src/test/queries/clientpositive/partition_coltype_literals.q:
##########
@@ -73,11 +73,11 @@ drop table if exists partcoltypeothers;
 create table partcoltypeothers (key int, value string) partitioned by (decpart 
decimal(6,2), datepart date);
 
 set hive.typecheck.on.insert=false;
-insert into partcoltypeothers partition (decpart = 1000.01BD, datepart = date 
'2015-4-13') select key, value from src limit 10;
+insert into partcoltypeothers partition (decpart = 1000.01BD, datepart = date 
'2015-04-13') select key, value from src limit 10;

Review Comment:
   The `hive.typecheck.on.insert` config is set to `true` by default, meaning 
that this change won't impact the most tasks. If users utilizes the 
date`2015-5-15` and also set `hive.typecheck.on.insert` to false, they can 
conveniently enable this config to resolve the issue. This behavior aligns with 
the config description.So I think this change is OK.



-- 
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]

Reply via email to