Skip to content
Merged
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 @@ -61,7 +61,7 @@ public Optional<DataType> inferArgumentType(
if (Objects.equals(expectedNullability, Boolean.FALSE) && actualType.isNullable()) {
return callContext.fail(
throwOnFailure,
"Unsupported argument type. Expected nullable type of root '%s' but actual type was '%s'.",
"Unsupported argument type. Expected NOT NULL type of root '%s' but actual type was '%s'.",
expectedRoot,
actualType);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ ANY, explicit(DataTypes.INT())
.calledWithArgumentTypes(DataTypes.VARCHAR(5))
.expectSignature("f(<VARCHAR NOT NULL>)")
.expectErrorMessage(
"Unsupported argument type. Expected nullable type of root 'VARCHAR' but actual type was 'VARCHAR(5)'."),
"Unsupported argument type. Expected NOT NULL type of root 'VARCHAR' but actual type was 'VARCHAR(5)'."),
TestSpec.forStrategy(
"Logical type family instead of concrete data types",
sequence(
Expand Down