Skip to content
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.

Commit

Permalink
adding limitations
Browse files Browse the repository at this point in the history
Signed-off-by: Yuan Zhou <[email protected]>
  • Loading branch information
zhouyuan committed Mar 29, 2021
1 parent 46f9e56 commit d67f215
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/limitation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Limitations for Native SQL Engine

## Spark compability
Native SQL engine currenlty works with Spark 3.0.0 only. There are still some trouble with latest Shuffle/AQE API from Spark 3.0.1, 3.0.2 or 3.1.x.

## Operator limitations
### Columnar Projection with Filter
We used 16 bit selection vector for filter so the max batch size need to be < 65536

### Columnar Sort
To reduce the peak memory usage, we used smaller data structure(uin16_t). This limits
- the max batch size to be < 65536
- the number of batches in one partiton to be < 65536


0 comments on commit d67f215

Please sign in to comment.