Unsupported RowExpression type LambdaDefinitionExpression
See original GitHub issueReproducible query:
WITH t AS (
SELECT * FROM (VALUES (1, 2, 'c', 'd', '2018-11-01')) AS t (a, b, c, d, ds)
)
SELECT label
FROM (
SELECT IF (p <= q, '1', '0') AS label
FROM (
SELECT
reduce(
array_agg(a),
CAST(Row(0.0, 0.0) AS ROW(field0 DOUBLE, field1 DOUBLE)),
(s, x) -> CAST(ROW(s.field0, s.field1) AS ROW(field0 DOUBLE, field1 DOUBLE)),
s -> s.field0 + s.field1
) as p,
reduce(
array_agg(a),
CAST(Row(0.0, 0.0) AS ROW(field0 DOUBLE, field1 DOUBLE)),
(s, x) -> CAST(ROW(s.field0, s.field1) AS ROW(field0 DOUBLE, field1 DOUBLE)),
s -> s.field0 + s.field1
) as q
FROM t
WHERE ds = '2018-11-01' AND d = 'test' GROUP BY c
)
WHERE p >= 0.75 AND q >= 0.75)
The query above works if i remove WHERE p >= 0.75 AND q >= 0.75
.
I found commit 92b8a88 by bisecting from 0.213.
Issue Analytics
- State:
- Created 5 years ago
- Comments:16 (8 by maintainers)
Top Results From Across the Web
com.facebook.presto.sql.relational ... - Tabnine
Best Java code snippets using com.facebook.presto.sql.relational.SqlToRowExpressionTranslator$Visitor.process (Showing top 20 results out of 315).
Read more >Example usage for com.google.common.base VerifyException ...
Introduction. In this page you can find the example usage for com.google.common.base VerifyException VerifyException.
Read more >io.prestosql.spi.type.Type#getTypeParameters
This page shows Java code examples of io.prestosql.spi.type. ... instanceof VarcharType, "Unsupported column type '%s' for map key", typeParameters.get(0)); ...
Read more >openLooKeng/hetu-core - Gitee.com
private RowExpression toRowExpression(Expression expression, ... throw new UnsupportedOperationException("Unsupported join type: " + node.
Read more >AbstractTestQueries.java example - Javatips.net
PropertyMetadata; import com.facebook.presto.spi.type. ... IN with subquery predicate in join condition is not supported"); } } assertQuery( ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This statement was confusing. My intent was to let @sopel39 (as the author of the commit and someone who has more context about why it was needed) evaluate the impact and discuss if we should revert the commit or fix it. I should have expressed it in a better way 😃.
@martint I think it’s the latter.