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

Restrict CAST expression for collations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0.0
    • 4.0.0
    • SQL

    Description

      Current state of code allows for calls like CAST(1 AS STRING COLLATE UNICODE). We want to restrict CAST expression to only be able to cast to default collation string, and to only allow COLLATE expression to produce explicitly collated strings.

      Attachments

        Activity

          People

            mihailo.milosevic Mihailo Milosevic
            mihailo.milosevic Mihailo Milosevic
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: