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

StackOverflowError from FlatList equals()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.17.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: