hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Kryvenko (JIRA)" <>
Subject [jira] [Commented] (HIVE-19141) TestNegativeCliDriver insert_into_notnull_constraint, insert_into_acid_notnull failing
Date Tue, 10 Apr 2018 19:57:00 GMT


Igor Kryvenko commented on HIVE-19141:

[~vgarg] Definitely yes. I have already starting working on it. I agree with you that Negative
cli driver doesn't handle errors, and i already fixed it. Now execution doesn't fails with
error. But i encountered some problem that test doesn't print {{FAILED: DataConstraintViolationError}}
into output file. 
Workaround for it  don't print this message, but in this case we have output file without
error message, and i think it isn't obvious because we run Negative tests and expect some
error message in output file.
What do you think about it?


> TestNegativeCliDriver insert_into_notnull_constraint, insert_into_acid_notnull failing
> --------------------------------------------------------------------------------------
>                 Key: HIVE-19141
>                 URL:
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Vineet Garg
>            Assignee: Vineet Garg
>            Priority: Major
>             Fix For: 3.0.0, 3.1.0
> These tests have been consistently failing for a while. I suspect HIVE-18727 has caused
these failures. HIVE-18727 changed the code to throw ERROR instead of EXCEPTION if constraints
are violated. I guess Negative cli driver doesn't handle errors.
> Following are full list of related failures:
> TestNegativeCliDriver.alter_notnull_constraint_violation
> TestNegativeCliDriver.insert_into_acid_notnull 
> TestNegativeCliDriver.insert_into_notnull_constraint 
> TestNegativeCliDriver.insert_multi_into_notnull 
> TestNegativeCliDriver.insert_overwrite_notnull_constraint 
> TestNegativeCliDriver.update_notnull_constraint

This message was sent by Atlassian JIRA

View raw message