Skip to content
Closed
Changes from 1 commit
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
Prev Previous commit
fix test
  • Loading branch information
LuciferYang committed Nov 1, 2022
commit c062831b76cca7e313e6a0198f9020731c875a00
Original file line number Diff line number Diff line change
Expand Up @@ -438,11 +438,12 @@ struct<>
-- !query output
org.apache.spark.sql.AnalysisException
{
"errorClass" : "_LEGACY_ERROR_TEMP_2315",
"errorClass" : "DATATYPE_MISMATCH.VALUE_OUT_OF_RANGE",
"messageParameters" : {
"hint" : "",
"msg" : "Buckets expression must be positive, but got: 0",
"sqlExpr" : "ntile(0)"
"currentValue" : "0",
"exprName" : "buckets",
"sqlExpr" : "\"ntile(0)\"",
"valueRange" : "(0, 2147483647]"
},
"queryContext" : [ {
"objectType" : "",
Expand All @@ -461,11 +462,12 @@ struct<>
-- !query output
org.apache.spark.sql.AnalysisException
{
"errorClass" : "_LEGACY_ERROR_TEMP_2315",
"errorClass" : "DATATYPE_MISMATCH.VALUE_OUT_OF_RANGE",
"messageParameters" : {
"hint" : "",
"msg" : "The 'offset' argument of nth_value must be greater than zero but it is 0.",
"sqlExpr" : "nth_value(spark_catalog.default.tenk1.four, 0)"
"currentValue" : "0L",
"exprName" : "offset",
"sqlExpr" : "\"nth_value(four, 0)\"",
"valueRange" : "(0, 9223372036854775807]"
},
"queryContext" : [ {
"objectType" : "",
Expand Down