[ 
https://issues.apache.org/jira/browse/KYLIN-993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14733205#comment-14733205
 ] 

Aroop Maliakkal commented on KYLIN-993:
---------------------------------------

Hi Luke,

Here is the TPDC-15th query as an example.

select ca_zip, sum(cs_sales_price)
from catalog_sales
join customer
  on catalog_sales.cs_bill_customer_sk = customer.c_customer_sk
join customer_address
  on customer.c_current_addr_sk = customer_address.ca_address_sk
join date_dim
  on catalog_sales.cs_sold_date_sk = date_dim.d_date_sk
where (substr(ca_zip,1,5) in ('85669', '86197','88274','83405','86475',
                              '85392', '85460', '80348', '81792')
       or ca_state in ('CA','WA','GA')
       or cs_sales_price > 500)
  and d_qoy = 2 and d_year = 2001
group by ca_zip
order by ca_zip
limit 100;

> implement substr support in kylin
> ---------------------------------
>
>                 Key: KYLIN-993
>                 URL: https://issues.apache.org/jira/browse/KYLIN-993
>             Project: Kylin
>          Issue Type: Bug
>          Components: Query Engine
>            Reporter: Aroop Maliakkal
>            Assignee: liyang
>            Priority: Minor
>
> currently kylin queries doesn't support substr in the queries. Please analyze 
> and see if we can implement it.



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

Reply via email to