wecharyu opened a new pull request, #6240:
URL: https://github.com/apache/hive/pull/6240

   ### What changes were proposed in this pull request?
   1. Use `ESCAPE '\\\\'` for MySQL db.
   2. Supports `.*` and `.` pattern for Direct SQL query.
   
   ### Why are the changes needed?
   1. Fix bug on Direct SQL for MySQL db
   2. Make results consistent between Direct SQL and JDO.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No.
   
   ### How was this patch tested?
   Add test in `ppd_like_filter.q`:
   ```bash
   mvn test -pl itests/qtest -Pitests -Dtest=TestMiniLlapLocalCliDriver 
-Dtest.output.overwrite=true -Dqfile=ppd_like_filter.q -Dtest.metastore.db=mysql
   ```
   The result will be a little different with derby because in derby the ESCAPE 
is '\' but in MySQL the ESCAPE is '\\'.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to