Wei Zheng

Results 7 issues of Wei Zheng

The Hive view is defined as ```CREATE VIEW v1 AS SELECT NULL AS c1 FROM t``` When using it in Trino it throws an error ```Unknown type 'NULL' for column...

## Description There can be query failures with `PreAggregateCaseAggregations`. Repro: ``` create table t (c1 int, c2 varchar); insert into t values (1, '1'); insert into t values (2, '2');...

cla-signed
correctness

## Description Fixes #15659 ## Additional context and related issues ## Release notes ( ) This is not user-visible or docs only and no release notes are required. ( )...

cla-signed
stale

## Description There is a scenario that CTAS queries could fail when the same expression appears more than once (`'01'` in below example query) and they are used as partition...

cla-signed
stale

When the aggregated column is of type bigint/double or the like, the partial aggregation ends up creating a wrapped row type for it. This is unnecessary, inefficient and can cause...

performance

### What changes were proposed in this pull request? We should avoid pushing down Unevaluable expression as it can cause unexpected failures. ### Why are the changes needed? For example,...

SQL