org.apache.hadoop.hive.ql.exec.UDFArgumentTypeException: Even arguments to NAMED_STRUCT must be a constant STRING.org.apache.hadoop.hive.serde2.objectinspector.primitive.JavaStringObjectInspector@798a6e99

github.com | 3 months ago
  1. 0

    eco-release-metadata/RELEASENOTES.1.2.0.md at master · aw-was-here/eco-release-metadata · GitHub

    github.com | 3 months ago
    org.apache.hadoop.hive.ql.exec.UDFArgumentTypeException: Even arguments to NAMED_STRUCT must be a constant STRING.org.apache.hadoop.hive.serde2.objectinspector.primitive.JavaStringObjectInspector@798a6e99

    Root Cause Analysis

    1. org.apache.hadoop.hive.ql.exec.UDFArgumentTypeException

      Even arguments to NAMED_STRUCT must be a constant STRING.org.apache.hadoop.hive.serde2.objectinspector.primitive.JavaStringObjectInspector@798a6e99

      at org.apache.hadoop.hive.ql.udf.generic.GenericUDFNamedStruct.initialize()
    2. Hive Query Language
      GenericUDFNamedStruct.initialize
      1. org.apache.hadoop.hive.ql.udf.generic.GenericUDFNamedStruct.initialize(GenericUDFNamedStruct.java:55)
      1 frame
    3. Spark Project Hive
      HiveGenericUdf.dataType
      1. org.apache.spark.sql.hive.HiveGenericUdf.returnInspector$lzycompute(hiveUdfs.scala:157)
      2. org.apache.spark.sql.hive.HiveGenericUdf.returnInspector(hiveUdfs.scala:157)
      3. org.apache.spark.sql.hive.HiveGenericUdf.dataType$lzycompute(hiveUdfs.scala:173)
      4. org.apache.spark.sql.hive.HiveGenericUdf.dataType(hiveUdfs.scala:173)
      4 frames
    4. Spark Project Catalyst
      Project$$anonfun$output$1.apply
      1. org.apache.spark.sql.catalyst.expressions.Alias.toAttribute(namedExpressions.scala:104)
      2. org.apache.spark.sql.catalyst.plans.logical.Project$$anonfun$output$1.apply(basicOperators.scala:25)
      3. org.apache.spark.sql.catalyst.plans.logical.Project$$anonfun$output$1.apply(basicOperators.scala:25)
      3 frames