Skip to content
Prev Previous commit
Next Next commit
fix test
  • Loading branch information
dtenedor committed Jun 18, 2024
commit ddbb57fdf42c4fa261eac76e2dabfb07ff9cf01a
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ import org.apache.spark.util.Utils
To deserialize the data with a compatible and evolved schema, the expected Avro schema can be
set via the corresponding option.
""",
group = "avro_funcs",
group = "misc_funcs",
since = "4.0.0"
)
// scalastyle:on line.size.limit
Expand Down Expand Up @@ -134,7 +134,7 @@ case class FromAvro(child: Expression, jsonFormatSchema: Expression, options: Ex
> SELECT IS_NULL(_FUNC_(result, '{"type": "record", "name": "struct", "fields": [{ "name": "u", "type": ["int","string"] }]}', MAP() ).u FROM (SELECT FROM_AVRO(result, '{"type": "record", "name": "struct", "fields": [{ "name": "u", "type": ["int","string"] }]}' ) AS result FROM (SELECT NAMED_STRUCT('u', NAMED_STRUCT('member0', member0, 'member1', member1)) AS s FROM VALUES (1, NULL), (NULL, 'a') tab(member0, member1)));
[false]
""",
group = "avro_funcs",
group = "misc_funcs",
since = "4.0.0"
)
// scalastyle:on line.size.limit
Expand Down