You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/11/12 12:20:39 UTC

[GitHub] [shardingsphere] Qianyi951015 opened a new issue, #22116: Cannot parse Oracle DML SELECT linear regression functions statement

Qianyi951015 opened a new issue, #22116:
URL: https://github.com/apache/shardingsphere/issues/22116

   ### Which version of ShardingSphere did you use?
   556e5e001e5baaaba9a12c9198edb25e7ef1f4ba
   ### Expected behavior
   parse SELECT linear regression functions statement
   ### Actual behavior
   cannot parse SELECT linear regression functions statement
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
   ```sql
   SELECT job_id, employee_id ID, salary, REGR_SLOPE(SYSDATE-hire_date, salary) OVER (PARTITION BY job_id) slope, REGR_INTERCEPT(SYSDATE-hire_date, salary) OVER (PARTITION BY job_id) intcpt, REGR_R2(SYSDATE-hire_date, salary) OVER (PARTITION BY job_id) rsqr, REGR_COUNT(SYSDATE-hire_date, salary) OVER (PARTITION BY job_id) count, REGR_AVGX(SYSDATE-hire_date, salary) OVER (PARTITION BY job_id) avgx, REGR_AVGY(SYSDATE-hire_date, salary) OVER (PARTITION BY job_id) avgy FROM employees WHERE department_id in (50, 80) ORDER BY job_id, employee_id;
   ```
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org.apache.org

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


[GitHub] [shardingsphere] strongduanmu closed issue #22116: Cannot parse Oracle DML SELECT linear regression functions statement

Posted by GitBox <gi...@apache.org>.
strongduanmu closed issue #22116: Cannot parse Oracle DML SELECT linear regression functions statement 
URL: https://github.com/apache/shardingsphere/issues/22116


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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