Skip to content

Commit

Permalink
sql: fix udf logic test
Browse files Browse the repository at this point in the history
Fixes: #85303

Release note: None
  • Loading branch information
chengxiong-ruan committed Jul 29, 2022
1 parent b92f39b commit 1fb2c34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/sql/logictest/testdata/logic_test/udf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ CREATE TABLE t_implicit_type(a INT PRIMARY KEY, b STRING);
statement error pq: return type mismatch in function declared to return int\nDETAIL: Actual return type is record
CREATE FUNCTION f() RETURNS INT IMMUTABLE LANGUAGE SQL AS $$ SELECT a, b from t_implicit_type $$

statement error pq: unimplemented: functions do not currently support \* expressions\nHINT: You have attempted to use a feature that is not yet implemented\.\nSee: https://go\.crdb\.dev/issue-v/10028/v22\.2
statement error pq: unimplemented: functions do not currently support \* expressions.*
CREATE FUNCTION f() RETURNS t_implicit_type IMMUTABLE LANGUAGE SQL AS $$ SELECT * from t_implicit_type $$

# statement ok
Expand Down

0 comments on commit 1fb2c34

Please sign in to comment.