Commit ea15a95
[SPARK-50692][SQL] Add the LPAD and RPAD pushdown support for H2
### What changes were proposed in this pull request?
This PR proposes to add the `LPAD` and `RPAD` pushdown support for H2.
### Why are the changes needed?
apache#49325 added the support for `RPAD` pushdown.
H2 as a built-in JDBC dialect for the test purpose, should add the `LPAD` and `RPAD` pushdown support for H2.
### Does this PR introduce _any_ user-facing change?
'Yes'.
Spark will supports pushdown for `LPAD` and `RPAD` for H2.
### How was this patch tested?
GA>
### Was this patch authored or co-authored using generative AI tooling?
'No'.
Closes apache#50068 from beliefer/SPARK-50692.
Authored-by: beliefer <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>1 parent 9f637b5 commit ea15a95
File tree
2 files changed
+11
-1
lines changed- sql/core/src
- main/scala/org/apache/spark/sql/jdbc
- test/scala/org/apache/spark/sql/jdbc
2 files changed
+11
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1922 | 1922 | | |
1923 | 1923 | | |
1924 | 1924 | | |
| 1925 | + | |
| 1926 | + | |
| 1927 | + | |
| 1928 | + | |
| 1929 | + | |
| 1930 | + | |
| 1931 | + | |
| 1932 | + | |
| 1933 | + | |
| 1934 | + | |
1925 | 1935 | | |
1926 | 1936 | | |
1927 | 1937 | | |
| |||
0 commit comments