You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2020/02/28 15:57:00 UTC

[jira] [Updated] (FLINK-15975) Hive test

     [ https://issues.apache.org/jira/browse/FLINK-15975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chesnay Schepler updated FLINK-15975:
-------------------------------------
    Summary: Hive test   (was: Test may fail due if HashMap iterates in a different order)

> Hive test 
> ----------
>
>                 Key: FLINK-15975
>                 URL: https://issues.apache.org/jira/browse/FLINK-15975
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Hive, Tests
>            Reporter: testfixer0
>            Assignee: testfixer0
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 1.11.0
>
>         Attachments: FLINK-15975-000.patch, FLINK-15975-001.patch
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The test `testMap` in `HiveGenericUDFTest` may fail due if HashMap iterates in a different order. `testMap` depends on `getConversion` and `toFlinkObject` in class `MapObjectInspector`. When the `inspector` is the instance of `MapObjectInspector`, it can return a `HashMap`. However, `HashMap` does not guarantee any specific order of entries. Thus, the test can fail due to a different iteration order.



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