Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.2.1
-
None
-
None
Description
From https://github.com/apache/spark/pull/20933, we can see that during File data source V2 migration, falling back to V1 implementation is necessary in following cases1. File datasource V2 might be implemented partially during migration.
E.g. if [[ReadSupport]] is implemented while [[WriteSupport]] is not,
write path should fall back to V1 implementation.
2. File datasource V2 implementations cause regression.
3. Catalog support is required, which is still under development for data source V2.
Create a base class FileDataSourceV2 and resolve the falling back problems.