spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Takeshi Yamamuro (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SPARK-23168) Hints for fact tables and unique columns
Date Sun, 21 Jan 2018 06:08:00 GMT

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

Takeshi Yamamuro updated SPARK-23168:
-------------------------------------
    Description: 
We already have fact table and unique column inferences in StarSchemaDetection for decision
making queries. IMHO, in most cases, users could know which is a fact table and which columns
are unique. So, fact table and unique column hint might help for these users.
 For example,
{code:java}
scala> factTable.hint("factTable").hint("uid").join(dimTable)
{code}

> Hints for fact tables and unique columns
> ----------------------------------------
>
>                 Key: SPARK-23168
>                 URL: https://issues.apache.org/jira/browse/SPARK-23168
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 2.2.1
>            Reporter: Takeshi Yamamuro
>            Priority: Minor
>
> We already have fact table and unique column inferences in StarSchemaDetection for decision
making queries. IMHO, in most cases, users could know which is a fact table and which columns
are unique. So, fact table and unique column hint might help for these users.
>  For example,
> {code:java}
> scala> factTable.hint("factTable").hint("uid").join(dimTable)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message