Limitations of SQL API
I wanted to confirm a few limitations on the SQL API:
- Documentation states that joins aren't allowed, seems this extends to subqueries and CTE's as well?
- UPDATE and ALTER statements are not supported through the SQL API
Best Answer
-
Based on documentation I have seen regarding Domo's SQL API, the following limitations apply:
- Joins, Subqueries, and CTEs:
- Joins are not allowed in the SQL API. This limitation extends to subqueries and Common Table Expressions (CTEs) as they are essentially advanced forms of joins and require similar underlying database operations.
- Joins are not allowed in the SQL API. This limitation extends to subqueries and Common Table Expressions (CTEs) as they are essentially advanced forms of joins and require similar underlying database operations.
- UPDATE and ALTER Statements:
- UPDATE and ALTER statements are not supported through the SQL API. The SQL API is primarily designed for querying data and does not support data modification or schema-altering operations.
These limitations are in place to ensure performance and security within the Domo environment. If you need to perform more complex operations involving joins or schema changes, you might need to use other tools within Domo or operations outside Domo before ingesting the data.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **1 - Joins, Subqueries, and CTEs:
Answers
-
Based on documentation I have seen regarding Domo's SQL API, the following limitations apply:
- Joins, Subqueries, and CTEs:
- Joins are not allowed in the SQL API. This limitation extends to subqueries and Common Table Expressions (CTEs) as they are essentially advanced forms of joins and require similar underlying database operations.
- Joins are not allowed in the SQL API. This limitation extends to subqueries and Common Table Expressions (CTEs) as they are essentially advanced forms of joins and require similar underlying database operations.
- UPDATE and ALTER Statements:
- UPDATE and ALTER statements are not supported through the SQL API. The SQL API is primarily designed for querying data and does not support data modification or schema-altering operations.
These limitations are in place to ensure performance and security within the Domo environment. If you need to perform more complex operations involving joins or schema changes, you might need to use other tools within Domo or operations outside Domo before ingesting the data.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **1 - Joins, Subqueries, and CTEs:
-
Thanks for the quick response! Did you find documentation that specifically says that? Just curious if I'm missing documentation somewhere, all I've been able to find is what is listed here.
I'm good with those limitations, joins would be nice but I understand it is not a RDMS so that makes sense, and I don't want end users updating or altering tables so that's actually a plus.
0 -
There used to be a page, but it appears to have been moved or removed.
https://developer.domo.com/docs/apis/data-apis/sql-api
If you look at the answers to a recent question I posted, you will see that new SQL functionality is right around the corner.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **1
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 620 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 742 Beast Mode
- 58 App Studio
- 41 Variables
- 686 Automate
- 176 Apps
- 453 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 395 Distribute
- 113 Domo Everywhere
- 276 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive