apache / paimon

Apache Paimon is a lake format that enables building a Realtime Lakehouse Architecture with Flink and Spark for both streaming and batch operations.
https://paimon.apache.org/
Apache License 2.0
2.43k stars 954 forks source link

[spark] Introduce View Support to SparkCatalog #4538

Closed Zouxxyy closed 2 days ago

Zouxxyy commented 3 days ago

Purpose

To #4496, implement the following basic view usages for SparkCatalog:

CREATE VIEW v xxx;
CREATE OR REPLACE VIEW v xxx; -- non-atomic, just drop then create
SHOW VIEWS;
SHOW VIEWS LIKE '';
SELECT FROM view;

Tests

API and Format

Documentation

JingsongLi commented 2 days ago

Thanks @Zouxxyy