Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,9 @@ NULL
-- !query
SELECT col2.field FROM t1
-- !query schema
struct<>
struct<field:double>
-- !query output
org.apache.spark.SparkNumberFormatException
{
"errorClass" : "CAST_INVALID_INPUT",
"sqlState" : "22018",
"messageParameters" : {
"ansiConfig" : "\"spark.sql.ansi.enabled\"",
"expression" : "'field'",
"sourceType" : "\"STRING\"",
"targetType" : "\"BIGINT\""
},
"queryContext" : [ {
"objectType" : "",
"objectName" : "",
"startIndex" : 8,
"stopIndex" : 17,
"fragment" : "col2.field"
} ]
}



-- !query
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ object VeloxSQLQueryTestSettings extends SQLQueryTestSettings {
val SUPPORTED_SQL_QUERY_LIST: Set[String] = Set(
"ansi/conditional-functions.sql",
"ansi/decimalArithmeticOperations.sql",
// TODO: fix on Spark-4.1 "cast.sql",
"cast.sql",
"change-column.sql",
"ceil-floor-with-scale-param.sql",
"column-resolution-aggregate.sql",
Expand All @@ -57,7 +57,7 @@ object VeloxSQLQueryTestSettings extends SQLQueryTestSettings {
// "datetime-formatting-invalid.sql",
"datetime-special.sql",
"decimalArithmeticOperations.sql",
// TODO: fix on Spark-4.1 "describe.sql",
"describe.sql",
"describe-part-after-analyze.sql",
"describe-table-after-alter-table.sql",
"describe-query.sql",
Expand Down Expand Up @@ -90,7 +90,7 @@ object VeloxSQLQueryTestSettings extends SQLQueryTestSettings {
"like-all.sql",
"like-any.sql",
// "limit.sql",
// TODO: fix on Spark-4.1 "literals.sql",
"literals.sql",
"map.sql",
"mask-functions.sql",
"math.sql",
Expand Down Expand Up @@ -228,7 +228,7 @@ object VeloxSQLQueryTestSettings extends SQLQueryTestSettings {
// "timestampNTZ/timestamp-ansi.sql",
// "timestampNTZ/timestamp.sql",
// "nonansi/array.sql",
// TODO: fix on Spark-4.1 "nonansi/cast.sql",
"nonansi/cast.sql",
"nonansi/conditional-functions.sql",
// "nonansi/date.sql",
// "nonansi/datetime-parsing-invalid.sql",
Expand All @@ -238,7 +238,7 @@ object VeloxSQLQueryTestSettings extends SQLQueryTestSettings {
"nonansi/higher-order-functions.sql",
// "nonansi/interval.sql",
"nonansi/keywords.sql",
// TODO: fix on Spark-4.1 "nonansi/literals.sql",
"nonansi/literals.sql",
"nonansi/map.sql",
"nonansi/math.sql",
"nonansi/parse-schema-string.sql",
Expand All @@ -263,7 +263,7 @@ object VeloxSQLQueryTestSettings extends SQLQueryTestSettings {
"join-resolution-edge-cases.sql",
"kllquantiles.sql",
"name-precedence-in-order-by-and-having-with-conflicting-attributes.sql",
// TODO: fix on Spark-4.1 "nonansi/st-functions.sql",
"nonansi/st-functions.sql",
"order-by-alias.sql",
"order-by-and-having-on-top-of-aggregate-with-join.sql",
"replacing-missing-expression-with-alias.sql",
Expand All @@ -274,7 +274,7 @@ object VeloxSQLQueryTestSettings extends SQLQueryTestSettings {
"subquery/resolution-edge-cases.sql",
"thetasketch.sql",
"time.sql",
// TODO: fix on Spark-4.1 "type-coercion-edge-cases.sql",
"type-coercion-edge-cases.sql",
"union-per-child-output-deduplication.sql",
"union-resolution-edge-cases.sql",
// TODO: fix on Spark-4.1 "variant-field-extractions.sql",
Expand Down
Loading