如何从AWS QuickSight调用MySQL存储过程?

时间:2019-04-10 20:03:09

标签: mysql amazon-quicksight

我正在尝试从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

0 个答案:

没有答案