[CALCITE-7667] Improve string-literal encoding in pushdown translators (follow-up) - #5203
[CALCITE-7667] Improve string-literal encoding in pushdown translators (follow-up)#5203rubenada wants to merge 2 commits into
Conversation
|
I reviewed the other PR, and I asked whether results were validated. |
mihaibudiu
left a comment
There was a problem hiding this comment.
This approval is conditional on the promise that these results were indeed validated mechanically using a Pig installation.
|
My bad @mihaibudiu , I thought that |
|
@mihaibudiu I have verified locally with pig, and I confirm the new escape syntax is the correct one. |
|
I would comment on each validated test about the fact it's been checked against Pig. Then this question won't surface again. |
|



Jira Link
CALCITE-7667
Changes Proposed
The original patch for this ticket (fbfdf89) considered that PigLatin escapes a single quote by doubling it (as SQL does); however this is incorrect, it is escaped by using backslash (PigLatin uses backslash as escape character, see https://pig.apache.org/docs/r0.16.0/cont.html).
The current follow-up patch corrects this, and adjusts the corresponding tests.