Github user gatorsmile commented on the issue:
https://github.com/apache/spark/pull/16179
I can understand the existing way is not correct and we should use `LOCAL`
in `LOAD DATA` command for populating the value of `isSrcLocal`. However, we
also introduce behavior changes in `InsertIntoHiveTable`.
After the changes, we always set `isSrcLocal` to `false` for
`InsertIntoHiveTable`. These temporary data files in staging directory of
`InsertIntoHiveTable` will be moved to the table location instead of copying to
the table location. Is that right?
`VersionSuite` is also being used for testing end-to-end behaviors in
https://github.com/apache/spark/pull/16104. In the future, we need to add more
test cases to ensure the support of all the Hive versions. I think this is the
right thing we should continue.
BTW, I am also trying to see whether the test case coverage of our `LOAD
DATA` is complete or not.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]