Skip to content

Commit 24c4ce1

Browse files
yaooqinndongjoon-hyun
authored andcommitted
[SPARK-28351][SQL][FOLLOWUP] Remove 'DELETE FROM' from unsupportedHiveNativeCommands
### What changes were proposed in this pull request? Minor change, rm `DELETE FROM` from unsupported hive native operation, because it is supported in parser. ### Why are the changes needed? clear ambiguous ambiguous ### Does this PR introduce any user-facing change? no ### How was this patch tested? no Closes #26836 from yaooqinn/SPARK-28351. Authored-by: Kent Yao <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
1 parent 6103cf1 commit 24c4ce1

File tree

1 file changed

+0
-1
lines changed
  • sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser

1 file changed

+0
-1
lines changed

sql/catalyst/src/main/antlr4/org/apache/spark/sql/catalyst/parser/SqlBase.g4

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,6 @@ unsupportedHiveNativeCommands
274274
| kw1=COMMIT
275275
| kw1=ROLLBACK
276276
| kw1=DFS
277-
| kw1=DELETE kw2=FROM
278277
;
279278

280279
createTableHeader

0 commit comments

Comments
 (0)