huangmq-code opened a new issue, #24177:
URL: https://github.com/apache/doris/issues/24177

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   2.0.1
   
   ### What's Wrong?
   
   我使用doris 2.0.1时,使用ROW_NUMBER() OVER() 函数时,想通过生成列进行筛选时报错。
   我使用的SQL语句为: 
   SELECT `Value`,ROW_NUMBER() OVER(partition by TagID order by `TimeStamp` 
DESC) AS t FROM `dw_target_20230905` WHERE TagID in (47297,47298,47299) AND t=1;
   具体的报错信息为:
   SELECT `Value`,ROW_NUMBER() OVER(partition by TagID order by `TimeStamp` 
DESC) AS t FROM `dw_target_20230905` WHERE TagID in (47297,47298,47299) AND t=1
   > 1054 - errCode = 2, detailMessage = Unknown column 't' in 'table list'
   > 时间: 0.001s
   测试数据为:
   "TagData","TagID","Value","TimeStamp","Status"
   "253","47297","0","2023-09-05 23:59:58","192"
   "253","47298","0","2023-09-05 23:59:58","192"
   "253","47299","0","2023-09-05 23:59:58","192"
   
   
   
   
   ### What You Expected?
   
   我希望doris在新版本发布时,能够增加这块内容
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to