Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
4.0.0
Description
Succeeds: scala> spark.sql("select ?", Array(1)).show();
Fails: spark.sql("describe select ?", Array(1)).show();
Fails: spark.sql("explain select ?", Array(1)).show();
Failures are of the form:
org.apache.spark.sql.catalyst.ExtendedAnalysisException: [UNBOUND_SQL_PARAMETER] Found the unbound parameter: _16. Please, fix `args` and provide a mapping of the parameter to either a SQL literal or collection constructor functions such as `map()`, `array()`, `struct()`. SQLSTATE: 42P02; line 1 pos 16; 'Project [unresolvedalias(posparameter(16))] +- OneRowRelation
Attachments
Attachments
Issue Links
- links to