Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-47286

IN operator support

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 4.0.0
    • Spark Core
    • None

    Description

      At this point following query works fine:
      ```
      sql("select * from t1 where ucs_basic_lcase in ('aaa' collate 'ucs_basic_lcase', 'bbb' collate 'ucs_basic_lcase')").show()

      ```

      But if we were to miss explicit collate or even mix collations:
      ```
      sql("select * from t1 where ucs_basic_lcase in ('aaa' collate 'ucs_basic_lcase', 'bbb'").show()

      ```

      Query would still run and return invalid results.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dbatomic Aleksandar Tomic
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: