this new_sql_query has length of 421010 characters.
I have tried manually updating the dataset with same query which is getting successfully updated. But seems we have length limitation for SQL(168000) for API. Anyone experienced the same issue? Any workaround suggestions?
Hello @Binny, welcome to the QuickSight Community!
This seems to be a limitation linked with the API usage. I looked through the documentation and saw it mentioned as well in the CustomSql information linked to the update_data_set API call.
For this dataset, it seems you will either be required to update it manually within the QuickSight console. Alternatively, you could create a view within your database or find a way to reduce the number of characters in the SQL query.
I can also mark this topic as a feature request since the limitation seems to be only when utilizing the API. Please let me know if you have any further questions on this issue, otherwise I can archive this topic for our support team. Thank you!
Hello @Binny, I wanted to check in since we have not heard back from you with any follow-up questions. I have tagged this as a feature-request, but please let me know if I can assist you any further. If we do not hear back from you in 3 days, I will archive this topic for our support team. Thank you!