Arrays and Multisets can have precedence according to the precedence of its component type.
Resolved in release 1.14.0 (2017-10-01)
I'm not sure how snapshots are supposed to be built. They're probably built on Jenkins not Travis.
Julian Hyde, it seems the build failed  with the flaking test (CsvTest#testCsvStream which failed earlier also in build#1042), may be 10 sec is not enough.
can you please restart the build again currently phoenix-calcite build is failing because snapshot jar is not available.
[ERROR] Failed to execute goal on project phoenix-core: Could not resolve dependencies for project org.apache.phoenix:phoenix-core:jar:4.11.0-HBase-1.2-SNAPSHOT: Could not find artifact org.apache.calcite:calcite-core:jar:1.14.0-20170702.090030-5 in apache.snapshots (http://repository.apache.org/snapshots) -> [Help 1]
Thanks Julian Hyde for the review.
Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/319e888f. Thanks for the PR, Ankit Singhal!
I made a couple of changes:
Looks good, nice work, testing now, will commit soon.
I see you've added test cases. I'll review today.
Can you give one SQL statement that fails without this code change and succeeds with it? Otherwise this test is so complex and low-level and it will very like get broken in maintenance in the next year or two and no one will notice.