spark-instrumented-optimizer/external
Yuchen Huo d0800fc8e2 [SPARK-30314] Add identifier and catalog information to DataSourceV2Relation
### What changes were proposed in this pull request?

Add identifier and catalog information in DataSourceV2Relation so it would be possible to do richer checks in checkAnalysis step.

### Why are the changes needed?

In data source v2, table implementations are all customized so we may not be able to get the resolved identifier from tables them selves. Therefore we encode the table and catalog information in DSV2Relation so no external changes are needed to make sure this information is available.

### Does this PR introduce any user-facing change?

No

### How was this patch tested?

Unit tests in the following suites:
CatalogManagerSuite.scala
CatalogV2UtilSuite.scala
SupportsCatalogOptionsSuite.scala
PlanResolutionSuite.scala

Closes #26957 from yuchenhuo/SPARK-30314.

Authored-by: Yuchen Huo <yuchen.huo@databricks.com>
Signed-off-by: Burak Yavuz <brkyvz@gmail.com>
2020-01-26 12:59:24 -08:00
..
avro [SPARK-30475][SQL] File source V2: Push data filters for file listing 2020-01-20 20:20:37 -08:00
docker [SPARK-28683][BUILD] Upgrade Scala to 2.12.10 2019-09-18 13:30:36 -07:00
docker-integration-tests [SPARK-28152][SQL][FOLLOWUP] Add a legacy conf for old MsSqlServerDialect numeric mapping 2020-01-12 23:03:34 -08:00
kafka-0-10 [SPARK-28144][SPARK-29294][SS][FOLLOWUP] Use SystemTime defined in Kafka Time interface 2019-12-24 11:39:03 +09:00
kafka-0-10-assembly [INFRA] Reverts commit 56dcd79 and c216ef1 2019-12-16 19:57:44 -07:00
kafka-0-10-sql [SPARK-30314] Add identifier and catalog information to DataSourceV2Relation 2020-01-26 12:59:24 -08:00
kafka-0-10-token-provider [SPARK-30495][SS] Consider spark.security.credentials.kafka.enabled and cluster configuration when checking latest delegation token 2020-01-15 11:46:34 -08:00
kinesis-asl [SPARK-30272][SQL][CORE] Remove usage of Guava that breaks in 27; replace with workalikes 2019-12-20 08:55:04 -06:00
kinesis-asl-assembly [INFRA] Reverts commit 56dcd79 and c216ef1 2019-12-16 19:57:44 -07:00
spark-ganglia-lgpl [INFRA] Reverts commit 56dcd79 and c216ef1 2019-12-16 19:57:44 -07:00