Skip to content
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

list stream rest endpoint is broken when there is broken view #730

Open
ye11ow opened this issue May 15, 2024 · 0 comments
Open

list stream rest endpoint is broken when there is broken view #730

ye11ow opened this issue May 15, 2024 · 0 comments
Assignees
Labels
bug Something isn't working community Feedback from community

Comments

@ye11ow
Copy link

ye11ow commented May 15, 2024

Describe what's wrong

On top of #729 , when there is broken view, the list stream endpoint is completely broken with the following error:

code: 62, message: Code: 62. DB::Exception: Syntax error: failed at position 389 (')') (line 13, col 60): ) WHERE time >= (now() - INTERVAL MINUTE) GROUP BY symbol, time ), Stats AS ( SELECT symbol, time, aggressive_buys, lags(aggr. Expected one of: token, Arrow, UUID, NOT, BETWEEN, IS, AS, NANOSECOND, SQL_TSI_NANOSECOND, NS, MICROSECOND, SQL_TSI_MICROSECOND, MCS, MILLISECOND, SQL_TSI_MILLISECOND, MS, SECOND, SQL_TSI_SECOND, SS, S, MINUTE, SQL_TSI_MINUTE, MI, N, HOUR, SQL_TSI_HOUR, HH, DAY, SQL_TSI_DAY, DD, D, WEEK, SQL_TSI_WEEK, WK, WW, MONTH, SQL_TSI_MONTH, MM, M, QUARTER, SQL_TSI_QUARTER, QQ, Q, YEAR, SQL_TSI_YEAR, YYYY, YY. (SYNTAX_ERROR) (version 1.5.6)

Ideally Proton should return error with broken view name and error

How to reproduce

Error message and/or stacktrace

Additional context

#729

@ye11ow ye11ow added the bug Something isn't working label May 15, 2024
@ye11ow ye11ow added the community Feedback from community label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working community Feedback from community
Projects
None yet
Development

No branches or pull requests

2 participants