I'm new in Hive and Datastage development. I'm trying to do a recursive query like we can do in Orcale with connect by or with clause, but Hive doesn't support recursive queries. Is there any way to do this in Hive? Or to do the logic through IBM datastage job?
Many thanks,
Priscila Ferreira
Related
The Monitor section only talks about monitoring the ADX instance / server and performance and ingestion. Is there an Azure tool that monitors results of a Kusto query? Where can I find the documentation?
For example, receiving an alert when a Kusto query like event | where isnotempty(error) has result (number of rows > 0)
You can use Azure logic apps or Microsoft power automate. It will allow you to create alerts over results from Kusto queries.
Good afternoon,
We use odbc connector to access our Teradata (we use the TTU 15) and we are looking for a simple solution allowing to select the SCHEMA directly from the ODBC connection when doing a "GET DATA" from Power BI Desktop.
Why ? Because people who are using PBI does not have SQL knowledge and it takes more than 1 minutes to display the database's liste.
We know it's possible to do that from the SQL query but we are looking for a solution to do that in the connection itself.
We've tried using the DATABASE/DB/SCHEMA but no way, each time Power BI Desktop display us the entire list of database.
Any idea or tricks ?
Using tinkerpop Java API for queries with Titan , Cassandra as storage and Elastic as the query index. Works fine with the gremlin console. Any pointers on what to look for ? ( The data or the query size does not matter , seen with no data and minimal query as well . Can rule out caching too.)
Given that cosmos db does not support group by, what is a good alternative to achieve similar functionality:
Select sum(*) , groupterm from tble group by groupterm
Can I efficiently achieve this in a cosmos stored procedure?
As Cosmos_DB states as follows:
Aggregation capability in SQL limited to COUNT, SUM, MIN, MAX, AVG functions. No support for GROUP BY or other aggregation functionality found in database systems. However, stored procedures can be used to implement in-the-database aggregation capability.
Can I efficiently achieve this in a cosmos stored procedure?
For .NET and Node.js
Larry Maccherone has provided a great package documentdb-lumenize which supports Aggregations (Group-by, Pivot-table, and N-dimensional Cube) and Time Series Transformations as Stored Procedures in DocumentDB.
Additionally, for Python and Scala, you could refer to azure-cosmosdb-spark.
Group by is now supported in Cosmos db SQL API. You will be needing SDK version 3.3 or higher
Azure Cosmos DB currently supports GROUP BY in .NET SDK 3.3 or later.
Support for other language SDK's and the Azure Portal is not currently
available but is planned.
https://learn.microsoft.com/en-gb/azure/cosmos-db/sql-query-group-by
Finally, Azure Cosmos DB currently supports GROUP BY in .NET SDK 3.3 or later. Support for other language SDK's and the Azure Portal is not currently available but is planned.
<group_by_clause> ::= GROUP BY <scalar_expression_list>
<scalar_expression_list> ::=
<scalar_expression>
| <scalar_expression_list>, <scalar_expression>
How do you configure SqLite 3 to process a single query using more than 1 core of a CPU ?
Since version 3.8.7, SQLite can use multiple threads for parallel sorting of large data sets.
sqlite3 itself does not do that.
However, I have a project called multicoresql on github that has utility programs and a C library for spreading sql queries onto multiple cores.
It uses sharding so you have to break your large database or datafile into multiple sqlite3 database files. A single SQL query must be written as two SQL queries, a map query that first runs on all the shards, and a reduce query to determine the result from the collected output from all the shards running the map query.