Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-2287

StackOverflowError from FlatList equals()

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.17.0
    • Component/s: None
    • Labels:
      None

      Description

      The equals() method of `Flat3List` and `Flat4List` may invoke each other in an infinite loop.

      See also https://issues.apache.org/jira/browse/HIVE-18427

       

      We found this problem when such lists are used as keys in `RelMetadataQuery.map`; occasionally there are hashcode collisions between `Flat3List` and `Flat4List`, hence their equals() methods will be invoked.

        Attachments

          Activity

            People

            • Assignee:
              julianhyde Julian Hyde
              Reporter:
              zhong.j.yu Zhong Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: