-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When use group by ,it gets error 42000 #1457
Comments
after restart snappydata cluster ,it is ok,But i donot know why,and how to avoid it. snappy> with e as (
> select b.handle_time as date, c.pig_type
> from ihp_farm_harmless a
> left join ihp_harmless b
> on a.id = b.origin_id
> left join ihp_harmless_detail c
> on b.id = c.harmless_id
> where farm_id in (123456789, 1)
> union all
> select b.handle_time as date, c.pig_type
> from ihp_slaughter_harmless a
> left join ihp_harmless b
> on a.id = b.origin_id
> left join ihp_harmless_detail c
> on b.id = c.harmless_id
> where b.handle_place_id in (0, 1)
> )
> select e.date from e group by e.date limit 5;
DATE
--------------------------
2019-09-22 09:11:05.333
2019-09-25 10:27:40.587
2019-09-24 20:21:18.261
2019-09-23 15:48:18.03
2019-09-24 06:56:13.779 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
snappy>
DATE
2019-09-22 09:11:05.333
2019-09-22 09:11:05.333
2019-09-22 09:11:05.333
2019-09-22 09:11:05.333
2019-09-22 09:11:05.333
5 rows selected
snappy>
ERROR 42000: (SQLState=42000 Severity=20000) (Server=hdfs06-dev.yingzi.com/172.19.101.81[1527] Thread=ThriftProcessor-62) Syntax error or analysis exception: /tmp/blockmgr-cb722f64-ff3c-47d5-b387-09fc273863ab/0e/temp_shuffle_7758c4b0-3ab8-4417-87b9-4713195efdc7 (No such file or directory)
The text was updated successfully, but these errors were encountered: