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

Restrict CAST expression for collations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.0.0
    • None
    • 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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: