Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add integration test for distinct (#1155)
## Rationale One of our user report follow errors: ``` {"code":500,"message":"Failed to handle request, err:Rpc error, code:500, message:Failed to execute plan, sql:select distinct(`app_id`) from visit where `period` <= 1692147800000 and `period` >= 1692147600000 , err:Internal error, msg:Failed to execute interpreter, err:Failed to execute select, err:Failed to execute logical plan, err:Failed to do physical optimization, err:DataFusion Failed to optimize physical plan, err:Internal error: Unsupported logical plan: Distinct should be replaced to Aggregate. This was likely caused by a bug in DataFusion's code and we would welcome that you file an bug report in our issue tracker."} ``` This bug is already fix in main, so add this to ensure it won't break any more. ## Detailed Changes ## Test Plan
- Loading branch information