我正在尝试从QuickSight调用RDS MySQL存储过程。我的自定义查询是
call my_report_list(now() - INTERVAL 1 DAY)
我收到以下信息。
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'call my_report_list(now() - INTERVAL 1 DAY) ) ds LIMIT 0' at line 2
sourceErrorState: 42000
sourceException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException
sourceType: MYSQL
query
/* QuickSight */ SELECT ds.* FROM ( call my_report_list(now() - INTERVAL 1 DAY) ) ds LIMIT 0