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

Emulate Hive type coercion in native reimplementations of Hive functions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 1.0.0
    • 1.5.0
    • SQL
    • None

    Description

      Native reimplementations of Hive functions no longer have the same type-coercion behavior as they would if executed via Hive. As Michael Armbrust points out, queries like SELECT SQRT("2") FROM src LIMIT 1 succeed in Hive but fail if SQRT is implemented natively.

      Spark SQL should have Hive-compatible type coercions for arguments to natively-implemented functions.

      Attachments

        Issue Links

          Activity

            People

              willbenton William Benton
              willbenton William Benton
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: