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.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive