meta-soul / LakeSoul

LakeSoul is an end-to-end, realtime and cloud native Lakehouse framework with fast data ingestion, concurrent update and incremental data analytics on cloud storages for both BI and AI applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

中文介绍

LakeSoul

LakeSoul is a cloud-native Lakehouse framework developed by DMetaSoul team, and supports scalable metadata management, ACID transactions, efficient and flexible upsert operation, schema evolution, and unified streaming & batch processing. LakeSoul Arch

LakeSoul implements incremental upserts for both row and column and allows concurrent updates. LakeSoul uses LSM-Tree like structure to support updates on hash partitioning table with primary key, and achieve very high write throughput (30MB/s/core) on cloud object store like S3 while providing optimized merge on read performance. LakeSoul scales metadata management and achieves ACID control by using PostgreSQL. LakeSoul provides tools to ingest CDC and log streams automatically in a zero-ETL style.

More detailed features please refer to our doc page: Documentations

Maven Test Flink CDC Test

Quick Start

Follow the Quick Start to quickly set up a test env.

Tutorials

Please find tutorials in doc site: Tutorials

Usage Documentations

Please find usage documentations in doc site: Usage Doc

快速开始

教程

使用文档

Feature Roadmap

  • Meta Management (#23)
    • Multiple Level Partitioning: Multiple range partition and at most one hash partition
    • Concurrent write with auto conflict resolution
    • MVCC with read isolation
    • Write transaction (two-stage commit) through Postgres Transaction
    • Schema Evolution: Column add/delete supported
  • Table operations
    • LSM-Tree style upsert for hash partitioned table
    • Merge on read for hash partition with upsert delta file
    • Copy on write update for non hash partitioned table
    • Compaction
  • Data Warehousing
    • CDC stream ingestion with auto ddl sync
    • Incremental and Snapshot Query
      • Snapshot Query (#103)
      • Incremental Query (#103)
      • Incremental Streaming Source (#130)
      • Flink Stream/Batch Source
    • Materialized View
      • Incremental MV Build
      • Auto query rewrite
  • Spark Integration
    • Table/Dataframe API
    • SQL support with catalog except upsert
    • Query optimization
      • Shuffle/Join elimination for operations on primary key
    • Merge UDF (Merge operator)
    • Merge Into SQL support
      • Merge Into SQL with match on Primary Key (Merge on read)
      • Merge Into SQL with match on non-pk
      • Merge Into SQL with match condition and complex expression (Merge on read when match on PK) (depends on #66)
    • Multiple Spark Versions Support
      • Support Spark 3.3, 3.2 and 3.1
  • Flink Integration and CDC Ingestion (#57)
    • Table API
      • Stream Sink
      • Batch Sink
      • Batch/Stream source
      • Stream Source as ChangeLog Stream
    • Flink CDC
      • Exactly Once Sink
      • Auto Schema Change (DDL) Sync
      • Auto Table Creation (depends on #78)
      • Support multiple source tables with different schemas (#84)
  • Hive Integration
    • Export to Hive partition after compaction
    • Apache Kyuubi (Hive JDBC) Integration
  • Realtime Data Warehousing
    • CDC ingestion
    • Time Travel (Snapshot read)
    • Snapshot rollback
    • MPP Engine Integration (depends on #66)
      • Presto
      • Apache Doris
  • Cloud and Native IO (#66)
    • Object storage IO optimization
    • Native merge on read
    • Multi-layer storage classes support with data tiering

Community guidelines

Community guidelines

Feedback and Contribution

Please feel free to open an issue or dicussion if you have any questions.

Join our slack user group

Contact Us

Email us at opensource@dmetasoul.com.

Opensource License

LakeSoul is opensourced under Apache License v2.0.

About

LakeSoul is an end-to-end, realtime and cloud native Lakehouse framework with fast data ingestion, concurrent update and incremental data analytics on cloud storages for both BI and AI applications.

License:Apache License 2.0


Languages

Language:Scala 59.8%Language:Java 28.2%Language:Rust 9.1%Language:Python 2.1%Language:Shell 0.8%Language:Dockerfile 0.0%