[jira] [Updated] (DRILL-2838) Applying flatten after joining 2 sub-queries returns empty maps

2015-07-24 Thread Hanifi Gunes (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-2838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hanifi Gunes updated DRILL-2838:

Assignee: Jason Altekruse  (was: Hanifi Gunes)

> Applying flatten after joining 2 sub-queries returns empty maps
> ---
>
> Key: DRILL-2838
> URL: https://issues.apache.org/jira/browse/DRILL-2838
> Project: Apache Drill
>  Issue Type: Bug
>  Components: Execution - Relational Operators
>Reporter: Rahul Challapalli
>Assignee: Jason Altekruse
>Priority: Critical
> Fix For: 1.2.0
>
> Attachments: DRILL-2838.patch, data.json
>
>
> git.commit.id.abbrev=5cd36c5
> The below query applies flatten after joining 2 subqueries. It generates 
> empty maps which is wrong
> {code}
> select v1.uid, flatten(events), flatten(transactions) from 
> (select uid, events from `data.json`) v1
> inner join
> (select uid, transactions from `data.json`) v2
> on v1.uid = v2.uid;
> ++++
> |uid |   EXPR$1   |   EXPR$2   |
> ++++
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> ++++
> 36 rows selected (0.244 seconds)
> {code}
> I attached the data set. Let me know if you have any questions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (DRILL-2838) Applying flatten after joining 2 sub-queries returns empty maps

2015-07-08 Thread Jason Altekruse (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-2838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Altekruse updated DRILL-2838:
---
Assignee: Hanifi Gunes  (was: Jason Altekruse)

> Applying flatten after joining 2 sub-queries returns empty maps
> ---
>
> Key: DRILL-2838
> URL: https://issues.apache.org/jira/browse/DRILL-2838
> Project: Apache Drill
>  Issue Type: Bug
>  Components: Execution - Relational Operators
>Reporter: Rahul Challapalli
>Assignee: Hanifi Gunes
>Priority: Critical
> Fix For: 1.2.0
>
> Attachments: DRILL-2838.patch, data.json
>
>
> git.commit.id.abbrev=5cd36c5
> The below query applies flatten after joining 2 subqueries. It generates 
> empty maps which is wrong
> {code}
> select v1.uid, flatten(events), flatten(transactions) from 
> (select uid, events from `data.json`) v1
> inner join
> (select uid, transactions from `data.json`) v2
> on v1.uid = v2.uid;
> ++++
> |uid |   EXPR$1   |   EXPR$2   |
> ++++
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> ++++
> 36 rows selected (0.244 seconds)
> {code}
> I attached the data set. Let me know if you have any questions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (DRILL-2838) Applying flatten after joining 2 sub-queries returns empty maps

2015-07-07 Thread Jason Altekruse (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-2838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Altekruse updated DRILL-2838:
---
Attachment: DRILL-2838.patch

> Applying flatten after joining 2 sub-queries returns empty maps
> ---
>
> Key: DRILL-2838
> URL: https://issues.apache.org/jira/browse/DRILL-2838
> Project: Apache Drill
>  Issue Type: Bug
>  Components: Execution - Relational Operators
>Reporter: Rahul Challapalli
>Assignee: Jason Altekruse
>Priority: Critical
> Fix For: 1.2.0
>
> Attachments: DRILL-2838.patch, data.json
>
>
> git.commit.id.abbrev=5cd36c5
> The below query applies flatten after joining 2 subqueries. It generates 
> empty maps which is wrong
> {code}
> select v1.uid, flatten(events), flatten(transactions) from 
> (select uid, events from `data.json`) v1
> inner join
> (select uid, transactions from `data.json`) v2
> on v1.uid = v2.uid;
> ++++
> |uid |   EXPR$1   |   EXPR$2   |
> ++++
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> ++++
> 36 rows selected (0.244 seconds)
> {code}
> I attached the data set. Let me know if you have any questions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (DRILL-2838) Applying flatten after joining 2 sub-queries returns empty maps

2015-06-26 Thread Jason Altekruse (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-2838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jason Altekruse updated DRILL-2838:
---
Fix Version/s: (was: 1.1.0)
   1.2.0

> Applying flatten after joining 2 sub-queries returns empty maps
> ---
>
> Key: DRILL-2838
> URL: https://issues.apache.org/jira/browse/DRILL-2838
> Project: Apache Drill
>  Issue Type: Bug
>  Components: Execution - Relational Operators
>Reporter: Rahul Challapalli
>Assignee: Jason Altekruse
>Priority: Critical
> Fix For: 1.2.0
>
> Attachments: data.json
>
>
> git.commit.id.abbrev=5cd36c5
> The below query applies flatten after joining 2 subqueries. It generates 
> empty maps which is wrong
> {code}
> select v1.uid, flatten(events), flatten(transactions) from 
> (select uid, events from `data.json`) v1
> inner join
> (select uid, transactions from `data.json`) v2
> on v1.uid = v2.uid;
> ++++
> |uid |   EXPR$1   |   EXPR$2   |
> ++++
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> ++++
> 36 rows selected (0.244 seconds)
> {code}
> I attached the data set. Let me know if you have any questions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (DRILL-2838) Applying flatten after joining 2 sub-queries returns empty maps

2015-05-08 Thread Victoria Markman (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-2838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Victoria Markman updated DRILL-2838:

Fix Version/s: (was: 1.0.0)
   1.1.0

> Applying flatten after joining 2 sub-queries returns empty maps
> ---
>
> Key: DRILL-2838
> URL: https://issues.apache.org/jira/browse/DRILL-2838
> Project: Apache Drill
>  Issue Type: Bug
>  Components: Execution - Relational Operators
>Reporter: Rahul Challapalli
>Assignee: Jason Altekruse
>Priority: Critical
> Fix For: 1.1.0
>
> Attachments: data.json
>
>
> git.commit.id.abbrev=5cd36c5
> The below query applies flatten after joining 2 subqueries. It generates 
> empty maps which is wrong
> {code}
> select v1.uid, flatten(events), flatten(transactions) from 
> (select uid, events from `data.json`) v1
> inner join
> (select uid, transactions from `data.json`) v2
> on v1.uid = v2.uid;
> ++++
> |uid |   EXPR$1   |   EXPR$2   |
> ++++
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> ++++
> 36 rows selected (0.244 seconds)
> {code}
> I attached the data set. Let me know if you have any questions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (DRILL-2838) Applying flatten after joining 2 sub-queries returns empty maps

2015-04-22 Thread Chris Westin (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-2838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Westin updated DRILL-2838:

Assignee: Jason Altekruse  (was: Chris Westin)

> Applying flatten after joining 2 sub-queries returns empty maps
> ---
>
> Key: DRILL-2838
> URL: https://issues.apache.org/jira/browse/DRILL-2838
> Project: Apache Drill
>  Issue Type: Bug
>  Components: Execution - Relational Operators
>Reporter: Rahul Challapalli
>Assignee: Jason Altekruse
>Priority: Critical
> Fix For: 1.0.0
>
> Attachments: data.json
>
>
> git.commit.id.abbrev=5cd36c5
> The below query applies flatten after joining 2 subqueries. It generates 
> empty maps which is wrong
> {code}
> select v1.uid, flatten(events), flatten(transactions) from 
> (select uid, events from `data.json`) v1
> inner join
> (select uid, transactions from `data.json`) v2
> on v1.uid = v2.uid;
> ++++
> |uid |   EXPR$1   |   EXPR$2   |
> ++++
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> ++++
> 36 rows selected (0.244 seconds)
> {code}
> I attached the data set. Let me know if you have any questions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (DRILL-2838) Applying flatten after joining 2 sub-queries returns empty maps

2015-04-22 Thread Chris Westin (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-2838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chris Westin updated DRILL-2838:

Fix Version/s: 1.0.0

> Applying flatten after joining 2 sub-queries returns empty maps
> ---
>
> Key: DRILL-2838
> URL: https://issues.apache.org/jira/browse/DRILL-2838
> Project: Apache Drill
>  Issue Type: Bug
>  Components: Execution - Relational Operators
>Reporter: Rahul Challapalli
>Assignee: Chris Westin
>Priority: Critical
> Fix For: 1.0.0
>
> Attachments: data.json
>
>
> git.commit.id.abbrev=5cd36c5
> The below query applies flatten after joining 2 subqueries. It generates 
> empty maps which is wrong
> {code}
> select v1.uid, flatten(events), flatten(transactions) from 
> (select uid, events from `data.json`) v1
> inner join
> (select uid, transactions from `data.json`) v2
> on v1.uid = v2.uid;
> ++++
> |uid |   EXPR$1   |   EXPR$2   |
> ++++
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> ++++
> 36 rows selected (0.244 seconds)
> {code}
> I attached the data set. Let me know if you have any questions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (DRILL-2838) Applying flatten after joining 2 sub-queries returns empty maps

2015-04-21 Thread Rahul Challapalli (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-2838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rahul Challapalli updated DRILL-2838:
-
Attachment: data.json

> Applying flatten after joining 2 sub-queries returns empty maps
> ---
>
> Key: DRILL-2838
> URL: https://issues.apache.org/jira/browse/DRILL-2838
> Project: Apache Drill
>  Issue Type: Bug
>  Components: Execution - Relational Operators
>Reporter: Rahul Challapalli
>Assignee: Chris Westin
>Priority: Critical
> Attachments: data.json
>
>
> git.commit.id.abbrev=5cd36c5
> The below query applies flatten after joining 2 subqueries. It generates 
> empty maps which is wrong
> {code}
> select v1.uid, flatten(events), flatten(transactions) from 
> (select uid, events from `data.json`) v1
> inner join
> (select uid, transactions from `data.json`) v2
> on v1.uid = v2.uid;
> ++++
> |uid |   EXPR$1   |   EXPR$2   |
> ++++
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 1  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> | 2  | {} | {} |
> ++++
> 36 rows selected (0.244 seconds)
> {code}
> I attached the data set. Let me know if you have any questions.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)