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

Avoid Implicit Type Cast in Arguments of Expressions Extending String2StringExpression

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • 2.0.1
    • None
    • SQL

    Description

      For the expressions that extend String2StringExpression (lower, upper, ltrim, rtrim, trim and reverse), Analyzer should not implicitly cast the arguments to string. If users input the some data types instead of string, we should issue an exception for this misuse.

      Attachments

        Activity

          People

            Unassigned Unassigned
            smilegator Xiao Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: