You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the sorting parameter instead of order by in a YQL query such as select * from hoge where huga;&sorting=-[rank],
specifying a value like [rank] that should be enclosed in quotes results in an error when calling yqlRepresentation().
Ideally, it should generate order by '[rank]' desc,
but it incorrectly generates order by [rank] desc without quotes.
Additional context
This issue occurs when using the sorting parameter in YQL queries. It appears that the handling of special sorting attributes like [rank] does not correctly apply quotes when generating the YQL representation.
The text was updated successfully, but these errors were encountered:
Thank you for your response. I have read the page you provided.
Additionally, I came across this issue: #26397. While it seems related, the situation I am facing is slightly different.
What I am trying to achieve is to use the sorting parameter with [relevance], without using order by. For example:
yql=select id,title from doc where userQuery()&query=sars&sorting=-[relevance]
Describe the bug
When using the sorting parameter instead of order by in a YQL query such as
select * from hoge where huga;&sorting=-[rank]
,specifying a value like [rank] that should be enclosed in quotes results in an error when calling
yqlRepresentation()
.Ideally, it should generate
order by '[rank]' desc
,but it incorrectly generates
order by [rank] desc
without quotes.Additional context
This issue occurs when using the sorting parameter in YQL queries. It appears that the handling of special sorting attributes like [rank] does not correctly apply quotes when generating the YQL representation.
The text was updated successfully, but these errors were encountered: