Skip to content

Conversation

@vgmartinez
Copy link
Contributor

What is this PR for?

Fix bug
https://issues.apache.org/jira/browse/ZEPPELIN-628

Todos

How should this be tested?

run a query that contains (something)...eg:

%hive
select max(ss_promo_sk), ss_customer_sk from qhive.tpcds_orc_500.store_sales where ss_sold_date_sk >= 2452640 and ss_customer_sk > 3 and ss_customer_sk < 20 group by ss_customer_sk

It is ok if the propertyKey is default:

PropertyKey: default, SQL command: 'select max(ss_promo_sk), ss_customer_sk from qhive.tpcds_orc_500.store_sales where ss_sold_date_sk >= 2452640 and ss_customer_sk > 3 and ss_customer_sk < 20 group by ss_customer_sk'

Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

@prabhugs
Copy link

Thanks,

I applied the commit vgmartinez@05fa23f to my repo and it works well.

@felixcheung
Copy link
Member

@vgmartinez could this be brought up to date with #667 ?

@vgmartinez
Copy link
Contributor Author

hi @felixcheung @jongyoul....
This brought up to date now....please review...;)

@felixcheung
Copy link
Member

looks good. what is the plan to refactor this code into a single codebase?

@jongyoul
Copy link
Member

@felixcheung I hope this would be merged into JDBC until releasing 0.6.0-incuating. I'll make a discussion mail thread on dev@

@felixcheung
Copy link
Member

merging if no more comment

@asfgit asfgit closed this in c59229a Feb 19, 2016
prabhjyotsingh pushed a commit to prabhjyotsingh/zeppelin that referenced this pull request Feb 19, 2016
### What is this PR for?
Fix bug
https://issues.apache.org/jira/browse/ZEPPELIN-628

### Todos

### How should this be tested?
run a query that contains (something)...eg:
```
%hive
select max(ss_promo_sk), ss_customer_sk from qhive.tpcds_orc_500.store_sales where ss_sold_date_sk >= 2452640 and ss_customer_sk > 3 and ss_customer_sk < 20 group by ss_customer_sk
```
It is ok if the **propertyKey** is default:
```
PropertyKey: default, SQL command: 'select max(ss_promo_sk), ss_customer_sk from qhive.tpcds_orc_500.store_sales where ss_sold_date_sk >= 2452640 and ss_customer_sk > 3 and ss_customer_sk < 20 group by ss_customer_sk'
```
### Questions:

Does the licenses files need update? no
Is there breaking changes for older versions? no
Does this needs documentation? no

Author: vgmartinez <viktor.manuel.garcia@gmail.com>

Closes apache#668 from vgmartinez/bug_628_for_hive and squashes the following commits:

5953458 [vgmartinez] add control of default in interpret
10bd7e5 [vgmartinez] fix parse propertyKey and add test
85161f9 [vgmartinez] add test for parse propertyKey
470c2ac [vgmartinez] fix parse propertykey in name interpreter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants