[ 
https://issues.apache.org/jira/browse/IMPALA-10248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17216649#comment-17216649
 ] 

ASF subversion and git services commented on IMPALA-10248:
----------------------------------------------------------

Commit c7f118a860af6b811e2e2c4c5e3693f43429def8 in impala's branch 
refs/heads/master from stiga-huang
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=c7f118a ]

IMPALA-10248: Fix test_column_storage_attributes date string errors

After IMPALA-10225 bumps the impyla version to 0.17a1, we should expect
impyla return a datetime.date instead of a string for DATE type data.

Tests:
 - Run test_column_storage_attributes with
   --exploration_strategy=exhaustive to verify the fix.

Change-Id: I618a759a03213efc22a5e54e9a30fa09e8929023
Reviewed-on: http://gerrit.cloudera.org:8080/16608
Reviewed-by: Tim Armstrong <tarmstr...@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com>


> TestKuduOperations.test_column_storage_attributes on exhaustive tests
> ---------------------------------------------------------------------
>
>                 Key: IMPALA-10248
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10248
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Quanlong Huang
>            Assignee: Quanlong Huang
>            Priority: Blocker
>
> This is a reverse issue of IMPALA-9513. The failure is
> {code:java}
> query_test/test_kudu.py:472: in test_column_storage_attributes
>     assert cursor.fetchall() == \
> E   assert [(0, True, 0, 0, 0, 0, ...)] == [(0, True, 0, 0, 0, 0, ...)]
> E     At index 0 diff: (0, True, 0, 0, 0, 0, 0.0, 0.0, '0', 
> datetime.datetime(2009, 1, 1, 0, 0), Decimal('0'), datetime.date(2010, 1, 1), 
> '') != (0, True, 0, 0, 0, 0, 0.0, 0.0, '0', datetime.datetime(2009, 1, 1, 0, 
> 0), 0, '2010-01-01', '')
> E     Use -v to get the full diff{code}
> The difference to IMPALA-9513 is that it's expected to get a string 
> '2020-01-01' instead of the actual {{datetime.date(2010, 1, 1)}}. Maybe due 
> to the recent bumping of impyla version in IMPALA-10225.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to