Skip to content

Backport sqlparser patch - 14763 Fix accepting bind variables in time related function calls. #3978

Backport sqlparser patch - 14763 Fix accepting bind variables in time related function calls.

Backport sqlparser patch - 14763 Fix accepting bind variables in time related function calls. #3978

Triggered via pull request January 22, 2025 21:02
Status Failure
Total duration 1m 52s
Artifacts

cluster_endtoend_13.yml

on: pull_request
Run endtoend tests on Cluster (13)
1m 17s
Run endtoend tests on Cluster (13)
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Run endtoend tests on Cluster (13): go/vt/sqlparser/ast_clone.go#L134
impossible type switch case: *CurTimeFuncExpr
Run endtoend tests on Cluster (13): go/vt/sqlparser/ast_clone.go#L135
cannot use CloneRefOfCurTimeFuncExpr(in) (value of type *CurTimeFuncExpr) as SQLNode value in return statement: *CurTimeFuncExpr does not implement SQLNode (missing method FormatFast)
Run endtoend tests on Cluster (13): go/vt/sqlparser/ast_clone.go#L3540
impossible type switch case: *CurTimeFuncExpr
Run endtoend tests on Cluster (13): go/vt/sqlparser/ast_clone.go#L3541
cannot use CloneRefOfCurTimeFuncExpr(in) (value of type *CurTimeFuncExpr) as Callable value in return statement: *CurTimeFuncExpr does not implement Callable (missing method FormatFast)
Run endtoend tests on Cluster (13): go/vt/sqlparser/ast_clone.go#L3832
impossible type switch case: *CurTimeFuncExpr
Run endtoend tests on Cluster (13): go/vt/sqlparser/ast_clone.go#L3833
cannot use CloneRefOfCurTimeFuncExpr(in) (value of type *CurTimeFuncExpr) as Expr value in return statement: *CurTimeFuncExpr does not implement Expr (missing method FormatFast)
Run endtoend tests on Cluster (13): go/vt/sqlparser/ast_copy_on_rewrite.go#L133
impossible type switch case: *CurTimeFuncExpr
Run endtoend tests on Cluster (13): go/vt/sqlparser/ast_copy_on_rewrite.go#L1753
cannot use n (variable of type *CurTimeFuncExpr) as SQLNode value in return statement: *CurTimeFuncExpr does not implement SQLNode (missing method FormatFast)
Run endtoend tests on Cluster (13): go/vt/sqlparser/ast_copy_on_rewrite.go#L1755
cannot use n (variable of type *CurTimeFuncExpr) as SQLNode value in assignment: *CurTimeFuncExpr does not implement SQLNode (missing method FormatFast)
Run endtoend tests on Cluster (13): go/vt/sqlparser/ast_copy_on_rewrite.go#L1756
cannot use n (variable of type *CurTimeFuncExpr) as SQLNode value in argument to c.pre: *CurTimeFuncExpr does not implement SQLNode (missing method FormatFast)
Run endtoend tests on Cluster (13)
The `python-version` input is not set. The version of Python currently in `PATH` will be used.