Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.37.0
Description
The SQL:
SELECT product.product_class_id C FROM foodmart.product LEFT JOIN (SELECT CASE COUNT(*) WHEN 0 THEN NULL WHEN 1 THEN MIN(product_class_id) ELSE (SELECT NULL UNION ALL SELECT NULL) END $f0 FROM foodmart.product) t0 ON TRUE WHERE product.net_weight > t0.$f0
Generate by SINGLE_VALUE agg function.
This SQL will parse failed in Spark Unless we add the identifier quoting like `t0`.`$f0`
I will add identifier Quote String for Spark and Hive, Here is the document:
Attachments
Issue Links
- links to