Github user hvanhovell commented on the pull request:
https://github.com/apache/spark/pull/12897#issuecomment-216872533
Following queries fail:
```sql
insert overwrite table decimal_1
select cast('17.29' as decimal(4,2)), 3.1415926BD, 3115926.54321BD from src
tablesample (1 rows)
```
`BD` is the suffix for a Hive Big Decimal literal.
```sql
select p_mfgr, p_name, p_size,
min(p_retailprice),
rank() over(distribute by p_mfgr sort by p_name)as r,
dense_rank() over(distribute by p_mfgr sort by p_name) as dr,
p_size, p_size - lag(p_size,1,p_size) over(distribute by p_mfgr sort by
p_name) as deltaSz
from part
group by p_mfgr, p_name, p_size
```
`rank() over(distribute by p_mfgr sort by p_name)as r` now causes a problem.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]