alfozan commented on issue #25028: [SPARK-28227][SQL] Support TRANSFORM with
aggregation.
URL: https://github.com/apache/spark/pull/25028#issuecomment-568637972
> > @AngersZh, I didn't read all fully but can we make
https://issues.apache.org/jira/browse/SPARK-15694 done first as @wangy
alfozan commented on issue #25028: [SPARK-28227][SQL] Support TRANSFORM with
aggregation.
URL: https://github.com/apache/spark/pull/25028#issuecomment-549637273
> @alfozan
> Seems you are working on https://issues.apache.org/jira/browse/SPARK-15694
> But I am confused that current Scr
alfozan commented on issue #25028: [SPARK-28227][SQL] Support TRANSFORM with
aggregation.
URL: https://github.com/apache/spark/pull/25028#issuecomment-548728149
Looks good! Thank you.
This is an automated message from the Apa
alfozan commented on issue #25028: [SPARK-28227][SQL] Support TRANSFORM with
aggregation.
URL: https://github.com/apache/spark/pull/25028#issuecomment-548715130
> @alfozan
> You can see my branch's newest change. and check the update
Could you share a link to the new branch/PR?
-
alfozan commented on issue #25028: [SPARK-28227][SQL] Support TRANSFORM with
aggregation.
URL: https://github.com/apache/spark/pull/25028#issuecomment-548694618
> > Another issue:
> > query:
> > `MAP k / 10 USING 'cat' AS (aa) from (select 10 as k); `
> > Error in query: cannot res
alfozan commented on issue #25028: [SPARK-28227][SQL] Support TRANSFORM with
aggregation.
URL: https://github.com/apache/spark/pull/25028#issuecomment-548692408
Another issue:
query:
`MAP k / 10 USING 'cat' AS (aa) from (select 10 as k);
`
Error in query: cannot resolve
alfozan commented on issue #25028: [SPARK-28227][SQL] Support TRANSFORM with
aggregation.
URL: https://github.com/apache/spark/pull/25028#issuecomment-548691723
Here's what I mean:
test query:
```
SELECT TRANSFORM(key, abs(key))
USING 'cat'
FROM (SELECT DISTINCT key F
alfozan commented on issue #25028: [SPARK-28227][SQL] Support TRANSFORM with
aggregation.
URL: https://github.com/apache/spark/pull/25028#issuecomment-548663422
Another test query:
```
SELECT TRANSFORM(key, abs(key))
USING 'cat'
FROM (SELECT DISTINCT key FROM src);
```
alfozan commented on issue #25028: [SPARK-28227][SQL] Support TRANSFORM with
aggregation.
URL: https://github.com/apache/spark/pull/25028#issuecomment-547368476
simpler test case:
```
FROM (select 1 as key, 100 as value) src
MAP src.*, CAST(src.key % 10 AS INT), src.value
US
alfozan commented on issue #25028: [SPARK-28227][SQL] Support TRANSFORM with
aggregation.
URL: https://github.com/apache/spark/pull/25028#issuecomment-547348708
Another issue:
test query:
```
FROM (select 1 as key, 100 as value) src
MAP src.*, src.key, CAST(src.key / 10 AS I
alfozan commented on issue #25028: [SPARK-28227][SQL] Support TRANSFORM with
aggregation.
URL: https://github.com/apache/spark/pull/25028#issuecomment-547250946
Follow up - I think It's even better to always use a manual aliasing
function and not just for a subset of expressions:
``
alfozan commented on issue #25028: [SPARK-28227][SQL] Support TRANSFORM with
aggregation.
URL: https://github.com/apache/spark/pull/25028#issuecomment-547246714
Regarding the issue in
https://github.com/apache/spark/pull/25028#issuecomment-547230458
Instead of
```
val nam
alfozan commented on issue #25028: [SPARK-28227][SQL] Support TRANSFORM with
aggregation.
URL: https://github.com/apache/spark/pull/25028#issuecomment-547230458
@AngersZh one small regression:
test query:
`MAP k / 10 USING 'cat' AS (one) from (select 10 as k);
`
**Re
13 matches
Mail list logo