@clickzetta/cz-cli-darwin-x64 0.3.95 → 0.3.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cz-cli +0 -0
- package/bin/skills/clickzetta-batch-sync-pipeline/SKILL.md +1 -30
- package/bin/skills/clickzetta-cdc-sync-pipeline/SKILL.md +100 -534
- package/bin/skills/clickzetta-cdc-sync-pipeline/references/troubleshooting.md +155 -0
- package/bin/skills/clickzetta-data-ingest-pipeline/SKILL.md +5 -5
- package/bin/skills/clickzetta-data-science/SKILL.md +82 -84
- package/bin/skills/clickzetta-dbt-modeling/SKILL.md +347 -0
- package/bin/skills/clickzetta-dbt-modeling/references/grant-patterns.md +69 -0
- package/bin/skills/clickzetta-dbt-modeling/references/incremental-patterns.md +165 -0
- package/bin/skills/clickzetta-dbt-modeling/references/materialization-guide.md +324 -0
- package/bin/skills/clickzetta-dbt-modeling/references/test-strategy.md +80 -0
- package/bin/skills/clickzetta-dbt-project-setup/SKILL.md +176 -0
- package/bin/skills/clickzetta-dbt-project-setup/references/dbt-clickzetta-adapter.md +101 -0
- package/bin/skills/clickzetta-dbt-project-setup/references/elt-standards.md +220 -0
- package/bin/skills/clickzetta-dbt-studio-pipeline/SKILL.md +206 -0
- package/bin/skills/clickzetta-dbt-studio-pipeline/references/parameter-guide.md +118 -0
- package/bin/skills/clickzetta-dbt-studio-pipeline/references/studio-task-sop.md +115 -0
- package/bin/skills/clickzetta-dw-modeling/SKILL.md +130 -261
- package/bin/skills/clickzetta-dw-modeling/references/modeling-patterns.md +159 -67
- package/bin/skills/clickzetta-dynamic-table/SKILL.md +15 -51
- package/bin/skills/clickzetta-dynamic-table/dt-creator/SKILL.md +3 -5
- package/bin/skills/clickzetta-dynamic-table/sql-to-dt/SKILL.md +7 -1
- package/bin/skills/clickzetta-file-import-pipeline/SKILL.md +81 -106
- package/bin/skills/clickzetta-kafka-ingest-pipeline/SKILL.md +56 -327
- package/bin/skills/clickzetta-kafka-ingest-pipeline/references/operations.md +76 -0
- package/bin/skills/clickzetta-oss-ingest-pipeline/SKILL.md +1 -30
- package/bin/skills/clickzetta-overview/SKILL.md +54 -62
- package/bin/skills/clickzetta-overview/references/brands-and-endpoints.md +33 -35
- package/bin/skills/clickzetta-overview/references/object-model.md +167 -168
- package/bin/skills/clickzetta-overview/references/studio-modules.md +91 -91
- package/bin/skills/clickzetta-pipeline-review/SKILL.md +125 -210
- package/bin/skills/clickzetta-realtime-sync-pipeline/SKILL.md +1 -22
- package/bin/skills/clickzetta-spark-flink-connector/SKILL.md +28 -27
- package/bin/skills/clickzetta-spark-flink-connector/references/flink.md +356 -49
- package/bin/skills/clickzetta-sql-migration/SKILL.md +10 -20
- package/bin/skills/clickzetta-sql-pipeline-manager/SKILL.md +79 -419
- package/bin/skills/clickzetta-sql-pipeline-manager/references/dynamic-table.md +45 -45
- package/bin/skills/clickzetta-sql-pipeline-manager/references/materialized-view.md +25 -25
- package/bin/skills/clickzetta-sql-pipeline-manager/references/pipe.md +48 -48
- package/bin/skills/clickzetta-sql-pipeline-manager/references/scenarios.md +141 -0
- package/bin/skills/clickzetta-sql-pipeline-manager/references/table-stream.md +30 -30
- package/bin/skills/clickzetta-sql-pipeline-manager/references/troubleshooting.md +57 -0
- package/bin/skills/clickzetta-studio-task-manager/SKILL.md +83 -576
- package/bin/skills/clickzetta-studio-task-manager/references/engineering-sop.md +123 -0
- package/bin/skills/clickzetta-studio-task-manager/references/troubleshooting.md +63 -0
- package/bin/skills/clickzetta-table-lineage/SKILL.md +4 -3
- package/bin/skills/clickzetta-table-stream-pipeline/SKILL.md +116 -114
- package/bin/skills/clickzetta-zettapark/SKILL.md +36 -203
- package/bin/skills/clickzetta-zettapark/references/zettapark-api.md +143 -64
- package/bin/skills/cz-cli/SKILL.md +16 -16
- package/bin/skills/cz-cli/references/profile-setup.md +8 -8
- package/bin/skills/lakehouse-doc-en/SKILL.md +130 -0
- package/bin/skills/lakehouse-doc-en/SKILL.md.template +49 -0
- package/bin/skills/lakehouse-doc-en/references/AI Gateway Guide.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/AIGateway.md +27 -0
- package/bin/skills/lakehouse-doc-en/references/AI_COMPLETE.md +239 -0
- package/bin/skills/lakehouse-doc-en/references/AI_EMBEDDING.md +192 -0
- package/bin/skills/lakehouse-doc-en/references/AI_Gateway.md +253 -0
- package/bin/skills/lakehouse-doc-en/references/AI_Gateway_Guide.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/AI_eco.md +34 -0
- package/bin/skills/lakehouse-doc-en/references/AI_function_in_SQL.md +355 -0
- package/bin/skills/lakehouse-doc-en/references/AI_function_overview.md +25 -0
- package/bin/skills/lakehouse-doc-en/references/AI_ready_data_overview.md +82 -0
- package/bin/skills/lakehouse-doc-en/references/ALTER-EXTERNAL-TABLE.md +120 -0
- package/bin/skills/lakehouse-doc-en/references/ALTER-SCHEMA.md +86 -0
- package/bin/skills/lakehouse-doc-en/references/ALTER-TABLE-COLUMN.md +223 -0
- package/bin/skills/lakehouse-doc-en/references/ALTERTABLE.md +73 -0
- package/bin/skills/lakehouse-doc-en/references/APIKEYManage.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/ARRAY.md +261 -0
- package/bin/skills/lakehouse-doc-en/references/Analysis.md +149 -0
- package/bin/skills/lakehouse-doc-en/references/AnalyticsModernDataStack.md +386 -0
- package/bin/skills/lakehouse-doc-en/references/Application_list.md +26 -0
- package/bin/skills/lakehouse-doc-en/references/Approval.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/Approval_list.md +61 -0
- package/bin/skills/lakehouse-doc-en/references/BIGINT.md +68 -0
- package/bin/skills/lakehouse-doc-en/references/BINARY.md +113 -0
- package/bin/skills/lakehouse-doc-en/references/BOOLEAN.md +106 -0
- package/bin/skills/lakehouse-doc-en/references/BP_AI_Function_Image2text.md +203 -0
- package/bin/skills/lakehouse-doc-en/references/BestPracticesforUsingDynamicTables.md +336 -0
- package/bin/skills/lakehouse-doc-en/references/Billing.md +63 -0
- package/bin/skills/lakehouse-doc-en/references/BluepipeOracleLakehouse_DataSync.md +261 -0
- package/bin/skills/lakehouse-doc-en/references/CHAR.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/CLAUDE.md +606 -0
- package/bin/skills/lakehouse-doc-en/references/CONNECTION.md +26 -0
- package/bin/skills/lakehouse-doc-en/references/COPY-INTO-Location.md +372 -0
- package/bin/skills/lakehouse-doc-en/references/COPY_INTO_Location.md +369 -0
- package/bin/skills/lakehouse-doc-en/references/CREAREUSER.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/CREATE-BLOOMFILTER-INDEX.md +111 -0
- package/bin/skills/lakehouse-doc-en/references/CREATE-CONNECTION.md +56 -0
- package/bin/skills/lakehouse-doc-en/references/CREATECONNECTION.md +11 -0
- package/bin/skills/lakehouse-doc-en/references/CREATEEXTERNAlLSCHEMA.md +251 -0
- package/bin/skills/lakehouse-doc-en/references/CREATEMATERIALIZEDVIEW.md +489 -0
- package/bin/skills/lakehouse-doc-en/references/CREATEROLE.md +62 -0
- package/bin/skills/lakehouse-doc-en/references/CREATESCHEMA.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/CREATEVIEW.md +55 -0
- package/bin/skills/lakehouse-doc-en/references/CREATE_EXTERNAL_FUNCTION.md +232 -0
- package/bin/skills/lakehouse-doc-en/references/CTERevenueCohort.md +275 -0
- package/bin/skills/lakehouse-doc-en/references/ClickZettaInsight.md +84 -0
- package/bin/skills/lakehouse-doc-en/references/Computation.md +6 -0
- package/bin/skills/lakehouse-doc-en/references/ComputeResourceDDL.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/Create_Embeding_Function.md +236 -0
- package/bin/skills/lakehouse-doc-en/references/Create_LLM_Function.md +242 -0
- package/bin/skills/lakehouse-doc-en/references/CreatingAWSCloudVPCEndpoint.md +69 -0
- package/bin/skills/lakehouse-doc-en/references/CreatingAWSCloudVPCPrivatelinkService.md +108 -0
- package/bin/skills/lakehouse-doc-en/references/CreditScoringwithZettaparkandPythonMLlibraryNew.md +853 -0
- package/bin/skills/lakehouse-doc-en/references/DATE.md +84 -0
- package/bin/skills/lakehouse-doc-en/references/DDL.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/DECIMAL.md +196 -0
- package/bin/skills/lakehouse-doc-en/references/DELETE.md +113 -0
- package/bin/skills/lakehouse-doc-en/references/DESC-INDEX.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/DESC-JOB.md +92 -0
- package/bin/skills/lakehouse-doc-en/references/DESCCONNECTION.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/DESCMATERIALIZEDVIEW.md +28 -0
- package/bin/skills/lakehouse-doc-en/references/DESCSCHEMAS.md +47 -0
- package/bin/skills/lakehouse-doc-en/references/DESCTABLE.md +98 -0
- package/bin/skills/lakehouse-doc-en/references/DESCVIEW.md +61 -0
- package/bin/skills/lakehouse-doc-en/references/DOUBLE.md +104 -0
- package/bin/skills/lakehouse-doc-en/references/DQL.md +93 -0
- package/bin/skills/lakehouse-doc-en/references/DROP-INDEX.md +26 -0
- package/bin/skills/lakehouse-doc-en/references/DROPCONNECTION.md +27 -0
- package/bin/skills/lakehouse-doc-en/references/DROPF_UNCTIOn.md +32 -0
- package/bin/skills/lakehouse-doc-en/references/DROPMATERIALIZEDVIEW.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/DROPROLE.md +44 -0
- package/bin/skills/lakehouse-doc-en/references/DROPSCHEMA.md +31 -0
- package/bin/skills/lakehouse-doc-en/references/DROPTABLE.md +40 -0
- package/bin/skills/lakehouse-doc-en/references/DROPUSER.md +28 -0
- package/bin/skills/lakehouse-doc-en/references/DROPVIEW.md +26 -0
- package/bin/skills/lakehouse-doc-en/references/DataGPT_release.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/DataQuality.md +99 -0
- package/bin/skills/lakehouse-doc-en/references/DataSourceConfigGuide.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_ADBMySQL.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_ADB_PostgreSQL.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_AMQP.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_Amazon_DocumentDB.md +113 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_Amazon_OpenSearch.md +41 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_Aurora_MySQL.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_Aurora_PostgreSQL.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_AutoMQ.md +124 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_COS.md +31 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_ClickHouse.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_DB2.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_DM.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_Databricks.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_Doris.md +34 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_DynamoDB.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_ElasticSearch.md +30 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_Greenplum.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_HANA.md +53 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_HBase.md +29 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_Hive.md +50 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_Hologres.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_Kafka.md +32 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_MariaDB.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_MaxCompute.md +32 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_MongoDB.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_MySQL.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_OSS.md +31 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_Oracle.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_PolarDB.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_PorarDB.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_PostgreSQL.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_Redis.md +55 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_Redshift.md +49 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_RestApi.md +30 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_S3.md +25 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_SLS.md +31 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_StarRocks.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/DataSource_TiDB.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/DataSupplementationTask.md +51 -0
- package/bin/skills/lakehouse-doc-en/references/Data_Catalog_Management.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/Data_Encryption.md +81 -0
- package/bin/skills/lakehouse-doc-en/references/Datalake_StorageConnection.md +12 -0
- package/bin/skills/lakehouse-doc-en/references/Datasource_SQLServer.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/Datus_Lakehouse_Integrated_Guide.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/Datus_Lakehouse_MCPServer.md +153 -0
- package/bin/skills/lakehouse-doc-en/references/Dify_Integrated_with_LakehouseMCPServer.md +71 -0
- package/bin/skills/lakehouse-doc-en/references/Dify_Integreated_with_LakehouseMCPServer.md +71 -0
- package/bin/skills/lakehouse-doc-en/references/DynamicTableDevPractical.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/ELTModernDataStack.md +485 -0
- package/bin/skills/lakehouse-doc-en/references/ELT_practice.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/EXPLAIN.md +91 -0
- package/bin/skills/lakehouse-doc-en/references/EXTERNALFUNCTIONDevGuide.md +121 -0
- package/bin/skills/lakehouse-doc-en/references/EXTERNALSCHEMA.md +95 -0
- package/bin/skills/lakehouse-doc-en/references/EXTERNALSCHMEA.md +90 -0
- package/bin/skills/lakehouse-doc-en/references/EditionsOverview.md +68 -0
- package/bin/skills/lakehouse-doc-en/references/ExternalFunctionDevGuideJava.md +554 -0
- package/bin/skills/lakehouse-doc-en/references/FLOAT.md +84 -0
- package/bin/skills/lakehouse-doc-en/references/FeatureEngineeringForExpandingCustomerFeatureswithZettapark.md +431 -0
- package/bin/skills/lakehouse-doc-en/references/FileCommand.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/FileFunction.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/FineBI.md +192 -0
- package/bin/skills/lakehouse-doc-en/references/Foreach.md +90 -0
- package/bin/skills/lakehouse-doc-en/references/Full_Text_Search.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/GET.md +87 -0
- package/bin/skills/lakehouse-doc-en/references/GET_PRESIGNED_URL.md +59 -0
- package/bin/skills/lakehouse-doc-en/references/GrantPriveleges.md +156 -0
- package/bin/skills/lakehouse-doc-en/references/Hive_connection.md +50 -0
- package/bin/skills/lakehouse-doc-en/references/IDENTITY-Column.md +67 -0
- package/bin/skills/lakehouse-doc-en/references/INSERT.md +230 -0
- package/bin/skills/lakehouse-doc-en/references/INSERTOVERWRITE.md +61 -0
- package/bin/skills/lakehouse-doc-en/references/INT.md +74 -0
- package/bin/skills/lakehouse-doc-en/references/INTERVAL.md +247 -0
- package/bin/skills/lakehouse-doc-en/references/Ingesting_Data_from_Alibaba_Cloud_Data_Lake_into_Lakehouse.md +920 -0
- package/bin/skills/lakehouse-doc-en/references/Ingestion.md +87 -0
- package/bin/skills/lakehouse-doc-en/references/Introduction.md +148 -0
- package/bin/skills/lakehouse-doc-en/references/JDBC-Driver.md +62 -0
- package/bin/skills/lakehouse-doc-en/references/JDBC_MindsDB_ML_LLM.md +255 -0
- package/bin/skills/lakehouse-doc-en/references/JOIN.md +265 -0
- package/bin/skills/lakehouse-doc-en/references/JSON.md +164 -0
- package/bin/skills/lakehouse-doc-en/references/JSON_DataType.md +49 -0
- package/bin/skills/lakehouse-doc-en/references/KAFKA_Storage_connection.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/Kafka_connection.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/Key_Concepts.md +116 -0
- package/bin/skills/lakehouse-doc-en/references/LATERALVIEW.md +157 -0
- package/bin/skills/lakehouse-doc-en/references/Lakehouse-client-repository.md +11 -0
- package/bin/skills/lakehouse-doc-en/references/LakehouseAI-overview.md +99 -0
- package/bin/skills/lakehouse-doc-en/references/LakehouseAI.md +0 -0
- package/bin/skills/lakehouse-doc-en/references/LakehouseAI_overview.md +16 -0
- package/bin/skills/lakehouse-doc-en/references/LakehouseAI/346/246/202/350/277/260.md +0 -0
- package/bin/skills/lakehouse-doc-en/references/LakehouseDataGPT-tour.md +64 -0
- package/bin/skills/lakehouse-doc-en/references/LakehouseDataGPTTour.md +64 -0
- package/bin/skills/lakehouse-doc-en/references/LakehouseMCPServer-intro.md +493 -0
- package/bin/skills/lakehouse-doc-en/references/LakehouseMCPServer.md +2 -0
- package/bin/skills/lakehouse-doc-en/references/LakehouseMCPServer_intro.md +493 -0
- package/bin/skills/lakehouse-doc-en/references/LakehousePython-zettapark.md +48 -0
- package/bin/skills/lakehouse-doc-en/references/LakehouseStudio-tour.md +185 -0
- package/bin/skills/lakehouse-doc-en/references/LakehouseStudioTour.md +185 -0
- package/bin/skills/lakehouse-doc-en/references/Lakehouse_Insight.md +98 -0
- package/bin/skills/lakehouse-doc-en/references/Lakehouse_Platform_Release_Note.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/Lakehouse_Studio_101.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/Lakehouse_Studio_Release_Note.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/Lakehouse_Zilliz_MakeDataReadyforBIandAI.md +222 -0
- package/bin/skills/lakehouse-doc-en/references/Langchain_plug_installation.md +244 -0
- package/bin/skills/lakehouse-doc-en/references/Langchain_plug_quick_start.md +225 -0
- package/bin/skills/lakehouse-doc-en/references/Langchain_plugins_overview.md +409 -0
- package/bin/skills/lakehouse-doc-en/references/Limitation.md +7 -0
- package/bin/skills/lakehouse-doc-en/references/LoaddataintoLakehouse.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/Logstash.md +181 -0
- package/bin/skills/lakehouse-doc-en/references/MAP.md +158 -0
- package/bin/skills/lakehouse-doc-en/references/MATERIALIZEDVIEW.md +111 -0
- package/bin/skills/lakehouse-doc-en/references/MCPServers.md +268 -0
- package/bin/skills/lakehouse-doc-en/references/MERGE.md +471 -0
- package/bin/skills/lakehouse-doc-en/references/ManageAccounts.md +187 -0
- package/bin/skills/lakehouse-doc-en/references/Management_All.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/ManagingFilesonDatalakeVolumewithZettapark.md +161 -0
- package/bin/skills/lakehouse-doc-en/references/MigrateSnowflakeRealtimeETLPipelinetoClickzettaLakehouse.md +845 -0
- package/bin/skills/lakehouse-doc-en/references/Migrate_Spark_DataEngineeringBestPractices_Project_to_Lakehouse.md +300 -0
- package/bin/skills/lakehouse-doc-en/references/ModelMarket.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/ModernDataStackWithEcosystemTools.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/MonitoringItemSpecification.md +44 -0
- package/bin/skills/lakehouse-doc-en/references/N8N_AI_Workflow_Integration.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/N8N_Integrated_with_LakehouseMCPServer.md +128 -0
- package/bin/skills/lakehouse-doc-en/references/Notebook.md +98 -0
- package/bin/skills/lakehouse-doc-en/references/OPTIMIZE.md +125 -0
- package/bin/skills/lakehouse-doc-en/references/ObjectModelDesign.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/ObtainingAWSCloudARNandExternalID.md +188 -0
- package/bin/skills/lakehouse-doc-en/references/Op_and_Monitoring.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/PUT.md +94 -0
- package/bin/skills/lakehouse-doc-en/references/PerformingVectorandScalarRetrievalinheSameTableinLakehouse.md +84 -0
- package/bin/skills/lakehouse-doc-en/references/Permission_Management.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/Permission_application.md +43 -0
- package/bin/skills/lakehouse-doc-en/references/PowerBI.md +112 -0
- package/bin/skills/lakehouse-doc-en/references/PythonSDKVersionHistory.md +22 -0
- package/bin/skills/lakehouse-doc-en/references/PythonSample_put_gharchive2oss.md +153 -0
- package/bin/skills/lakehouse-doc-en/references/PythonSample_put_github_rt_events.md +336 -0
- package/bin/skills/lakehouse-doc-en/references/PythonSqlAlchemyVersionHistory.md +23 -0
- package/bin/skills/lakehouse-doc-en/references/Python_Task.md +27 -0
- package/bin/skills/lakehouse-doc-en/references/QuickStartwithCopycommand.md +65 -0
- package/bin/skills/lakehouse-doc-en/references/REFRESH.md +83 -0
- package/bin/skills/lakehouse-doc-en/references/REMOTEFUNCTION.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/Refactor_ELT_practice.md +241 -0
- package/bin/skills/lakehouse-doc-en/references/ReferenceManual.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/RemoteFunction-as-udf.md +43 -0
- package/bin/skills/lakehouse-doc-en/references/RemoteFunction-best-practice.md +350 -0
- package/bin/skills/lakehouse-doc-en/references/RemoteFunction-dev-guide-python3.md +570 -0
- package/bin/skills/lakehouse-doc-en/references/RemoteFunction-intro.md +54 -0
- package/bin/skills/lakehouse-doc-en/references/RemoteFunction-on-acr.md +249 -0
- package/bin/skills/lakehouse-doc-en/references/RemoteFunctionAsUDF.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/RemoteFunctionAsUDF_sql.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/RemoteFunctionBestPractice.md +343 -0
- package/bin/skills/lakehouse-doc-en/references/RemoteFunctionDevGuidePython3.md +145 -0
- package/bin/skills/lakehouse-doc-en/references/RemoteFunctionOnACR.md +245 -0
- package/bin/skills/lakehouse-doc-en/references/RemoteFunctionintro.md +54 -0
- package/bin/skills/lakehouse-doc-en/references/RevokePriveleges.md +81 -0
- package/bin/skills/lakehouse-doc-en/references/Row_LevelPermissions.md +42 -0
- package/bin/skills/lakehouse-doc-en/references/SCHEMA.md +63 -0
- package/bin/skills/lakehouse-doc-en/references/SCHEMADDL.md +0 -0
- package/bin/skills/lakehouse-doc-en/references/SHOW-INDEX.md +67 -0
- package/bin/skills/lakehouse-doc-en/references/SHOWCONNECTIONS.md +32 -0
- package/bin/skills/lakehouse-doc-en/references/SHOWFUNCTIONS.md +30 -0
- package/bin/skills/lakehouse-doc-en/references/SHOWGRANTS.md +54 -0
- package/bin/skills/lakehouse-doc-en/references/SHOWROLES.md +55 -0
- package/bin/skills/lakehouse-doc-en/references/SHOWTABLES.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/SHOWUSERS.md +17 -0
- package/bin/skills/lakehouse-doc-en/references/SMALLINT.md +71 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Approx_Aggregate_Functions_Guide.md +371 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Array_Explode_Guide.md +360 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Array_Map_Processing_Guide.md +391 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Attribution_Guide.md +445 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Batch_Insert_Guide.md +171 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Bitmap_Guide.md +282 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_CREATE_TABLE_GUIDE.md +1208 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Clone_Guide.md +188 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Copy_Into_Guide.md +181 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_DML_Considerations.md +601 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Deduplication_Guide.md +203 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Dynamic_Table_Guide.md +215 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Explain_Guide.md +142 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_External_Catalog_Guide.md +147 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_External_Table_Guide.md +156 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Filter_Sort_Guide.md +225 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_FullText_Search_Guide.md +337 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Funnel_Analysis_Guide.md +473 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Group_Aggregation_Guide.md +230 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Hierarchy_Workaround_Guide.md +435 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Index_Guide.md +155 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_JSON_Parsing_Guide.md +221 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Join_Guide.md +660 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Null_Handling_Guide.md +273 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Object_Storage_Guide.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Optimize_Guide.md +137 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Pipe_Guide.md +178 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Pivot_Guide.md +346 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Query_Analysis_Guide.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Ranking_Guide.md +254 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Realtime_Guide.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Retention_Cohort_Guide.md +463 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Running_Total_Guide.md +324 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_SELECT_Considerations.md +1831 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Sampling_Guide.md +154 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Sessionization_Guide.md +407 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Set_Operations_Guide.md +218 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Share_Guide.md +156 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_String_Processing_Guide.md +663 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Syntax_Guide.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Table_Stream_Guide.md +178 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_TimeSeries_Guide.md +362 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Time_Travel_Guide.md +173 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Type_Conversion_Guide.md +241 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Update_Delete_Guide.md +229 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Upsert_Guide.md +199 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Vector_Search_Guide.md +555 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_View_Guide.md +195 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Volume_Guide.md +149 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_With_CTE_Guide.md +1526 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_Write_Change_Guide.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_customers.md +73 -0
- package/bin/skills/lakehouse-doc-en/references/SQL_revenue.md +31 -0
- package/bin/skills/lakehouse-doc-en/references/STRING.md +74 -0
- package/bin/skills/lakehouse-doc-en/references/STRUCT.md +199 -0
- package/bin/skills/lakehouse-doc-en/references/SUMMARY.md +1485 -0
- package/bin/skills/lakehouse-doc-en/references/SYNCPOINT.md +4 -0
- package/bin/skills/lakehouse-doc-en/references/Security_system_inventory_and_optimization_based_Information_Schema.md +411 -0
- package/bin/skills/lakehouse-doc-en/references/SecurityandGovernance.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/SharedData.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/SlowlyChangingDimensionsInLakehouseUsingStreamsandTasks.md +587 -0
- package/bin/skills/lakehouse-doc-en/references/Spark_Lakehouse_iceberg_REST.md +151 -0
- package/bin/skills/lakehouse-doc-en/references/Structured_and_semi-structured_data_analysis.md +171 -0
- package/bin/skills/lakehouse-doc-en/references/Studio.md +78 -0
- package/bin/skills/lakehouse-doc-en/references/StudioDI_PrivateLinkVPC_fromRDS.md +105 -0
- package/bin/skills/lakehouse-doc-en/references/Supported_Cloud_Platforms.md +34 -0
- package/bin/skills/lakehouse-doc-en/references/TABLE.md +183 -0
- package/bin/skills/lakehouse-doc-en/references/TIMESTAMP.md +117 -0
- package/bin/skills/lakehouse-doc-en/references/TIMETRAVEL.md +150 -0
- package/bin/skills/lakehouse-doc-en/references/TINYINT.md +77 -0
- package/bin/skills/lakehouse-doc-en/references/TPC-H100G_experience.md +45 -0
- package/bin/skills/lakehouse-doc-en/references/TRUNCATE.md +123 -0
- package/bin/skills/lakehouse-doc-en/references/TableDesign.md +270 -0
- package/bin/skills/lakehouse-doc-en/references/TableauConnectToLakehouse.md +73 -0
- package/bin/skills/lakehouse-doc-en/references/Transformation.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/UNDROP-TABLE.md +171 -0
- package/bin/skills/lakehouse-doc-en/references/UPDATE.md +217 -0
- package/bin/skills/lakehouse-doc-en/references/USESCHEMA.md +52 -0
- package/bin/skills/lakehouse-doc-en/references/Unstructured_io.md +749 -0
- package/bin/skills/lakehouse-doc-en/references/Usage_Statistics.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/VARCHARleghth.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/VARCHARlength.md +73 -0
- package/bin/skills/lakehouse-doc-en/references/VIEW.md +74 -0
- package/bin/skills/lakehouse-doc-en/references/WEBIDE.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/WINDOWCALUSE.md +66 -0
- package/bin/skills/lakehouse-doc-en/references/WINDOWFUNCTION.md +561 -0
- package/bin/skills/lakehouse-doc-en/references/WITH.md +137 -0
- package/bin/skills/lakehouse-doc-en/references/ZettaparkQuickStart.md +466 -0
- package/bin/skills/lakehouse-doc-en/references/Zettapark_Data_Engineering_Demo.md +351 -0
- package/bin/skills/lakehouse-doc-en/references/a_comprehensive_guide_to_ingesting_data_into_clickzetta_lakehouse.md +66 -0
- package/bin/skills/lakehouse-doc-en/references/access-control-configuration.md +249 -0
- package/bin/skills/lakehouse-doc-en/references/access-control-general.md +81 -0
- package/bin/skills/lakehouse-doc-en/references/access-control.md +235 -0
- package/bin/skills/lakehouse-doc-en/references/account-funds.md +87 -0
- package/bin/skills/lakehouse-doc-en/references/account.md +2 -0
- package/bin/skills/lakehouse-doc-en/references/account_user_management.md +108 -0
- package/bin/skills/lakehouse-doc-en/references/agg_function.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/aggregate_functions/approx_count_distinct.md +50 -0
- package/bin/skills/lakehouse-doc-en/references/aggregate_functions/bit_and.md +40 -0
- package/bin/skills/lakehouse-doc-en/references/aggregate_functions/bit_or.md +41 -0
- package/bin/skills/lakehouse-doc-en/references/aggregate_functions/bit_xor.md +50 -0
- package/bin/skills/lakehouse-doc-en/references/aggregate_functions/bool_and.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/aggregate_functions/bool_or.md +47 -0
- package/bin/skills/lakehouse-doc-en/references/aggregate_functions/collect_list.md +58 -0
- package/bin/skills/lakehouse-doc-en/references/aggregate_functions/collect_set.md +45 -0
- package/bin/skills/lakehouse-doc-en/references/aggregate_functions/count.md +44 -0
- package/bin/skills/lakehouse-doc-en/references/aggregate_functions/group_bitmap_merge_state.md +40 -0
- package/bin/skills/lakehouse-doc-en/references/aggregate_functions/group_bitmap_state.md +110 -0
- package/bin/skills/lakehouse-doc-en/references/aggregate_functions/max.md +58 -0
- package/bin/skills/lakehouse-doc-en/references/aggregate_functions/min.md +51 -0
- package/bin/skills/lakehouse-doc-en/references/aggregate_functions/percentile.md +48 -0
- package/bin/skills/lakehouse-doc-en/references/aggregate_functions/stddev_pop.md +51 -0
- package/bin/skills/lakehouse-doc-en/references/aggregate_functions/stddev_samp.md +55 -0
- package/bin/skills/lakehouse-doc-en/references/aggregate_functions/sum.md +51 -0
- package/bin/skills/lakehouse-doc-en/references/aggregate_functions/var_pop.md +60 -0
- package/bin/skills/lakehouse-doc-en/references/aggregate_functions/var_samp.md +46 -0
- package/bin/skills/lakehouse-doc-en/references/ai_app_dev_practical.md +3 -0
- package/bin/skills/lakehouse-doc-en/references/ai_classify.md +263 -0
- package/bin/skills/lakehouse-doc-en/references/ai_extract.md +248 -0
- package/bin/skills/lakehouse-doc-en/references/ai_fix_grammar.md +200 -0
- package/bin/skills/lakehouse-doc-en/references/ai_function_best_practice.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/ai_functions_overview.md +259 -0
- package/bin/skills/lakehouse-doc-en/references/ai_mask.md +188 -0
- package/bin/skills/lakehouse-doc-en/references/ai_sentiment.md +204 -0
- package/bin/skills/lakehouse-doc-en/references/ai_similarity.md +201 -0
- package/bin/skills/lakehouse-doc-en/references/ai_summarize.md +168 -0
- package/bin/skills/lakehouse-doc-en/references/ai_transcribe.md +188 -0
- package/bin/skills/lakehouse-doc-en/references/ai_translate.md +197 -0
- package/bin/skills/lakehouse-doc-en/references/airbyte.md +107 -0
- package/bin/skills/lakehouse-doc-en/references/alert.md +139 -0
- package/bin/skills/lakehouse-doc-en/references/alicloud-arn-externalid.md +49 -0
- package/bin/skills/lakehouse-doc-en/references/alicloud_byos_configuration.md +129 -0
- package/bin/skills/lakehouse-doc-en/references/aliyun_storage_connection.md +133 -0
- package/bin/skills/lakehouse-doc-en/references/alter-dynamic-table.md +327 -0
- package/bin/skills/lakehouse-doc-en/references/alter-external-schema.md +86 -0
- package/bin/skills/lakehouse-doc-en/references/alter-materialized-view.md +212 -0
- package/bin/skills/lakehouse-doc-en/references/alter-network-policy.md +62 -0
- package/bin/skills/lakehouse-doc-en/references/alter-pipe.md +43 -0
- package/bin/skills/lakehouse-doc-en/references/alter-share.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/alter-table.md +349 -0
- package/bin/skills/lakehouse-doc-en/references/alter-user.md +53 -0
- package/bin/skills/lakehouse-doc-en/references/alter-vcluster.md +154 -0
- package/bin/skills/lakehouse-doc-en/references/alter-volume.md +51 -0
- package/bin/skills/lakehouse-doc-en/references/alter-workspace.md +43 -0
- package/bin/skills/lakehouse-doc-en/references/alter.md +72 -0
- package/bin/skills/lakehouse-doc-en/references/analysis_internet_data_nyc_green_data.md +449 -0
- package/bin/skills/lakehouse-doc-en/references/analytics-agent-core-concepts.md +34 -0
- package/bin/skills/lakehouse-doc-en/references/analytics-modern-data-stack.md +386 -0
- package/bin/skills/lakehouse-doc-en/references/analytics_cluster_best_practices.md +367 -0
- package/bin/skills/lakehouse-doc-en/references/analyze-table.md +51 -0
- package/bin/skills/lakehouse-doc-en/references/answer-accuracy-improve.md +179 -0
- package/bin/skills/lakehouse-doc-en/references/application-list.md +26 -0
- package/bin/skills/lakehouse-doc-en/references/approval-list.md +61 -0
- package/bin/skills/lakehouse-doc-en/references/array_function.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/array_size.md +31 -0
- package/bin/skills/lakehouse-doc-en/references/authentication.md +53 -0
- package/bin/skills/lakehouse-doc-en/references/authority-management.md +157 -0
- package/bin/skills/lakehouse-doc-en/references/authoritymanagement.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/auto-index.md +52 -0
- package/bin/skills/lakehouse-doc-en/references/aws_storage_connection.md +112 -0
- package/bin/skills/lakehouse-doc-en/references/awscloud_privatelink.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/backfilling_data.md +50 -0
- package/bin/skills/lakehouse-doc-en/references/batch-load-parquet-file-into-lakehouse.md +79 -0
- package/bin/skills/lakehouse-doc-en/references/batch_sync.md +62 -0
- package/bin/skills/lakehouse-doc-en/references/batch_sync_Sop.md +135 -0
- package/bin/skills/lakehouse-doc-en/references/batchloadparquetfileintoLakehouse.md +79 -0
- package/bin/skills/lakehouse-doc-en/references/benchmark.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/benchmark_guide.md +43 -0
- package/bin/skills/lakehouse-doc-en/references/best_ractices.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/bestpractice_bazhuanyu.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/bit_function.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/bitmap-type.md +381 -0
- package/bin/skills/lakehouse-doc-en/references/bitmap_function.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/bitmap_uba_guide.md +1234 -0
- package/bin/skills/lakehouse-doc-en/references/bloomfilter-summary.md +136 -0
- package/bin/skills/lakehouse-doc-en/references/bluepipe-oracle-lakehouse-datasync.md +244 -0
- package/bin/skills/lakehouse-doc-en/references/bring_your_own_storage.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/build-index.md +75 -0
- package/bin/skills/lakehouse-doc-en/references/build_rag_with_langchain.md +652 -0
- package/bin/skills/lakehouse-doc-en/references/bulkload-summary.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/bulkloadv1-java-sdk.md +177 -0
- package/bin/skills/lakehouse-doc-en/references/bulkloadv1-python-sdk.md +169 -0
- package/bin/skills/lakehouse-doc-en/references/business-audit-trail-with-table-stream.md +281 -0
- package/bin/skills/lakehouse-doc-en/references/byok.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/byos_general.md +165 -0
- package/bin/skills/lakehouse-doc-en/references/byos_tencentcloud_configuration.md +138 -0
- package/bin/skills/lakehouse-doc-en/references/cache-command.md +31 -0
- package/bin/skills/lakehouse-doc-en/references/cancel-job.md +49 -0
- package/bin/skills/lakehouse-doc-en/references/cardinality_array.md +43 -0
- package/bin/skills/lakehouse-doc-en/references/charge_analysis_with_lakehouse_mcp_server.md +393 -0
- package/bin/skills/lakehouse-doc-en/references/chart-auto-refresh-guide.md +30 -0
- package/bin/skills/lakehouse-doc-en/references/clickzetta-sample-data.md +239 -0
- package/bin/skills/lakehouse-doc-en/references/clone-doc.md +101 -0
- package/bin/skills/lakehouse-doc-en/references/cloud_object_storage.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/cluster-table-guide.md +64 -0
- package/bin/skills/lakehouse-doc-en/references/cluster-table.md +111 -0
- package/bin/skills/lakehouse-doc-en/references/code_approval.md +34 -0
- package/bin/skills/lakehouse-doc-en/references/composite_task.md +192 -0
- package/bin/skills/lakehouse-doc-en/references/comprehensive_comparison.md +83 -0
- package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_3rd_tools.md +11 -0
- package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_dbv_sql_put.md +44 -0
- package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_environment_and_data_generate.md +669 -0
- package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_javasdk_bulkload_realtime.md +741 -0
- package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_kafka_realtime_sync.md +73 -0
- package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_local_file_into_table_by_studio.md +64 -0
- package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_overview.md +66 -0
- package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_pipe_kafka.md +8 -0
- package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_pipe_oss.md +7 -0
- package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_studio_batchload_public_network.md +52 -0
- package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_studio_python_node.md +113 -0
- package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_studio_realtime_cdc_public_network.md +253 -0
- package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_studio_sql_insert.md +174 -0
- package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_zettapark_put_file_to_lake.md +222 -0
- package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_zettapark_save_as_table.md +87 -0
- package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_zettapark_sql_insert.md +121 -0
- package/bin/skills/lakehouse-doc-en/references/compute-overview.md +142 -0
- package/bin/skills/lakehouse-doc-en/references/compute-resource-ddl.md +128 -0
- package/bin/skills/lakehouse-doc-en/references/concepts.md +209 -0
- package/bin/skills/lakehouse-doc-en/references/concurrency_scaling.md +56 -0
- package/bin/skills/lakehouse-doc-en/references/conditional_function.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/config-datasource.md +82 -0
- package/bin/skills/lakehouse-doc-en/references/config_volume_dify_storage.md +342 -0
- package/bin/skills/lakehouse-doc-en/references/connect-with-cli.md +127 -0
- package/bin/skills/lakehouse-doc-en/references/connect_to_Lakehouse.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/connection-guide.md +57 -0
- package/bin/skills/lakehouse-doc-en/references/connection-overview.md +171 -0
- package/bin/skills/lakehouse-doc-en/references/considerations-for-using-sql.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/context_function.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/continue-job.md +256 -0
- package/bin/skills/lakehouse-doc-en/references/conversational_analytics_datagpt.md +3 -0
- package/bin/skills/lakehouse-doc-en/references/copy-into-table.md +442 -0
- package/bin/skills/lakehouse-doc-en/references/copy.md +74 -0
- package/bin/skills/lakehouse-doc-en/references/cos_storage_connection.md +73 -0
- package/bin/skills/lakehouse-doc-en/references/cos_volume_creation.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/cost_management.md +2 -0
- package/bin/skills/lakehouse-doc-en/references/create-api-connection.md +352 -0
- package/bin/skills/lakehouse-doc-en/references/create-catalog-connection.md +253 -0
- package/bin/skills/lakehouse-doc-en/references/create-dynamic-table.md +461 -0
- package/bin/skills/lakehouse-doc-en/references/create-embedding-function.md +244 -0
- package/bin/skills/lakehouse-doc-en/references/create-external-catalog.md +220 -0
- package/bin/skills/lakehouse-doc-en/references/create-external-delta.md +76 -0
- package/bin/skills/lakehouse-doc-en/references/create-external-schema.md +165 -0
- package/bin/skills/lakehouse-doc-en/references/create-external-table.md +75 -0
- package/bin/skills/lakehouse-doc-en/references/create-external-volume.md +102 -0
- package/bin/skills/lakehouse-doc-en/references/create-hive-catalog.md +64 -0
- package/bin/skills/lakehouse-doc-en/references/create-inverted-index.md +154 -0
- package/bin/skills/lakehouse-doc-en/references/create-kafka-external.md +298 -0
- package/bin/skills/lakehouse-doc-en/references/create-llm-function.md +245 -0
- package/bin/skills/lakehouse-doc-en/references/create-materialized-view.md +529 -0
- package/bin/skills/lakehouse-doc-en/references/create-network-policy.md +54 -0
- package/bin/skills/lakehouse-doc-en/references/create-pipe.md +60 -0
- package/bin/skills/lakehouse-doc-en/references/create-role.md +94 -0
- package/bin/skills/lakehouse-doc-en/references/create-schema-from-share.md +55 -0
- package/bin/skills/lakehouse-doc-en/references/create-schema.md +88 -0
- package/bin/skills/lakehouse-doc-en/references/create-share.md +132 -0
- package/bin/skills/lakehouse-doc-en/references/create-sql-function.md +119 -0
- package/bin/skills/lakehouse-doc-en/references/create-storage-connection.md +316 -0
- package/bin/skills/lakehouse-doc-en/references/create-synonym.md +64 -0
- package/bin/skills/lakehouse-doc-en/references/create-table-ddl.md +390 -0
- package/bin/skills/lakehouse-doc-en/references/create-table-stream.md +217 -0
- package/bin/skills/lakehouse-doc-en/references/create-user.md +59 -0
- package/bin/skills/lakehouse-doc-en/references/create-vector-index.md +105 -0
- package/bin/skills/lakehouse-doc-en/references/create-view.md +128 -0
- package/bin/skills/lakehouse-doc-en/references/create-volume.md +64 -0
- package/bin/skills/lakehouse-doc-en/references/create.md +93 -0
- package/bin/skills/lakehouse-doc-en/references/create_cluster.md +117 -0
- package/bin/skills/lakehouse-doc-en/references/creating_alicloud_privatelinkendpoint.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/creating_alicloud_privatelinkservice.md +31 -0
- package/bin/skills/lakehouse-doc-en/references/creating_tencentcloud_privatelinkendpoint.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/creating_tencentcloud_privatelinkservice.md +19 -0
- package/bin/skills/lakehouse-doc-en/references/credit-scoring-with-zettapark.md +873 -0
- package/bin/skills/lakehouse-doc-en/references/crete-external-catalog.md +16 -0
- package/bin/skills/lakehouse-doc-en/references/cz-cli-agent.md +142 -0
- package/bin/skills/lakehouse-doc-en/references/cz-cli-datasource.md +63 -0
- package/bin/skills/lakehouse-doc-en/references/cz-cli-sql.md +396 -0
- package/bin/skills/lakehouse-doc-en/references/cz-cli-studio-tasks.md +241 -0
- package/bin/skills/lakehouse-doc-en/references/cz-cli.md +130 -0
- package/bin/skills/lakehouse-doc-en/references/czguide-intro-to-cdc-using-clickzetta-rtsync-dynamic-tables.md +738 -0
- package/bin/skills/lakehouse-doc-en/references/dashboard-version-management-guide.md +109 -0
- package/bin/skills/lakehouse-doc-en/references/data-catalog.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/data-integration-intro.md +58 -0
- package/bin/skills/lakehouse-doc-en/references/data-integration.md +51 -0
- package/bin/skills/lakehouse-doc-en/references/data-lifecycle.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/data-load-summary.md +57 -0
- package/bin/skills/lakehouse-doc-en/references/data-mamager-tool.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/data-manager-tool.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/data-quality.md +99 -0
- package/bin/skills/lakehouse-doc-en/references/data-recover.md +52 -0
- package/bin/skills/lakehouse-doc-en/references/data-recovery-with-time-travel.md +248 -0
- package/bin/skills/lakehouse-doc-en/references/data-sharing-concept.md +110 -0
- package/bin/skills/lakehouse-doc-en/references/data-sharing-overview.md +149 -0
- package/bin/skills/lakehouse-doc-en/references/data-sharing.md +320 -0
- package/bin/skills/lakehouse-doc-en/references/data-sources.md +62 -0
- package/bin/skills/lakehouse-doc-en/references/data-sync-intro.md +23 -0
- package/bin/skills/lakehouse-doc-en/references/data-type-guide.md +86 -0
- package/bin/skills/lakehouse-doc-en/references/data-type.md +219 -0
- package/bin/skills/lakehouse-doc-en/references/data-types-timestamp-ntz.md +128 -0
- package/bin/skills/lakehouse-doc-en/references/data.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/data_catalog.md +109 -0
- package/bin/skills/lakehouse-doc-en/references/data_clean_with_sql.md +378 -0
- package/bin/skills/lakehouse-doc-en/references/data_ops.md +7 -0
- package/bin/skills/lakehouse-doc-en/references/data_org.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/data_partition.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/data_privacy.md +43 -0
- package/bin/skills/lakehouse-doc-en/references/data_result_profile.md +21 -0
- package/bin/skills/lakehouse-doc-en/references/data_security.md +65 -0
- package/bin/skills/lakehouse-doc-en/references/data_share.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/data_sharing_between_accounts_guide.md +331 -0
- package/bin/skills/lakehouse-doc-en/references/data_sharing_guide.md +117 -0
- package/bin/skills/lakehouse-doc-en/references/data_sync.md +6 -0
- package/bin/skills/lakehouse-doc-en/references/data_transfer_datalake.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/data_visualization.md +96 -0
- package/bin/skills/lakehouse-doc-en/references/dataagent.md +80 -0
- package/bin/skills/lakehouse-doc-en/references/databricks_yunqi_integration_guide_v2.md +842 -0
- package/bin/skills/lakehouse-doc-en/references/datacatalog.md +127 -0
- package/bin/skills/lakehouse-doc-en/references/datagpt-release.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/datagpt_bestpractice.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/datagpt_data_source.md +57 -0
- package/bin/skills/lakehouse-doc-en/references/datagpt_get_accurate_answers.md +40 -0
- package/bin/skills/lakehouse-doc-en/references/datagpt_intro.md +75 -0
- package/bin/skills/lakehouse-doc-en/references/datagpt_introduction.md +129 -0
- package/bin/skills/lakehouse-doc-en/references/datagpt_quickstart.md +99 -0
- package/bin/skills/lakehouse-doc-en/references/datagpt_tutorial.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/datalake-acceleration.md +5 -0
- package/bin/skills/lakehouse-doc-en/references/datalake-storage-connection.md +12 -0
- package/bin/skills/lakehouse-doc-en/references/datalake_FAQ.md +48 -0
- package/bin/skills/lakehouse-doc-en/references/datalake_overview.md +17 -0
- package/bin/skills/lakehouse-doc-en/references/datalake_privilege.md +55 -0
- package/bin/skills/lakehouse-doc-en/references/datalake_query_ingest.md +18 -0
- package/bin/skills/lakehouse-doc-en/references/datalake_unstructure_data.md +3 -0
- package/bin/skills/lakehouse-doc-en/references/datalake_volume.md +114 -0
- package/bin/skills/lakehouse-doc-en/references/datalake_volume_analytics.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/datalake_volume_anlytics.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/datalake_volume_object.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/datalakeanalysis.md +272 -0
- package/bin/skills/lakehouse-doc-en/references/dataops_practice.md +104 -0
- package/bin/skills/lakehouse-doc-en/references/datasharing.md +328 -0
- package/bin/skills/lakehouse-doc-en/references/datasharing_catalog.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/datasource-config-guide.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/datasource_ip_whitelist.md +93 -0
- package/bin/skills/lakehouse-doc-en/references/datasources.md +62 -0
- package/bin/skills/lakehouse-doc-en/references/datatype-cast.md +89 -0
- package/bin/skills/lakehouse-doc-en/references/datatype-conversion.md +331 -0
- package/bin/skills/lakehouse-doc-en/references/datetime_patterns.md +61 -0
- package/bin/skills/lakehouse-doc-en/references/datus_lakehouse_installation.md +418 -0
- package/bin/skills/lakehouse-doc-en/references/datus_lakehouse_solution_overview.md +148 -0
- package/bin/skills/lakehouse-doc-en/references/db_dw_connection.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/dbt-advanced-features.md +261 -0
- package/bin/skills/lakehouse-doc-en/references/dbt-bigquery-to-clickzetta-migration.md +458 -0
- package/bin/skills/lakehouse-doc-en/references/dbt-data-quality.md +237 -0
- package/bin/skills/lakehouse-doc-en/references/dbt-incremental.md +340 -0
- package/bin/skills/lakehouse-doc-en/references/dbt-practice-series.md +90 -0
- package/bin/skills/lakehouse-doc-en/references/dbt-realtime-pipeline.md +308 -0
- package/bin/skills/lakehouse-doc-en/references/dbt-snowflake-to-clickzetta-migration.md +384 -0
- package/bin/skills/lakehouse-doc-en/references/default-value.md +87 -0
- package/bin/skills/lakehouse-doc-en/references/delta-lake.md +190 -0
- package/bin/skills/lakehouse-doc-en/references/desc-catalog-table.md +27 -0
- package/bin/skills/lakehouse-doc-en/references/desc-catalog.md +28 -0
- package/bin/skills/lakehouse-doc-en/references/desc-connection.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/desc-dynamic-table.md +95 -0
- package/bin/skills/lakehouse-doc-en/references/desc-external-schemas.md +57 -0
- package/bin/skills/lakehouse-doc-en/references/desc-external-table.md +63 -0
- package/bin/skills/lakehouse-doc-en/references/desc-function.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/desc-history-dynamic-table.md +44 -0
- package/bin/skills/lakehouse-doc-en/references/desc-history-table.md +61 -0
- package/bin/skills/lakehouse-doc-en/references/desc-history.md +91 -0
- package/bin/skills/lakehouse-doc-en/references/desc-materialized-view.md +110 -0
- package/bin/skills/lakehouse-doc-en/references/desc-network-policy.md +43 -0
- package/bin/skills/lakehouse-doc-en/references/desc-pipe.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/desc-schemas.md +59 -0
- package/bin/skills/lakehouse-doc-en/references/desc-share.md +48 -0
- package/bin/skills/lakehouse-doc-en/references/desc-table-stream.md +64 -0
- package/bin/skills/lakehouse-doc-en/references/desc-table.md +103 -0
- package/bin/skills/lakehouse-doc-en/references/desc-vcluster.md +79 -0
- package/bin/skills/lakehouse-doc-en/references/desc-view.md +66 -0
- package/bin/skills/lakehouse-doc-en/references/desc-volume.md +84 -0
- package/bin/skills/lakehouse-doc-en/references/desc-workspace.md +49 -0
- package/bin/skills/lakehouse-doc-en/references/describe.md +80 -0
- package/bin/skills/lakehouse-doc-en/references/dify_config_lakehouse_as_vectordb.md +314 -0
- package/bin/skills/lakehouse-doc-en/references/dify_yunqilakehouse_integration_overview.md +232 -0
- package/bin/skills/lakehouse-doc-en/references/discovery_analysis_data_in_json_file_on_external_volume.md +625 -0
- package/bin/skills/lakehouse-doc-en/references/discovery_analysis_data_in_parquet_file_on_external_volume.md +599 -0
- package/bin/skills/lakehouse-doc-en/references/dml.md +90 -0
- package/bin/skills/lakehouse-doc-en/references/download-data-with-copy.md +27 -0
- package/bin/skills/lakehouse-doc-en/references/download-data.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/drop-connection.md +34 -0
- package/bin/skills/lakehouse-doc-en/references/drop-dynamic-table.md +76 -0
- package/bin/skills/lakehouse-doc-en/references/drop-external-schema.md +40 -0
- package/bin/skills/lakehouse-doc-en/references/drop-external-table.md +32 -0
- package/bin/skills/lakehouse-doc-en/references/drop-function.md +51 -0
- package/bin/skills/lakehouse-doc-en/references/drop-materialized-view.md +73 -0
- package/bin/skills/lakehouse-doc-en/references/drop-network-policy.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/drop-pipe.md +15 -0
- package/bin/skills/lakehouse-doc-en/references/drop-role.md +61 -0
- package/bin/skills/lakehouse-doc-en/references/drop-schema.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/drop-share.md +73 -0
- package/bin/skills/lakehouse-doc-en/references/drop-synonym.md +31 -0
- package/bin/skills/lakehouse-doc-en/references/drop-table-stream.md +31 -0
- package/bin/skills/lakehouse-doc-en/references/drop-table.md +70 -0
- package/bin/skills/lakehouse-doc-en/references/drop-user.md +43 -0
- package/bin/skills/lakehouse-doc-en/references/drop-vcluster.md +63 -0
- package/bin/skills/lakehouse-doc-en/references/drop-view.md +63 -0
- package/bin/skills/lakehouse-doc-en/references/drop-volume.md +55 -0
- package/bin/skills/lakehouse-doc-en/references/drop.md +84 -0
- package/bin/skills/lakehouse-doc-en/references/dynamic-mask.md +202 -0
- package/bin/skills/lakehouse-doc-en/references/dynamic-table-bestpractice.md +193 -0
- package/bin/skills/lakehouse-doc-en/references/dynamic-table-dml-sql.md +54 -0
- package/bin/skills/lakehouse-doc-en/references/dynamic-table-dml.md +48 -0
- package/bin/skills/lakehouse-doc-en/references/dynamic-table-incre.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/dynamic-table-introduce.md +320 -0
- package/bin/skills/lakehouse-doc-en/references/dynamic-table-parameters.md +423 -0
- package/bin/skills/lakehouse-doc-en/references/dynamic-table-scheduling.md +42 -0
- package/bin/skills/lakehouse-doc-en/references/dynamic-table.md +96 -0
- package/bin/skills/lakehouse-doc-en/references/dynamicTable-DML-sql.md +59 -0
- package/bin/skills/lakehouse-doc-en/references/dynamicTable-dml.md +47 -0
- package/bin/skills/lakehouse-doc-en/references/dynamicTable-parmaters.md +250 -0
- package/bin/skills/lakehouse-doc-en/references/dynamic_table_summary.md +366 -0
- package/bin/skills/lakehouse-doc-en/references/dynamic_table_task.md +68 -0
- package/bin/skills/lakehouse-doc-en/references/dynamic_table_using_studio.md +163 -0
- package/bin/skills/lakehouse-doc-en/references/dynamictable.md +53 -0
- package/bin/skills/lakehouse-doc-en/references/eco_integration/Zeppelin.md +79 -0
- package/bin/skills/lakehouse-doc-en/references/eco_integration/airbyte.md +74 -0
- package/bin/skills/lakehouse-doc-en/references/eco_integration/datagrip-lakehouse.md +55 -0
- package/bin/skills/lakehouse-doc-en/references/eco_integration/datax.md +163 -0
- package/bin/skills/lakehouse-doc-en/references/eco_integration/dbeaver-lakehouse.md +65 -0
- package/bin/skills/lakehouse-doc-en/references/eco_integration/dbt-jaffle-shop-quickstart.md +234 -0
- package/bin/skills/lakehouse-doc-en/references/eco_integration/dbt.md +300 -0
- package/bin/skills/lakehouse-doc-en/references/eco_integration/rath.md +84 -0
- package/bin/skills/lakehouse-doc-en/references/eco_integration/sqlline.md +72 -0
- package/bin/skills/lakehouse-doc-en/references/eco_integration/sqlworkbench-j-lakehouse.md +52 -0
- package/bin/skills/lakehouse-doc-en/references/eco_integration/streamlit.md +104 -0
- package/bin/skills/lakehouse-doc-en/references/eco_integration/superset.md +98 -0
- package/bin/skills/lakehouse-doc-en/references/eco_integration/trino.md +73 -0
- package/bin/skills/lakehouse-doc-en/references/ecosystem-all.md +121 -0
- package/bin/skills/lakehouse-doc-en/references/encryption-function.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/export_data_with_data-integration.md +3 -0
- package/bin/skills/lakehouse-doc-en/references/external-Volume.md +10 -0
- package/bin/skills/lakehouse-doc-en/references/external-catalog-concept.md +329 -0
- package/bin/skills/lakehouse-doc-en/references/external-catalog-summary.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/external-catalog.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/external-function-dev-guide-java.md +556 -0
- package/bin/skills/lakehouse-doc-en/references/external-function-summary.md +0 -0
- package/bin/skills/lakehouse-doc-en/references/external-hudi-table.md +188 -0
- package/bin/skills/lakehouse-doc-en/references/external-schema.md +100 -0
- package/bin/skills/lakehouse-doc-en/references/external-table-guide.md +101 -0
- package/bin/skills/lakehouse-doc-en/references/external_catalog_schema.md +182 -0
- package/bin/skills/lakehouse-doc-en/references/external_object_user_guide.md +298 -0
- package/bin/skills/lakehouse-doc-en/references/external_volume.md +199 -0
- package/bin/skills/lakehouse-doc-en/references/f6fc6447ee.md +161 -0
- package/bin/skills/lakehouse-doc-en/references/feature-engineering-with-zettapark.md +429 -0
- package/bin/skills/lakehouse-doc-en/references/federation-query.md +74 -0
- package/bin/skills/lakehouse-doc-en/references/file_functions.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/filter-clause.md +76 -0
- package/bin/skills/lakehouse-doc-en/references/finebi-mysql.md +106 -0
- package/bin/skills/lakehouse-doc-en/references/flink-write-connector.md +646 -0
- package/bin/skills/lakehouse-doc-en/references/from_lakehouse_to_volume.md +109 -0
- package/bin/skills/lakehouse-doc-en/references/from_volume_to_table.md +45 -0
- package/bin/skills/lakehouse-doc-en/references/full-text-search.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/fulltext_indexes_guide.md +1197 -0
- package/bin/skills/lakehouse-doc-en/references/function-overview.md +98 -0
- package/bin/skills/lakehouse-doc-en/references/functions.md +101 -0
- package/bin/skills/lakehouse-doc-en/references/funnel-analysis-with-window-functions.md +350 -0
- package/bin/skills/lakehouse-doc-en/references/generated-column.md +99 -0
- package/bin/skills/lakehouse-doc-en/references/generated_columns_guide.md +847 -0
- package/bin/skills/lakehouse-doc-en/references/geo.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/geospatial_analysis.md +566 -0
- package/bin/skills/lakehouse-doc-en/references/get-started-with-sample-data.md +79 -0
- package/bin/skills/lakehouse-doc-en/references/getting_started_with_vcluster_for_processing_analytics.md +442 -0
- package/bin/skills/lakehouse-doc-en/references/gitfolder.md +57 -0
- package/bin/skills/lakehouse-doc-en/references/grant-privileges.md +140 -0
- package/bin/skills/lakehouse-doc-en/references/grant-to-share.md +54 -0
- package/bin/skills/lakehouse-doc-en/references/grant-user-privileges.md +112 -0
- package/bin/skills/lakehouse-doc-en/references/groupby.md +1258 -0
- package/bin/skills/lakehouse-doc-en/references/guides-overview-connecting.md +46 -0
- package/bin/skills/lakehouse-doc-en/references/hash.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/high_order_function.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/hive-connection.md +50 -0
- package/bin/skills/lakehouse-doc-en/references/hive-to-lakehouse-ecommerce.md +362 -0
- package/bin/skills/lakehouse-doc-en/references/ide.md +8 -0
- package/bin/skills/lakehouse-doc-en/references/identity-auth.md +8 -0
- package/bin/skills/lakehouse-doc-en/references/if_else_task.md +160 -0
- package/bin/skills/lakehouse-doc-en/references/ifnull.md +62 -0
- package/bin/skills/lakehouse-doc-en/references/ilike.md +83 -0
- package/bin/skills/lakehouse-doc-en/references/import-data-by-python-into-lakehouse.md +141 -0
- package/bin/skills/lakehouse-doc-en/references/import-feishu-data.md +389 -0
- package/bin/skills/lakehouse-doc-en/references/import_data_with_data-integration.md +3 -0
- package/bin/skills/lakehouse-doc-en/references/importdatabypythonintoLakehouse.md +134 -0
- package/bin/skills/lakehouse-doc-en/references/incremental-computing.md +482 -0
- package/bin/skills/lakehouse-doc-en/references/incremetal-compute.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/index-overview.md +25 -0
- package/bin/skills/lakehouse-doc-en/references/index-partition-overview.md +137 -0
- package/bin/skills/lakehouse-doc-en/references/index-t.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/index2.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/index_guide.md +81 -0
- package/bin/skills/lakehouse-doc-en/references/indexs.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/information_schema_guide.md +188 -0
- package/bin/skills/lakehouse-doc-en/references/ingesting-data-from-alibaba-cloud-datalake.md +977 -0
- package/bin/skills/lakehouse-doc-en/references/input_output.md +70 -0
- package/bin/skills/lakehouse-doc-en/references/instance-information-schema-summary.md +53 -0
- package/bin/skills/lakehouse-doc-en/references/instance-information-schema.md +344 -0
- package/bin/skills/lakehouse-doc-en/references/instance-information_schema.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/internal_volume.md +213 -0
- package/bin/skills/lakehouse-doc-en/references/intro-supported-features.md +48 -0
- package/bin/skills/lakehouse-doc-en/references/inverted-index.md +350 -0
- package/bin/skills/lakehouse-doc-en/references/inverted_idx_bm25_param.md +251 -0
- package/bin/skills/lakehouse-doc-en/references/inverted_idx_multi-match.md +89 -0
- package/bin/skills/lakehouse-doc-en/references/ip_function.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/is-null.md +53 -0
- package/bin/skills/lakehouse-doc-en/references/it-operation-management.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/java_reference/bulkload-upload.md +164 -0
- package/bin/skills/lakehouse-doc-en/references/java_reference/client.md +48 -0
- package/bin/skills/lakehouse-doc-en/references/java_reference/java-sdk-release-notes.md +32 -0
- package/bin/skills/lakehouse-doc-en/references/java_reference/java-sdk-summary.md +187 -0
- package/bin/skills/lakehouse-doc-en/references/java_reference/jdbc.md +211 -0
- package/bin/skills/lakehouse-doc-en/references/java_reference/realtime-upload.md +288 -0
- package/bin/skills/lakehouse-doc-en/references/java_sdk_guide.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/jdbc_task.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/job-manage.md +57 -0
- package/bin/skills/lakehouse-doc-en/references/job_history_analysis_with_information_schema.md +674 -0
- package/bin/skills/lakehouse-doc-en/references/jobprofile-bestpractices.md +108 -0
- package/bin/skills/lakehouse-doc-en/references/json_analyze.md +424 -0
- package/bin/skills/lakehouse-doc-en/references/json_data_process_guide.md +881 -0
- package/bin/skills/lakehouse-doc-en/references/json_function.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/json_guide_for_complex_biz_cases.md +1897 -0
- package/bin/skills/lakehouse-doc-en/references/kafka-connection.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/kafka-external-table.md +93 -0
- package/bin/skills/lakehouse-doc-en/references/key-concepts.md +394 -0
- package/bin/skills/lakehouse-doc-en/references/lakehouse-acceleration-guide.md +136 -0
- package/bin/skills/lakehouse-doc-en/references/lakehouse-ai.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/lakehouse-data-engineering-handbook.md +519 -0
- package/bin/skills/lakehouse-doc-en/references/lakehouse-index-best-practice.md +670 -0
- package/bin/skills/lakehouse-doc-en/references/lakehouse-insight.md +104 -0
- package/bin/skills/lakehouse-doc-en/references/lakehouse-llms-index-skill.md +209 -0
- package/bin/skills/lakehouse-doc-en/references/lakehouse-platform-release-note.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/lakehouse-quick-experience_guide.md +980 -0
- package/bin/skills/lakehouse-doc-en/references/lakehouse-studio-101.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/lakehouse-studio-concept.md +46 -0
- package/bin/skills/lakehouse-doc-en/references/lakehouse-studio-release-note.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/lakehouse-table-stream-best-practices.md +607 -0
- package/bin/skills/lakehouse-doc-en/references/lakehouse-zilliz-make-data-ready-for-bi-and-ai.md +256 -0
- package/bin/skills/lakehouse-doc-en/references/lakehouse_billing_anomaly_alert_configuration_guide.md +294 -0
- package/bin/skills/lakehouse-doc-en/references/lakehouse_instance_overview.md +43 -0
- package/bin/skills/lakehouse-doc-en/references/lakehouse_studio.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/lakehouse_table_design_guide.md +2674 -0
- package/bin/skills/lakehouse-doc-en/references/lance_guide.md +320 -0
- package/bin/skills/lakehouse-doc-en/references/langchain-plug-installation.md +276 -0
- package/bin/skills/lakehouse-doc-en/references/langchain-plug-quick-start.md +305 -0
- package/bin/skills/lakehouse-doc-en/references/langchain-plugins-overview.md +463 -0
- package/bin/skills/lakehouse-doc-en/references/langchain.md +95 -0
- package/bin/skills/lakehouse-doc-en/references/langchain_basic_samples.md +761 -0
- package/bin/skills/lakehouse-doc-en/references/langchain_integration.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/left.md +43 -0
- package/bin/skills/lakehouse-doc-en/references/like.md +71 -0
- package/bin/skills/lakehouse-doc-en/references/list-partition.md +88 -0
- package/bin/skills/lakehouse-doc-en/references/llama-index.md +52 -0
- package/bin/skills/lakehouse-doc-en/references/load-data-local.md +85 -0
- package/bin/skills/lakehouse-doc-en/references/load-data-oss.md +175 -0
- package/bin/skills/lakehouse-doc-en/references/load-history-function.md +14 -0
- package/bin/skills/lakehouse-doc-en/references/load_history.md +17 -0
- package/bin/skills/lakehouse-doc-en/references/logging-in.md +68 -0
- package/bin/skills/lakehouse-doc-en/references/manage-accounts.md +187 -0
- package/bin/skills/lakehouse-doc-en/references/management.md +181 -0
- package/bin/skills/lakehouse-doc-en/references/management_guide.md +115 -0
- package/bin/skills/lakehouse-doc-en/references/managing-files-on-volume-with-zettapark.md +165 -0
- package/bin/skills/lakehouse-doc-en/references/managing-instance.md +68 -0
- package/bin/skills/lakehouse-doc-en/references/managing-security.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/map-function.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/mapjoin.md +98 -0
- package/bin/skills/lakehouse-doc-en/references/materialized_ddl.md +90 -0
- package/bin/skills/lakehouse-doc-en/references/math_function.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/maxcompute-to-lakehouse-ecommerce.md +405 -0
- package/bin/skills/lakehouse-doc-en/references/medallion-lakehouse-from-scratch.md +720 -0
- package/bin/skills/lakehouse-doc-en/references/meta-objects-and-privileges.md +273 -0
- package/bin/skills/lakehouse-doc-en/references/metabase.md +59 -0
- package/bin/skills/lakehouse-doc-en/references/metadata_show_desc_command_guide.md +711 -0
- package/bin/skills/lakehouse-doc-en/references/metrics_answer_build.md +45 -0
- package/bin/skills/lakehouse-doc-en/references/migrate-snowflake-realtime-etl-to-lakehouse.md +862 -0
- package/bin/skills/lakehouse-doc-en/references/migrate-spark-data-engineering-best-practices-to-lakehouse.md +293 -0
- package/bin/skills/lakehouse-doc-en/references/migration-spark-sql.md +610 -0
- package/bin/skills/lakehouse-doc-en/references/migration-sql-compatibility.md +184 -0
- package/bin/skills/lakehouse-doc-en/references/mindsdb.md +282 -0
- package/bin/skills/lakehouse-doc-en/references/modelprice.md +155 -0
- package/bin/skills/lakehouse-doc-en/references/modern-data-stack-with-ecosystem-tools.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/monitor_and_alert.md +177 -0
- package/bin/skills/lakehouse-doc-en/references/monitoring_and_alerting.md +177 -0
- package/bin/skills/lakehouse-doc-en/references/monitoring_item_specification.md +44 -0
- package/bin/skills/lakehouse-doc-en/references/multi_cloud_instance_manage_with_mcp_server.md +284 -0
- package/bin/skills/lakehouse-doc-en/references/multitable_batch_sync.md +465 -0
- package/bin/skills/lakehouse-doc-en/references/multitable_realtime_sync.md +401 -0
- package/bin/skills/lakehouse-doc-en/references/multitable_realtime_sync_sop.md +588 -0
- package/bin/skills/lakehouse-doc-en/references/n8n_Integreated_with_lakehouse_mcp_server.md +538 -0
- package/bin/skills/lakehouse-doc-en/references/navicat-mysql.md +67 -0
- package/bin/skills/lakehouse-doc-en/references/network_policy.md +286 -0
- package/bin/skills/lakehouse-doc-en/references/notes-and-guidelines-for-partition-tables.md +1724 -0
- package/bin/skills/lakehouse-doc-en/references/number_type_guide.md +56 -0
- package/bin/skills/lakehouse-doc-en/references/nyc_green_taxi_data_clean_transform_with_mcp_server.md +315 -0
- package/bin/skills/lakehouse-doc-en/references/object-model-overview.md +69 -0
- package/bin/skills/lakehouse-doc-en/references/object_identifier.md +270 -0
- package/bin/skills/lakehouse-doc-en/references/object_model_design.md +244 -0
- package/bin/skills/lakehouse-doc-en/references/om-api-connection.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/om-bloomfilter.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/om-catalog-connection.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/om-data-sharing.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/om-dynamic-mask.md +40 -0
- package/bin/skills/lakehouse-doc-en/references/om-dynamic-table.md +223 -0
- package/bin/skills/lakehouse-doc-en/references/om-external-function.md +49 -0
- package/bin/skills/lakehouse-doc-en/references/om-external-volume.md +57 -0
- package/bin/skills/lakehouse-doc-en/references/om-internal-volume.md +91 -0
- package/bin/skills/lakehouse-doc-en/references/om-inverted-index.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/om-named-volume.md +75 -0
- package/bin/skills/lakehouse-doc-en/references/om-network-policy.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/om-pipe.md +217 -0
- package/bin/skills/lakehouse-doc-en/references/om-roles.md +46 -0
- package/bin/skills/lakehouse-doc-en/references/om-row-level-permission.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/om-schema.md +44 -0
- package/bin/skills/lakehouse-doc-en/references/om-semantic-view.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/om-storage-connection.md +47 -0
- package/bin/skills/lakehouse-doc-en/references/om-synonym.md +119 -0
- package/bin/skills/lakehouse-doc-en/references/om-table-stream.md +196 -0
- package/bin/skills/lakehouse-doc-en/references/om-table.md +193 -0
- package/bin/skills/lakehouse-doc-en/references/om-time-travel.md +46 -0
- package/bin/skills/lakehouse-doc-en/references/om-user-management.md +42 -0
- package/bin/skills/lakehouse-doc-en/references/om-vcluster.md +101 -0
- package/bin/skills/lakehouse-doc-en/references/om-view.md +199 -0
- package/bin/skills/lakehouse-doc-en/references/om-workspace.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/opensource/travel.md +126 -0
- package/bin/skills/lakehouse-doc-en/references/operation-maintenance.md +149 -0
- package/bin/skills/lakehouse-doc-en/references/optimizing-computing-resources.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/org-hierarchy.md +56 -0
- package/bin/skills/lakehouse-doc-en/references/oss_volume_creation.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/overview.md +187 -0
- package/bin/skills/lakehouse-doc-en/references/pandas-to-zettapark-migration-retail.md +262 -0
- package/bin/skills/lakehouse-doc-en/references/partition-func.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/partition_table.md +324 -0
- package/bin/skills/lakehouse-doc-en/references/partition_table_guide.md +319 -0
- package/bin/skills/lakehouse-doc-en/references/performance_optimization.md +34 -0
- package/bin/skills/lakehouse-doc-en/references/performence_test.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/permission-application.md +43 -0
- package/bin/skills/lakehouse-doc-en/references/permissions-of-built-in-workspace-level-roles.md +131 -0
- package/bin/skills/lakehouse-doc-en/references/pipe-introduction.md +97 -0
- package/bin/skills/lakehouse-doc-en/references/pipe-kafka-bestpractice-1.md +431 -0
- package/bin/skills/lakehouse-doc-en/references/pipe-kafka-table-stream.md +182 -0
- package/bin/skills/lakehouse-doc-en/references/pipe-kafka.md +217 -0
- package/bin/skills/lakehouse-doc-en/references/pipe-overview.md +167 -0
- package/bin/skills/lakehouse-doc-en/references/pipe-storage-object.md +263 -0
- package/bin/skills/lakehouse-doc-en/references/pipe-summary.md +107 -0
- package/bin/skills/lakehouse-doc-en/references/pipe-syntax.md +183 -0
- package/bin/skills/lakehouse-doc-en/references/pipe.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/pow.md +26 -0
- package/bin/skills/lakehouse-doc-en/references/power_bi.md +117 -0
- package/bin/skills/lakehouse-doc-en/references/practice_data_analysis.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/practice_data_import_and_export.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/practice_python_task.md +203 -0
- package/bin/skills/lakehouse-doc-en/references/preparetion.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/pricing.md +314 -0
- package/bin/skills/lakehouse-doc-en/references/primary key.md +82 -0
- package/bin/skills/lakehouse-doc-en/references/primary-key.md +204 -0
- package/bin/skills/lakehouse-doc-en/references/privacy-policy.md +113 -0
- package/bin/skills/lakehouse-doc-en/references/private-link-general.md +66 -0
- package/bin/skills/lakehouse-doc-en/references/private_link.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/private_storage_overview.md +165 -0
- package/bin/skills/lakehouse-doc-en/references/product-trial-agreement.md +93 -0
- package/bin/skills/lakehouse-doc-en/references/product_concept.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/put-get.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/put_get_volume.md +3 -0
- package/bin/skills/lakehouse-doc-en/references/pyspark-to-zettapark-migration-f1.md +512 -0
- package/bin/skills/lakehouse-doc-en/references/python-igs.md +313 -0
- package/bin/skills/lakehouse-doc-en/references/python-sample-put-gharchive2oss.md +186 -0
- package/bin/skills/lakehouse-doc-en/references/python-sample-put-github-rt-events.md +348 -0
- package/bin/skills/lakehouse-doc-en/references/python-sdk-version-history.md +24 -0
- package/bin/skills/lakehouse-doc-en/references/python-sqlalchemy-version-history.md +23 -0
- package/bin/skills/lakehouse-doc-en/references/python-task-dev.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/python-task.md +28 -0
- package/bin/skills/lakehouse-doc-en/references/python_package_install_import_guide.md +53 -0
- package/bin/skills/lakehouse-doc-en/references/python_reference/bulkload-upload.md +143 -0
- package/bin/skills/lakehouse-doc-en/references/python_reference/connector.md +248 -0
- package/bin/skills/lakehouse-doc-en/references/python_reference/connector_advanced.md +258 -0
- package/bin/skills/lakehouse-doc-en/references/python_reference/connector_examples.md +241 -0
- package/bin/skills/lakehouse-doc-en/references/python_reference/python-sdk-summary.md +88 -0
- package/bin/skills/lakehouse-doc-en/references/python_reference/sqlalchemy.md +145 -0
- package/bin/skills/lakehouse-doc-en/references/python_sdk_guide.md +40 -0
- package/bin/skills/lakehouse-doc-en/references/python_shell_datasource.md +356 -0
- package/bin/skills/lakehouse-doc-en/references/query-json-sy.md +80 -0
- package/bin/skills/lakehouse-doc-en/references/query-snowflake-open-catalog-iceberg-table.md +114 -0
- package/bin/skills/lakehouse-doc-en/references/query-syntax.md +294 -0
- package/bin/skills/lakehouse-doc-en/references/quick_start_batch_sync_data.md +116 -0
- package/bin/skills/lakehouse-doc-en/references/quick_start_bi_analysis.md +588 -0
- package/bin/skills/lakehouse-doc-en/references/quick_start_create_workspace.md +58 -0
- package/bin/skills/lakehouse-doc-en/references/quick_start_data_quality.md +75 -0
- package/bin/skills/lakehouse-doc-en/references/quick_start_etl.md +131 -0
- package/bin/skills/lakehouse-doc-en/references/quick_start_monitoring_and_alerting.md +93 -0
- package/bin/skills/lakehouse-doc-en/references/quick_start_sql_query.md +93 -0
- package/bin/skills/lakehouse-doc-en/references/quick_start_upload_data.md +69 -0
- package/bin/skills/lakehouse-doc-en/references/quick_start_user_management.md +72 -0
- package/bin/skills/lakehouse-doc-en/references/quick_start_workspace.md +72 -0
- package/bin/skills/lakehouse-doc-en/references/quick_start_workspace_user.md +67 -0
- package/bin/skills/lakehouse-doc-en/references/quickstart-with-copy-command.md +79 -0
- package/bin/skills/lakehouse-doc-en/references/quickstart.md +144 -0
- package/bin/skills/lakehouse-doc-en/references/quickstart_bak.md +592 -0
- package/bin/skills/lakehouse-doc-en/references/quickstart_datashare_between_companies.md +247 -0
- package/bin/skills/lakehouse-doc-en/references/quickstart_envirment_for_team.md +269 -0
- package/bin/skills/lakehouse-doc-en/references/quickstart_local_csv.md +90 -0
- package/bin/skills/lakehouse-doc-en/references/rdd-to-zettapark-migration-weblog.md +512 -0
- package/bin/skills/lakehouse-doc-en/references/realtime-pipeline-selection-guide.md +348 -0
- package/bin/skills/lakehouse-doc-en/references/realtime-sales-dashboard-with-dynamic-table.md +317 -0
- package/bin/skills/lakehouse-doc-en/references/realtime_sync.md +30 -0
- package/bin/skills/lakehouse-doc-en/references/realtime_sync_and_analysis_practice.md +183 -0
- package/bin/skills/lakehouse-doc-en/references/realtimesync_m.md +189 -0
- package/bin/skills/lakehouse-doc-en/references/refactor-elt-practice.md +241 -0
- package/bin/skills/lakehouse-doc-en/references/refresh-dynamic-table.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/refresh-history.md +54 -0
- package/bin/skills/lakehouse-doc-en/references/refresh-materialized-view.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/regexp-function.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/regexp-statement.md +75 -0
- package/bin/skills/lakehouse-doc-en/references/register_account.md +77 -0
- package/bin/skills/lakehouse-doc-en/references/release-note-0414-1.1.md +56 -0
- package/bin/skills/lakehouse-doc-en/references/release-note-2026-05-19.md +64 -0
- package/bin/skills/lakehouse-doc-en/references/release-notes.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/releasenotes.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/releasenotesupdata.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/remove-volume.md +73 -0
- package/bin/skills/lakehouse-doc-en/references/restore-dynamic-table.md +118 -0
- package/bin/skills/lakehouse-doc-en/references/restore.md +118 -0
- package/bin/skills/lakehouse-doc-en/references/result_cache.md +102 -0
- package/bin/skills/lakehouse-doc-en/references/revoke-from-share.md +71 -0
- package/bin/skills/lakehouse-doc-en/references/revoke-privileges.md +108 -0
- package/bin/skills/lakehouse-doc-en/references/revoke-user-privileges.md +107 -0
- package/bin/skills/lakehouse-doc-en/references/right.md +74 -0
- package/bin/skills/lakehouse-doc-en/references/rlike.md +69 -0
- package/bin/skills/lakehouse-doc-en/references/role-privilege-manage.md +80 -0
- package/bin/skills/lakehouse-doc-en/references/role-privlilige-manage.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/roles.md +123 -0
- package/bin/skills/lakehouse-doc-en/references/rom_lakehouse_to_volume.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/row_level_permission.md +41 -0
- package/bin/skills/lakehouse-doc-en/references/rrf-fulltext-vector-hybrid-search-best-practices.md +233 -0
- package/bin/skills/lakehouse-doc-en/references/s3_volume_creation.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/sample-data-using.md +768 -0
- package/bin/skills/lakehouse-doc-en/references/scd2-product-dimension-with-merge-into.md +314 -0
- package/bin/skills/lakehouse-doc-en/references/scheduled_task.md +54 -0
- package/bin/skills/lakehouse-doc-en/references/search-functions.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/security-policy-overview.md +112 -0
- package/bin/skills/lakehouse-doc-en/references/security-system-inventory-based-information-schema.md +411 -0
- package/bin/skills/lakehouse-doc-en/references/security_compliance_audit_dir_guide.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/security_compliance_audit_guide.md +393 -0
- package/bin/skills/lakehouse-doc-en/references/security_overview.md +41 -0
- package/bin/skills/lakehouse-doc-en/references/select-catalog-table.md +48 -0
- package/bin/skills/lakehouse-doc-en/references/semantic-view-advanced.md +124 -0
- package/bin/skills/lakehouse-doc-en/references/semantic-view-agent-guide.md +474 -0
- package/bin/skills/lakehouse-doc-en/references/semantic-view-ai.md +184 -0
- package/bin/skills/lakehouse-doc-en/references/semantic-view-best-practices.md +163 -0
- package/bin/skills/lakehouse-doc-en/references/semantic-view-create.md +202 -0
- package/bin/skills/lakehouse-doc-en/references/semantic-view-manage.md +143 -0
- package/bin/skills/lakehouse-doc-en/references/semantic-view-overview.md +42 -0
- package/bin/skills/lakehouse-doc-en/references/semantic-view-query.md +194 -0
- package/bin/skills/lakehouse-doc-en/references/semantic_view.md +891 -0
- package/bin/skills/lakehouse-doc-en/references/server-data-for-ai.md +134 -0
- package/bin/skills/lakehouse-doc-en/references/service-aggrement.md +299 -0
- package/bin/skills/lakehouse-doc-en/references/set-command.md +200 -0
- package/bin/skills/lakehouse-doc-en/references/set-operations.md +199 -0
- package/bin/skills/lakehouse-doc-en/references/set-properties.md +119 -0
- package/bin/skills/lakehouse-doc-en/references/setup.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/setup_cz_cli.md +495 -0
- package/bin/skills/lakehouse-doc-en/references/share-ddl.md +53 -0
- package/bin/skills/lakehouse-doc-en/references/show-cached-status.md +29 -0
- package/bin/skills/lakehouse-doc-en/references/show-catalog-schema.md +43 -0
- package/bin/skills/lakehouse-doc-en/references/show-catalog-table.md +51 -0
- package/bin/skills/lakehouse-doc-en/references/show-catalog.md +43 -0
- package/bin/skills/lakehouse-doc-en/references/show-columns.md +78 -0
- package/bin/skills/lakehouse-doc-en/references/show-connections.md +42 -0
- package/bin/skills/lakehouse-doc-en/references/show-create-dynamic-table.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/show-create-external-table.md +105 -0
- package/bin/skills/lakehouse-doc-en/references/show-create-materialized-view.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/show-create-pipe.md +15 -0
- package/bin/skills/lakehouse-doc-en/references/show-create-table.md +93 -0
- package/bin/skills/lakehouse-doc-en/references/show-dynamic-table.md +60 -0
- package/bin/skills/lakehouse-doc-en/references/show-external-functions.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/show-external-schemas.md +108 -0
- package/bin/skills/lakehouse-doc-en/references/show-external-table.md +72 -0
- package/bin/skills/lakehouse-doc-en/references/show-finctions.md +21 -0
- package/bin/skills/lakehouse-doc-en/references/show-functions.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/show-grants-user.md +62 -0
- package/bin/skills/lakehouse-doc-en/references/show-grants.md +129 -0
- package/bin/skills/lakehouse-doc-en/references/show-jobs.md +87 -0
- package/bin/skills/lakehouse-doc-en/references/show-materialized-view.md +81 -0
- package/bin/skills/lakehouse-doc-en/references/show-network-policy.md +40 -0
- package/bin/skills/lakehouse-doc-en/references/show-pipes.md +29 -0
- package/bin/skills/lakehouse-doc-en/references/show-roles.md +122 -0
- package/bin/skills/lakehouse-doc-en/references/show-schemas.md +41 -0
- package/bin/skills/lakehouse-doc-en/references/show-shares.md +95 -0
- package/bin/skills/lakehouse-doc-en/references/show-storage-connections.md +41 -0
- package/bin/skills/lakehouse-doc-en/references/show-synonyms.md +23 -0
- package/bin/skills/lakehouse-doc-en/references/show-table-streams.md +42 -0
- package/bin/skills/lakehouse-doc-en/references/show-tables-history.md +81 -0
- package/bin/skills/lakehouse-doc-en/references/show-tables.md +76 -0
- package/bin/skills/lakehouse-doc-en/references/show-users.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/show-vclusters.md +59 -0
- package/bin/skills/lakehouse-doc-en/references/show-views.md +78 -0
- package/bin/skills/lakehouse-doc-en/references/show-volume.md +114 -0
- package/bin/skills/lakehouse-doc-en/references/show-workspaces.md +48 -0
- package/bin/skills/lakehouse-doc-en/references/show.md +105 -0
- package/bin/skills/lakehouse-doc-en/references/simpletosimple_bazhuayu_datagpt.md +150 -0
- package/bin/skills/lakehouse-doc-en/references/singdata_overview.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/slowly-changing-dimensions-with-streams-and-tasks.md +640 -0
- package/bin/skills/lakehouse-doc-en/references/small_file_optimization.md +120 -0
- package/bin/skills/lakehouse-doc-en/references/snowflake-dynamic-tables-to-lakehouse.md +268 -0
- package/bin/skills/lakehouse-doc-en/references/snowflake-snowpark-to-zettapark-migration.md +390 -0
- package/bin/skills/lakehouse-doc-en/references/spark-connector-summary.md +307 -0
- package/bin/skills/lakehouse-doc-en/references/spark-connector-use.md +225 -0
- package/bin/skills/lakehouse-doc-en/references/spark-connector.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/spark-lakehouse-iceberg-rest.md +180 -0
- package/bin/skills/lakehouse-doc-en/references/spark-migration-guide.md +158 -0
- package/bin/skills/lakehouse-doc-en/references/sql-commands.md +77 -0
- package/bin/skills/lakehouse-doc-en/references/sql-comments.md +31 -0
- package/bin/skills/lakehouse-doc-en/references/sql-function-guide.md +234 -0
- package/bin/skills/lakehouse-doc-en/references/sql-parmaters.md +430 -0
- package/bin/skills/lakehouse-doc-en/references/sql-qualify.md +286 -0
- package/bin/skills/lakehouse-doc-en/references/sql-query-overview.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/sql-reference.md +79 -0
- package/bin/skills/lakehouse-doc-en/references/sql_data_transfom_NestedDataTypes.md +452 -0
- package/bin/skills/lakehouse-doc-en/references/sql_data_transform.md +114 -0
- package/bin/skills/lakehouse-doc-en/references/sql_data_transform_basic.md +572 -0
- package/bin/skills/lakehouse-doc-en/references/sql_data_transform_cte.md +166 -0
- package/bin/skills/lakehouse-doc-en/references/sql_data_transform_tips.md +405 -0
- package/bin/skills/lakehouse-doc-en/references/sql_data_transform_windows.md +430 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/any_value.md +66 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/approx_count_distinct.md +41 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/approx_histogram.md +50 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/approx_percentile.md +56 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/approx_top_k.md +54 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/array_agg.md +50 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/avg.md +68 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/bit_and.md +60 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/bit_or.md +64 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/bit_xor.md +60 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/bitmap_agg.md +30 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/bitmap_union.md +41 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/bitmap_union_count.md +40 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/bool_and.md +66 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/bool_or.md +68 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/collect_list.md +58 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/collect_list_on_array.md +82 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/collect_set.md +85 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/collect_set_on_array.md +57 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/corr.md +103 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/count.md +96 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/count_distinct.md +96 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/count_if.md +57 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/covar_pop.md +89 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/covar_samp.md +113 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/first_value.md +122 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/group-array.md +90 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/groupArray.md +90 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/group_bitmap.md +56 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/group_bitmap_and.md +59 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/group_bitmap_and_state.md +71 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/group_bitmap_merge.md +56 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/group_bitmap_merge_state.md +28 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/group_bitmap_or.md +56 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/group_bitmap_or_state.md +54 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/group_bitmap_state.md +46 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/group_bitmap_xor.md +60 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/group_bitmap_xor_state.md +89 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/group_concat.md +74 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/json_array_agg.md +49 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/json_merge_agg.md +31 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/json_object_agg.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/last_value.md +100 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/map_agg.md +79 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/max.md +70 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/max_by.md +46 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/median.md +75 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/min.md +58 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/min_by.md +68 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/percentile.md +51 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/percentile_approx.md +71 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/percentile_rank.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/std.md +72 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/stddev.md +67 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/stddev_pop.md +67 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/stddev_samp.md +67 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/sum.md +67 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/topn.md +42 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/topn_array.md +42 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/var_pop.md +65 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/var_samp.md +65 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/variance.md +72 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/wm_concat.md +72 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/context_functions/current_instance_id.md +17 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/context_functions/current_schema.md +29 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/context_functions/current_session_id.md +30 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/context_functions/current_user.md +24 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/context_functions/current_user_id.md +22 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/context_functions/current_vcluster.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/context_functions/current_workspace.md +19 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/context_functions/current_workspace_id.md +25 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/binary_to_bitmap.md +25 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_and.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_and_cardinality.md +48 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_andnot.md +60 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_andnot_cardinality.md +58 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_build.md +53 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_cardinality.md +49 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_contains.md +45 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_count.md +45 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_empty.md +52 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_has_all.md +48 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_has_any.md +63 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_hash.md +52 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_hash64.md +62 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_max.md +25 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_min.md +28 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_or.md +58 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_or_cardinality.md +22 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_remove.md +42 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_subset_in_range.md +48 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_subset_limit.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_to_array.md +23 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_to_binary.md +23 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_to_rb32.md +62 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_to_rb64.md +62 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_to_string.md +41 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_transform.md +40 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_xor.md +53 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_xor_cardinality.md +29 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/rb32_to_bitmap.md +63 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/rb64_to_bitmap.md +63 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/string_to_bitmap.md +56 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/sub_bitmap.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/to_bitmap.md +78 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitwise_functions/bit_count.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitwise_functions/bitnot.md +30 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitwise_functions/shiftleft.md +85 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitwise_functions/shiftright.md +88 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitwise_functions/shiftrightunsigned.md +88 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/assert_true.md +74 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/between.md +51 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/case_when.md +87 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/coalesce.md +43 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/decode.md +45 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/if.md +53 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/ifnull.md +72 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/in.md +32 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/is-null.md +59 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/is_false.md +63 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/is_not_null.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/is_null.md +32 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/is_true.md +63 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/multiif.md +48 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/nullif.md +44 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/nvl.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/nvl2.md +41 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/raise_error.md +52 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/typeof.md +70 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/add_days.md +61 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/add_months.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/add_years.md +53 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/adddate.md +53 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/convert_timezone.md +45 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/current_date.md +49 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/current_timestamp.md +44 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/date.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/date_add.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/date_format.md +40 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/date_format_mysql.md +56 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/date_format_pg.md +54 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/date_sub.md +50 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/date_trunc.md +58 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/dateadd.md +59 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/datediff.md +48 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/datetime_patterns.md +60 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/day.md +47 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/dayofmonth.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/dayofweek.md +30 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/dayofweek_iso.md +45 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/dayofyear.md +40 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/days.md +25 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/days_diff.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/extract.md +47 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/from_unixtime.md +42 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/from_utc_timestamp.md +40 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/hour.md +46 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/hours.md +25 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/hours_diff.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/last_day.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/localtimestamp.md +17 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/makde_date.md +21 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/make_date.md +20 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/make_dt_interval.md +55 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/make_ym_interval.md +49 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/milliseconds_diff.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/minute.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/minutes_diff.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/month.md +42 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/months.md +25 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/months_between.md +50 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/months_diff.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/next_day.md +51 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/now.md +43 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/quarter.md +44 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/second.md +34 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/seconds_diff.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/str_to_date_mysql.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/sub_days.md +58 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/subdate.md +53 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/timestamp_micros.md +32 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/timestamp_millis.md +45 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/timestamp_seconds.md +54 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/timestampadd.md +59 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/timestampdiff.md +67 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/to_date.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/to_start_of_interval.md +28 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/to_timestamp.md +59 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/to_timestamp_ntz.md +46 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/to_unix_timestamp.md +49 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/to_unix_timestamp_ms.md +45 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/to_unix_timestamp_us.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/to_utc_timestamp.md +56 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/toyyyymmdd.md +62 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/trunc.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/unix_timestamp.md +86 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/week.md +29 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/weekday.md +48 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/weekofyear.md +26 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/weeks_diff.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/year.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/yearofweek.md +54 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/years.md +25 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/years_diff.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/file_functions/GET_PRESIGNED_URL.md +91 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/geo_functions/st_geohash.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/geo_functions/st_latfromgeohash.md +53 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/geo_functions/st_longfromgeohash.md +52 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/bucket.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/crc32.md +60 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/general_complexhash2.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/general_hash.md +47 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/general_murmurhash3.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/hash_combine.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/hash_combine_commutative.md +56 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/md5.md +69 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/murmurhash.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/murmurhash3_32.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/murmurhash3_64.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/sha1.md +67 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/sha2.md +106 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/sha224.md +59 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/sha256.md +59 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/sha384.md +59 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/sha512.md +59 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/sm3.md +60 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/array_aggregate.md +88 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/array_filter_doris.md +78 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/array_map_doris.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/array_sort_by_key.md +40 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/element_at.md +59 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/exists.md +60 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/filter.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/forall.md +62 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/high_order_functions.md +34 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/map_filter.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/map_zip_with.md +43 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/transform.md +43 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/transform_keys.md +42 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/transform_values.md +34 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/zip_with.md +45 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/ip_functions/get_ip_info.md +197 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/ip_functions/ipv4_num_to_string.md +27 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/ip_functions/ipv4_string_to_num.md +30 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/ip_functions/ipv6_num_to_string.md +31 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/ip_functions/ipv6_string_to_num.md +40 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/ip_functions/is_ip_address_in_range.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/from_json.md +82 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/get_json_object.md +77 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_array.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_array_get.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_contains.md +91 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_extract.md +59 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_extract_bigint.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_extract_boolean.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_extract_date.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_extract_double.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_extract_float.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_extract_int.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_extract_string.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_extract_timestamp.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_extract_timestamp_ntz.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_length.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_minify.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_normalize.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_object.md +47 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_parse.md +45 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_remove.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_type.md +56 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_unquote.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_valid.md +45 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/schema_of_json.md +63 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/to_json.md +62 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/try_from_json.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/abs.md +44 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/acos.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/acosh.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/asin.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/asinh.md +45 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/atan.md +25 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/atan2.md +40 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/atanh.md +22 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/bround.md +42 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/cbrt.md +56 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/ceil.md +45 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/ceiling.md +47 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/ceilling.md +41 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/cos.md +40 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/cosh.md +41 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/cot.md +49 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/csc.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/degrees.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/div.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/e.md +29 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/erf.md +74 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/exp.md +31 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/exp2.md +32 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/expm1.md +49 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/floor.md +42 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/greatest.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/hypot.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/isnan.md +28 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/least.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/lgamma.md +75 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/ln.md +52 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/log.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/log10.md +47 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/log1p.md +45 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/log2.md +28 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/median.md +21 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/mod.md +34 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/monotonically_increasing_id.md +79 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/negative.md +15 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/operators.md +600 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/pi.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/pmod.md +32 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/positive.md +15 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/pow.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/power.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/radians.md +25 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/rand.md +31 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/randn.md +25 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/random.md +54 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/round.md +42 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/shiftleft.md +78 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/shiftright.md +81 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/shiftrightunsigned.md +81 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/sign.md +44 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/sin.md +61 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/sinh.md +44 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/sqrt.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/tan.md +41 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/tanh.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/tgamma.md +75 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array.md +45 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_append.md +30 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_compact.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_contains.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_distinct.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_except.md +32 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_intersect.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_join.md +47 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_max.md +52 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_min.md +54 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_position.md +44 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_prepend.md +30 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_remove.md +30 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_repeat.md +50 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_size.md +31 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_sort.md +44 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_sort_reverse.md +30 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_union.md +32 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/arrays_overlap.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/arrays_zip.md +47 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/cardinality.md +43 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/concat.md +47 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/concat_ws.md +67 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/element_at.md +40 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/flatten.md +50 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/hasany_clickhouse.md +40 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/map.md +214 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/map_concat.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/map_concat_array.md +30 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/map_contains_key.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/map_entries.md +40 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/map_equal.md +32 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/map_except.md +34 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/map_from_arrays.md +40 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/map_from_entries.md +50 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/map_keys.md +34 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/map_values.md +41 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/multimap_from_entries.md +50 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/named_struct.md +51 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/sequence.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/size.md +30 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/slice.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/sort_array.md +34 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/struct.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/struct_insert.md +48 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/struct_update.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/trans_array.md +219 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/try_element_at.md +46 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/partition/max_pt.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/search_functions/match_all.md +52 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/search_functions/match_any.md +52 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/search_functions/match_phrase.md +50 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/search_functions/match_phrase_prefix.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/search_functions/match_regexp.md +28 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/search_functions/tokenize.md +56 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/aes_decrypt.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/aes_decrypt_mysql.md +30 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/aes_encrypt.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/aes_encrypt_mysql.md +47 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/ascii.md +34 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/base64.md +27 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/binary.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/btrim.md +38 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/char.md +51 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/char_length.md +46 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/character_length.md +46 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/chr.md +26 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/collation_sort_key.md +56 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/concat.md +69 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/concat_ws.md +67 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/contains.md +29 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/conv.md +48 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/endswith.md +68 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/find_in_set.md +49 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/format_string.md +47 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/gunzip.md +60 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/gzip.md +60 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/hex.md +43 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/ilike.md +89 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/instr.md +41 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/is_ascii.md +27 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/is_utf8.md +27 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/lcase.md +45 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/left.md +40 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/length.md +30 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/lengthb.md +42 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/like.md +106 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/locate.md +42 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/lower.md +54 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/lpad.md +42 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/ltrim.md +43 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/mask.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/mask_inner.md +74 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/mask_outer.md +74 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/md5.md +59 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/octet_length.md +47 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/parse_url.md +72 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/position.md +35 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/regexp-statement.md +81 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/regexp_count.md +112 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/regexp_extract.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/regexp_extract_all.md +41 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/regexp_instr.md +146 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/regexp_replace.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/regexp_split_to_array.md +34 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/repeat.md +44 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/replace.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/reverse.md +64 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/right.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/rlike.md +59 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/rpad.md +46 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/rtrim.md +42 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/sha1.md +59 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/space.md +30 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/split.md +57 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/split_by_regexp.md +34 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/split_by_string.md +33 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/split_part.md +42 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/startswith.md +68 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/str_to_map.md +46 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/strpos.md +80 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/substr.md +40 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/substring.md +47 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/substring_index.md +46 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/translate.md +42 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/trim.md +51 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/typeof.md +63 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/ucase.md +46 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/unbase64.md +50 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/unhex.md +46 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/upper.md +45 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/url_decode.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/url_encode.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/uuid.md +37 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/vector_functions/binary_quantize.md +52 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/vector_functions/cosine_distance.md +47 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/vector_functions/dot_product.md +48 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/vector_functions/fill_vector.md +53 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/vector_functions/hamming_distance.md +55 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/vector_functions/jaccard_distance.md +53 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/vector_functions/l2_distance.md +47 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/vector_functions/l2_norm.md +46 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/vector_functions/l2_normalize.md +48 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/vector_functions/print_vector_bits.md +52 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/vector_functions/vector.md +77 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/vector_functions/vector_add_scalar.md +53 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/explode.md +64 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/explode_json_array_double.md +29 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/explode_json_array_int.md +29 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/explode_json_array_json.md +28 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/explode_json_array_string.md +29 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/explode_json_object.md +29 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/explode_outer.md +78 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/inline.md +42 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/json_tuple.md +72 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/load_history.md +55 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/posexplode.md +79 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/posexplode_outer.md +78 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/read_kafka.md +65 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/stack.md +62 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/table_changes.md +136 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/unnest.md +105 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/unnset.md +101 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/avg.md +79 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/count.md +80 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/cume_dist.md +92 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/dense_rank.md +109 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/first.md +148 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/first_value.md +128 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/lag.md +59 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/last.md +158 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/last_value.md +154 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/lead.md +45 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/max.md +159 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/min.md +127 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/nth_value.md +108 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/ntile.md +53 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/percent_rank.md +53 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/rank.md +131 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/row_number.md +134 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/sum.md +99 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/window_clause.md +81 -0
- package/bin/skills/lakehouse-doc-en/references/sql_functions_guide.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/sql_practice.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/sql_rfm.md +197 -0
- package/bin/skills/lakehouse-doc-en/references/sqlalchemy.md +76 -0
- package/bin/skills/lakehouse-doc-en/references/ssb-benchmark.md +216 -0
- package/bin/skills/lakehouse-doc-en/references/sso-configuration.md +160 -0
- package/bin/skills/lakehouse-doc-en/references/storage_encryption.md +81 -0
- package/bin/skills/lakehouse-doc-en/references/streaming_data_pipeline_overview.md +46 -0
- package/bin/skills/lakehouse-doc-en/references/streaming_data_pipeline_overview1.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/streaming_pipeline_with_dynamic_table.md +93 -0
- package/bin/skills/lakehouse-doc-en/references/string_function.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/string_guide.md +42 -0
- package/bin/skills/lakehouse-doc-en/references/struct-function.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/structure_data_analysis.md +223 -0
- package/bin/skills/lakehouse-doc-en/references/studio-di-privatelink-vpc-from-rds.md +105 -0
- package/bin/skills/lakehouse-doc-en/references/studio-incremental-sync-practice.md +318 -0
- package/bin/skills/lakehouse-doc-en/references/studio-jdbc-task.md +238 -0
- package/bin/skills/lakehouse-doc-en/references/studio-python-task-connector.md +286 -0
- package/bin/skills/lakehouse-doc-en/references/studio-python-task-zettapark.md +368 -0
- package/bin/skills/lakehouse-doc-en/references/studio-shell-task.md +191 -0
- package/bin/skills/lakehouse-doc-en/references/studio-task-practice.md +20 -0
- package/bin/skills/lakehouse-doc-en/references/studio_manual.md +172 -0
- package/bin/skills/lakehouse-doc-en/references/studio_overview.md +59 -0
- package/bin/skills/lakehouse-doc-en/references/synonym.md +120 -0
- package/bin/skills/lakehouse-doc-en/references/table-design.md +270 -0
- package/bin/skills/lakehouse-doc-en/references/table-overview.md +68 -0
- package/bin/skills/lakehouse-doc-en/references/table-stream-title.md +71 -0
- package/bin/skills/lakehouse-doc-en/references/table-stream.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/table-summary.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/table_changes.md +127 -0
- package/bin/skills/lakehouse-doc-en/references/table_function.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/table_rendering.md +34 -0
- package/bin/skills/lakehouse-doc-en/references/table_stream.md +311 -0
- package/bin/skills/lakehouse-doc-en/references/tableau-connect-to-lakehouse.md +64 -0
- package/bin/skills/lakehouse-doc-en/references/tablesample.md +482 -0
- package/bin/skills/lakehouse-doc-en/references/tablestream_summary.md +515 -0
- package/bin/skills/lakehouse-doc-en/references/task-develop.md +277 -0
- package/bin/skills/lakehouse-doc-en/references/task-instance-maintenance.md +198 -0
- package/bin/skills/lakehouse-doc-en/references/task_development.md +54 -0
- package/bin/skills/lakehouse-doc-en/references/task_group.md +158 -0
- package/bin/skills/lakehouse-doc-en/references/task_instance.md +82 -0
- package/bin/skills/lakehouse-doc-en/references/task_instance_operations.md +206 -0
- package/bin/skills/lakehouse-doc-en/references/task_param.md +130 -0
- package/bin/skills/lakehouse-doc-en/references/task_param_examples.md +220 -0
- package/bin/skills/lakehouse-doc-en/references/task_param_reference.md +322 -0
- package/bin/skills/lakehouse-doc-en/references/task_scheduling.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/task_scheduling_dependency.md +70 -0
- package/bin/skills/lakehouse-doc-en/references/taskdevelop.md +268 -0
- package/bin/skills/lakehouse-doc-en/references/tencentcloud_arn_and_externalid.md +29 -0
- package/bin/skills/lakehouse-doc-en/references/tencentcloud_privatelink.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/time-function.md +67 -0
- package/bin/skills/lakehouse-doc-en/references/time-travel-concept.md +175 -0
- package/bin/skills/lakehouse-doc-en/references/time_date_guide.md +47 -0
- package/bin/skills/lakehouse-doc-en/references/time_travel_guide.md +73 -0
- package/bin/skills/lakehouse-doc-en/references/timetravel-summary.md +45 -0
- package/bin/skills/lakehouse-doc-en/references/tools_AI.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/tools_BI.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/tools_app.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/tpcds-3tb-benchmark.md +754 -0
- package/bin/skills/lakehouse-doc-en/references/tpcds-benchmark.md +756 -0
- package/bin/skills/lakehouse-doc-en/references/tpch-benchmark.md +884 -0
- package/bin/skills/lakehouse-doc-en/references/transform-dt.md +291 -0
- package/bin/skills/lakehouse-doc-en/references/trial-account-quotas-and-limits.md +85 -0
- package/bin/skills/lakehouse-doc-en/references/tutorial_DataGPT.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/tutorial_connect_to_lakehouse.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/tutorial_data_ingestion.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/tutorial_data_transformation.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/tutorial_migration.md +49 -0
- package/bin/skills/lakehouse-doc-en/references/tutorial_virtual_cluster.md +149 -0
- package/bin/skills/lakehouse-doc-en/references/tutorial_work_with_workspace.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/tutorial_zettapark.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/tutorials-streaming-data-pipeline-with_dynamic-table.md +123 -0
- package/bin/skills/lakehouse-doc-en/references/tutorials.md +168 -0
- package/bin/skills/lakehouse-doc-en/references/undrop-dynamic-table.md +74 -0
- package/bin/skills/lakehouse-doc-en/references/undrop-materialized-view.md +74 -0
- package/bin/skills/lakehouse-doc-en/references/undrop.md +36 -0
- package/bin/skills/lakehouse-doc-en/references/unified-workflow-demo.md +175 -0
- package/bin/skills/lakehouse-doc-en/references/unified-workflow-intro.md +31 -0
- package/bin/skills/lakehouse-doc-en/references/unified-workflow.md +2 -0
- package/bin/skills/lakehouse-doc-en/references/unifiedWorkflow.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/unloa-data-summary.md +17 -0
- package/bin/skills/lakehouse-doc-en/references/unload-data-local.md +71 -0
- package/bin/skills/lakehouse-doc-en/references/unload-data-summary.md +17 -0
- package/bin/skills/lakehouse-doc-en/references/unstructure_data_analysis.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/unstructured-io.md +795 -0
- package/bin/skills/lakehouse-doc-en/references/unstructured_etl_pipeline_notebook.md +11 -0
- package/bin/skills/lakehouse-doc-en/references/unstructured_etl_pipeline_user_guide.md +1099 -0
- package/bin/skills/lakehouse-doc-en/references/unstructured_etl_python_api.md +942 -0
- package/bin/skills/lakehouse-doc-en/references/upload-data-with-sdk.md +4 -0
- package/bin/skills/lakehouse-doc-en/references/upload-data.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/upload-json-jsonl.md +135 -0
- package/bin/skills/lakehouse-doc-en/references/upload_data.md +122 -0
- package/bin/skills/lakehouse-doc-en/references/use-copy-upload-data.md +88 -0
- package/bin/skills/lakehouse-doc-en/references/use-dbt-dev.md +428 -0
- package/bin/skills/lakehouse-doc-en/references/use-external-schema.md +34 -0
- package/bin/skills/lakehouse-doc-en/references/use-external-upload-hive-data.md +18 -0
- package/bin/skills/lakehouse-doc-en/references/use-java-sdk-realtime-uploaddata.md +163 -0
- package/bin/skills/lakehouse-doc-en/references/use-java-sdk-upload-data-local.md +140 -0
- package/bin/skills/lakehouse-doc-en/references/use-mysql-client.md +184 -0
- package/bin/skills/lakehouse-doc-en/references/use-python-sdk-upload-data.md +103 -0
- package/bin/skills/lakehouse-doc-en/references/use-schema.md +49 -0
- package/bin/skills/lakehouse-doc-en/references/use-sql-analyze.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/use-vcluster.md +58 -0
- package/bin/skills/lakehouse-doc-en/references/user-aggrement.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/user-external-function.md +56 -0
- package/bin/skills/lakehouse-doc-en/references/user-identification.md +58 -0
- package/bin/skills/lakehouse-doc-en/references/user_permission_grand_guide.md +322 -0
- package/bin/skills/lakehouse-doc-en/references/user_rights_management.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/using-google-authenticator.md +44 -0
- package/bin/skills/lakehouse-doc-en/references/using-udf-in-dynamic-table.md +162 -0
- package/bin/skills/lakehouse-doc-en/references/using_mcp_solute_data_pipeline_issue.md +342 -0
- package/bin/skills/lakehouse-doc-en/references/uuid.md +39 -0
- package/bin/skills/lakehouse-doc-en/references/validate_schema_evolution.md +169 -0
- package/bin/skills/lakehouse-doc-en/references/values.md +97 -0
- package/bin/skills/lakehouse-doc-en/references/vc-job.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/vc_cache.md +85 -0
- package/bin/skills/lakehouse-doc-en/references/vcluster_size_description.md +96 -0
- package/bin/skills/lakehouse-doc-en/references/vector-and-scalar-retrieval-in-same-table.md +84 -0
- package/bin/skills/lakehouse-doc-en/references/vector-functions.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/vector-search.md +140 -0
- package/bin/skills/lakehouse-doc-en/references/vector-type.md +201 -0
- package/bin/skills/lakehouse-doc-en/references/vector_data_process_guide.md +952 -0
- package/bin/skills/lakehouse-doc-en/references/vector_search_ai.md +423 -0
- package/bin/skills/lakehouse-doc-en/references/version-update.md +20 -0
- package/bin/skills/lakehouse-doc-en/references/virtual-cluster.md +213 -0
- package/bin/skills/lakehouse-doc-en/references/volume-introduction.md +163 -0
- package/bin/skills/lakehouse-doc-en/references/volume-list.md +50 -0
- package/bin/skills/lakehouse-doc-en/references/volume-overview.md +397 -0
- package/bin/skills/lakehouse-doc-en/references/volume_best_practices.md +1147 -0
- package/bin/skills/lakehouse-doc-en/references/volumeobject.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/web-job-history.md +178 -0
- package/bin/skills/lakehouse-doc-en/references/web_search.md +30 -0
- package/bin/skills/lakehouse-doc-en/references/what-is-clickzetta-lakehouse.md +55 -0
- package/bin/skills/lakehouse-doc-en/references/what_is_clickzetta_lakehouse.md +90 -0
- package/bin/skills/lakehouse-doc-en/references/window-frame.md +135 -0
- package/bin/skills/lakehouse-doc-en/references/window-function-summary.md +134 -0
- package/bin/skills/lakehouse-doc-en/references/windowframe.md +143 -0
- package/bin/skills/lakehouse-doc-en/references/working_with_Vclusters.md +175 -0
- package/bin/skills/lakehouse-doc-en/references/working_with_cache.md +96 -0
- package/bin/skills/lakehouse-doc-en/references/worksheet.md +15 -0
- package/bin/skills/lakehouse-doc-en/references/workspace-information_schema-views.md +203 -0
- package/bin/skills/lakehouse-doc-en/references/workspace-informationschema-summary.md +52 -0
- package/bin/skills/lakehouse-doc-en/references/workspace-introduction.md +43 -0
- package/bin/skills/lakehouse-doc-en/references/workspace-sql.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/workspace_information_schema.md +1 -0
- package/bin/skills/lakehouse-doc-en/references/zettapark-data-engineering-demo.md +348 -0
- package/bin/skills/lakehouse-doc-en/references/zettapark-dataframe-guide.md +342 -0
- package/bin/skills/lakehouse-doc-en/references/zettapark-dynamic-table-guide.md +204 -0
- package/bin/skills/lakehouse-doc-en/references/zettapark-etl-guide.md +257 -0
- package/bin/skills/lakehouse-doc-en/references/zettapark-feature-engineering.md +311 -0
- package/bin/skills/lakehouse-doc-en/references/zettapark-functions-guide.md +321 -0
- package/bin/skills/lakehouse-doc-en/references/zettapark-quick-start.md +123 -0
- package/bin/skills/lakehouse-doc-en/references/zettapark-stream-guide.md +205 -0
- package/bin/skills/lakehouse-doc-en/references/zettapark-volume-guide.md +291 -0
- package/package.json +1 -1
- package/bin/skills/clickzetta-access-control/LICENSE +0 -16
- package/bin/skills/clickzetta-access-control/SKILL.md +0 -243
- package/bin/skills/clickzetta-access-control/eval_cases.jsonl +0 -3
- package/bin/skills/clickzetta-access-control/references/dynamic-masking.md +0 -86
- package/bin/skills/clickzetta-access-control/references/grant-revoke.md +0 -103
- package/bin/skills/clickzetta-access-control/references/role-management.md +0 -66
- package/bin/skills/clickzetta-access-control/references/user-management.md +0 -61
- package/bin/skills/clickzetta-ai-function/eval_cases.jsonl +0 -4
- package/bin/skills/clickzetta-app-python-sdk/LICENSE +0 -16
- package/bin/skills/clickzetta-app-python-sdk/SKILL.md +0 -153
- package/bin/skills/clickzetta-app-python-sdk/eval_cases.jsonl +0 -12
- package/bin/skills/clickzetta-app-python-sdk/references/bulkload.md +0 -196
- package/bin/skills/clickzetta-app-python-sdk/references/connector.md +0 -143
- package/bin/skills/clickzetta-app-python-sdk/references/realtime.md +0 -122
- package/bin/skills/clickzetta-batch-sync-pipeline/eval_cases.jsonl +0 -5
- package/bin/skills/clickzetta-bi-connect/LICENSE +0 -16
- package/bin/skills/clickzetta-bi-connect/SKILL.md +0 -177
- package/bin/skills/clickzetta-bi-connect/eval_cases.jsonl +0 -5
- package/bin/skills/clickzetta-bi-connect/references/bi-tools.md +0 -170
- package/bin/skills/clickzetta-cdc-sync-pipeline/eval_cases.jsonl +0 -5
- package/bin/skills/clickzetta-data-ingest-pipeline/eval_cases.jsonl +0 -5
- package/bin/skills/clickzetta-data-retention/LICENSE +0 -16
- package/bin/skills/clickzetta-data-retention/SKILL.md +0 -160
- package/bin/skills/clickzetta-data-retention/eval_cases.jsonl +0 -5
- package/bin/skills/clickzetta-data-retention/references/lifecycle-reference.md +0 -175
- package/bin/skills/clickzetta-data-science/eval_cases.jsonl +0 -12
- package/bin/skills/clickzetta-data-sharing/LICENSE +0 -16
- package/bin/skills/clickzetta-data-sharing/SKILL.md +0 -160
- package/bin/skills/clickzetta-data-sharing/eval_cases.jsonl +0 -3
- package/bin/skills/clickzetta-data-sharing/references/share-ddl.md +0 -134
- package/bin/skills/clickzetta-dba-guide/LICENSE +0 -16
- package/bin/skills/clickzetta-dba-guide/SKILL.md +0 -542
- package/bin/skills/clickzetta-dba-guide/eval_cases.jsonl +0 -3
- package/bin/skills/clickzetta-dw-modeling/eval_cases.jsonl +0 -4
- package/bin/skills/clickzetta-dynamic-table/eval_cases.jsonl +0 -5
- package/bin/skills/clickzetta-external-catalog/LICENSE +0 -16
- package/bin/skills/clickzetta-external-catalog/SKILL.md +0 -123
- package/bin/skills/clickzetta-external-catalog/eval_cases.jsonl +0 -5
- package/bin/skills/clickzetta-external-catalog/references/external-catalog-ddl.md +0 -130
- package/bin/skills/clickzetta-external-function/eval_cases.jsonl +0 -4
- package/bin/skills/clickzetta-file-import-pipeline/eval_cases.jsonl +0 -5
- package/bin/skills/clickzetta-index-manager/LICENSE +0 -16
- package/bin/skills/clickzetta-index-manager/SKILL.md +0 -140
- package/bin/skills/clickzetta-index-manager/eval_cases.jsonl +0 -5
- package/bin/skills/clickzetta-index-manager/references/bloomfilter-index.md +0 -67
- package/bin/skills/clickzetta-index-manager/references/index-management.md +0 -73
- package/bin/skills/clickzetta-index-manager/references/inverted-index.md +0 -80
- package/bin/skills/clickzetta-index-manager/references/vector-index.md +0 -81
- package/bin/skills/clickzetta-java-sdk/LICENSE +0 -16
- package/bin/skills/clickzetta-java-sdk/SKILL.md +0 -187
- package/bin/skills/clickzetta-java-sdk/eval_cases.jsonl +0 -12
- package/bin/skills/clickzetta-java-sdk/references/bulkload.md +0 -163
- package/bin/skills/clickzetta-java-sdk/references/realtime.md +0 -212
- package/bin/skills/clickzetta-kafka-ingest-pipeline/eval_cases.jsonl +0 -5
- package/bin/skills/clickzetta-lakehouse-connect/LICENSE +0 -16
- package/bin/skills/clickzetta-lakehouse-connect/SKILL.md +0 -218
- package/bin/skills/clickzetta-lakehouse-connect/eval_cases.jsonl +0 -3
- package/bin/skills/clickzetta-lakehouse-connect/evals/evals.json +0 -35
- package/bin/skills/clickzetta-lakehouse-connect/references/config-file.md +0 -435
- package/bin/skills/clickzetta-lakehouse-connect/references/jdbc.md +0 -478
- package/bin/skills/clickzetta-lakehouse-connect/references/python-sdk.md +0 -225
- package/bin/skills/clickzetta-lakehouse-connect/references/sqlalchemy.md +0 -468
- package/bin/skills/clickzetta-lakehouse-connect/references/zettapark-session.md +0 -445
- package/bin/skills/clickzetta-manage-comments/LICENSE +0 -16
- package/bin/skills/clickzetta-manage-comments/SKILL.md +0 -219
- package/bin/skills/clickzetta-manage-comments/eval_cases.jsonl +0 -3
- package/bin/skills/clickzetta-metadata/LICENSE +0 -16
- package/bin/skills/clickzetta-metadata/SKILL.md +0 -502
- package/bin/skills/clickzetta-metadata/eval_cases.jsonl +0 -5
- package/bin/skills/clickzetta-metadata/references/instance-views-reference.md +0 -276
- package/bin/skills/clickzetta-metadata/references/metering-views-reference.md +0 -137
- package/bin/skills/clickzetta-metadata/references/show-desc-reference.md +0 -326
- package/bin/skills/clickzetta-metadata/references/views-reference.md +0 -271
- package/bin/skills/clickzetta-monitoring/LICENSE +0 -16
- package/bin/skills/clickzetta-monitoring/SKILL.md +0 -215
- package/bin/skills/clickzetta-monitoring/eval_cases.jsonl +0 -5
- package/bin/skills/clickzetta-monitoring/references/job-history-analysis.md +0 -97
- package/bin/skills/clickzetta-monitoring/references/show-jobs.md +0 -48
- package/bin/skills/clickzetta-oss-ingest-pipeline/eval_cases.jsonl +0 -5
- package/bin/skills/clickzetta-overview/eval_cases.jsonl +0 -5
- package/bin/skills/clickzetta-query-optimizer/LICENSE +0 -16
- package/bin/skills/clickzetta-query-optimizer/SKILL.md +0 -156
- package/bin/skills/clickzetta-query-optimizer/eval_cases.jsonl +0 -5
- package/bin/skills/clickzetta-query-optimizer/references/explain.md +0 -56
- package/bin/skills/clickzetta-query-optimizer/references/hints-and-sortkey.md +0 -78
- package/bin/skills/clickzetta-query-optimizer/references/optimize.md +0 -65
- package/bin/skills/clickzetta-query-optimizer/references/result-cache.md +0 -49
- package/bin/skills/clickzetta-query-optimizer/references/show-jobs.md +0 -42
- package/bin/skills/clickzetta-realtime-sync-pipeline/eval_cases.jsonl +0 -5
- package/bin/skills/clickzetta-semantic-view/eval_cases.jsonl +0 -12
- package/bin/skills/clickzetta-spark-flink-connector/eval_cases.jsonl +0 -5
- package/bin/skills/clickzetta-sql-migration/eval_cases.jsonl +0 -10
- package/bin/skills/clickzetta-sql-pipeline-manager/eval_cases.jsonl +0 -12
- package/bin/skills/clickzetta-sql-pipeline-manager/evals/evals.json +0 -166
- package/bin/skills/clickzetta-table-lineage/eval_cases.jsonl +0 -1
- package/bin/skills/clickzetta-table-stream-pipeline/eval_cases.jsonl +0 -5
- package/bin/skills/clickzetta-vcluster-manager/LICENSE +0 -16
- package/bin/skills/clickzetta-vcluster-manager/SKILL.md +0 -212
- package/bin/skills/clickzetta-vcluster-manager/eval_cases.jsonl +0 -5
- package/bin/skills/clickzetta-vcluster-manager/references/vc-cache.md +0 -54
- package/bin/skills/clickzetta-vcluster-manager/references/vcluster-ddl.md +0 -150
- package/bin/skills/clickzetta-volume-manager/eval_cases.jsonl +0 -5
- package/bin/skills/clickzetta-zettapark/eval_cases.jsonl +0 -12
|
@@ -0,0 +1,1258 @@
|
|
|
1
|
+
# GROUP BY
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
The `GROUP BY` clause is a core component in SQL queries used for data grouping and aggregation analysis. With `GROUP BY`, you can group a dataset by specified columns or expressions and apply aggregate functions (such as `SUM()`, `COUNT()`, `AVG()`, `MAX()`, `MIN()`, etc.) to each group to compute summary values.
|
|
6
|
+
|
|
7
|
+
Singdata Lakehouse fully supports standard SQL GROUP BY syntax and provides advanced aggregation capabilities:
|
|
8
|
+
|
|
9
|
+
| Feature | Description | Use Case |
|
|
10
|
+
| ----------------- | ---------------------------------------- | --------------------------------------- |
|
|
11
|
+
| **Standard GROUP BY** | Basic grouping and aggregation | Daily statistics, basic reports |
|
|
12
|
+
| **GROUPING SETS** | Custom multiple grouping sets | Multi-dimensional business analysis |
|
|
13
|
+
| **ROLLUP** | Hierarchical rollup (from detail to total) | Financial reports, sales hierarchy analysis |
|
|
14
|
+
| **CUBE** | Full dimensional cross analysis | BI multi-dimensional data pivot, cross analysis |
|
|
15
|
+
|
|
16
|
+
***
|
|
17
|
+
|
|
18
|
+
## Syntax Structure
|
|
19
|
+
|
|
20
|
+
```sql
|
|
21
|
+
SELECT
|
|
22
|
+
column1,
|
|
23
|
+
column2,
|
|
24
|
+
aggregate_function(column3) AS alias
|
|
25
|
+
FROM table_name
|
|
26
|
+
WHERE condition
|
|
27
|
+
GROUP BY
|
|
28
|
+
[ group_expression [, group_expression, ...] |
|
|
29
|
+
GROUPING SETS (grouping_set [, grouping_set, ...]) |
|
|
30
|
+
ROLLUP(expression [, expression, ...]) |
|
|
31
|
+
CUBE(expression [, expression, ...]) ]
|
|
32
|
+
HAVING aggregate_condition
|
|
33
|
+
ORDER BY column
|
|
34
|
+
LIMIT n;
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Key Points
|
|
38
|
+
|
|
39
|
+
1. **SELECT clause constraint**: Non-aggregate columns in the SELECT list must appear in the GROUP BY clause
|
|
40
|
+
2. **Execution order**: FROM → WHERE → GROUP BY → HAVING → SELECT → ORDER BY → LIMIT
|
|
41
|
+
3. **HAVING filter**: Used to filter aggregation results, while WHERE filters original rows
|
|
42
|
+
4. **NULL value handling**: NULL is treated as a separate group
|
|
43
|
+
|
|
44
|
+
***
|
|
45
|
+
|
|
46
|
+
## Prepare Test Data
|
|
47
|
+
|
|
48
|
+
This document uses car dealership sales data as an example. Create the test view:
|
|
49
|
+
|
|
50
|
+
```sql
|
|
51
|
+
CREATE OR REPLACE VIEW dealer (id, city, car_model, quantity) AS
|
|
52
|
+
VALUES
|
|
53
|
+
(100, 'Fremont', 'Honda Civic', 10),
|
|
54
|
+
(100, 'Fremont', 'Honda Accord', 15),
|
|
55
|
+
(100, 'Fremont', 'Honda CRV', 7),
|
|
56
|
+
(200, 'Dublin', 'Honda Civic', 20),
|
|
57
|
+
(200, 'Dublin', 'Honda Accord', 10),
|
|
58
|
+
(200, 'Dublin', 'Honda CRV', 3),
|
|
59
|
+
(300, 'San Jose', 'Honda Civic', 5),
|
|
60
|
+
(300, 'San Jose', 'Honda Accord', 8);
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
View the original data:
|
|
64
|
+
|
|
65
|
+
```sql
|
|
66
|
+
SELECT * FROM dealer ORDER BY id, car_model LIMIT 50;
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
**Query result**:
|
|
70
|
+
|
|
71
|
+
| id | city | car\_model | quantity |
|
|
72
|
+
| --- | -------- | ------------ | -------- |
|
|
73
|
+
| 100 | Fremont | Honda Accord | 15 |
|
|
74
|
+
| 100 | Fremont | Honda CRV | 7 |
|
|
75
|
+
| 100 | Fremont | Honda Civic | 10 |
|
|
76
|
+
| 200 | Dublin | Honda Accord | 10 |
|
|
77
|
+
| 200 | Dublin | Honda CRV | 3 |
|
|
78
|
+
| 200 | Dublin | Honda Civic | 20 |
|
|
79
|
+
| 300 | San Jose | Honda Accord | 8 |
|
|
80
|
+
| 300 | San Jose | Honda Civic | 5 |
|
|
81
|
+
|
|
82
|
+
***
|
|
83
|
+
|
|
84
|
+
## 1. Standard GROUP BY
|
|
85
|
+
|
|
86
|
+
### 1.1 Single-Column Grouping
|
|
87
|
+
|
|
88
|
+
Group by dealer ID and calculate the total quantity for each dealer:
|
|
89
|
+
|
|
90
|
+
```sql
|
|
91
|
+
SELECT
|
|
92
|
+
id,
|
|
93
|
+
SUM(quantity) AS total_quantity
|
|
94
|
+
FROM dealer
|
|
95
|
+
GROUP BY id
|
|
96
|
+
ORDER BY id
|
|
97
|
+
LIMIT 50;
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
**Query result**:
|
|
101
|
+
|
|
102
|
+
| id | total\_quantity |
|
|
103
|
+
| --- | --------------- |
|
|
104
|
+
| 100 | 32 |
|
|
105
|
+
| 200 | 33 |
|
|
106
|
+
| 300 | 13 |
|
|
107
|
+
|
|
108
|
+
**Business interpretation**:
|
|
109
|
+
|
|
110
|
+
* Dealer 100 (Fremont) sold 32 cars
|
|
111
|
+
* Dealer 200 (Dublin) sold 33 cars
|
|
112
|
+
* Dealer 300 (San Jose) sold 13 cars
|
|
113
|
+
|
|
114
|
+
***
|
|
115
|
+
|
|
116
|
+
### 1.2 Multi-Column Grouping
|
|
117
|
+
|
|
118
|
+
Group by the combination of city and car model:
|
|
119
|
+
|
|
120
|
+
```sql
|
|
121
|
+
SELECT
|
|
122
|
+
id,
|
|
123
|
+
city,
|
|
124
|
+
SUM(quantity) AS total_quantity
|
|
125
|
+
FROM dealer
|
|
126
|
+
GROUP BY id, city
|
|
127
|
+
ORDER BY total_quantity DESC
|
|
128
|
+
LIMIT 50;
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
**Query result**:
|
|
132
|
+
|
|
133
|
+
| id | city | total\_quantity |
|
|
134
|
+
| --- | -------- | --------------- |
|
|
135
|
+
| 200 | Dublin | 33 |
|
|
136
|
+
| 100 | Fremont | 32 |
|
|
137
|
+
| 300 | San Jose | 13 |
|
|
138
|
+
|
|
139
|
+
In this example, each dealer ID corresponds to a unique city, so the result is the same as single-column grouping.
|
|
140
|
+
|
|
141
|
+
***
|
|
142
|
+
|
|
143
|
+
### 1.3 Grouping with Expressions
|
|
144
|
+
|
|
145
|
+
Use a `CASE` expression to segment sales volumes:
|
|
146
|
+
|
|
147
|
+
```sql
|
|
148
|
+
SELECT
|
|
149
|
+
CASE
|
|
150
|
+
WHEN quantity < 10 THEN 'Low (< 10)'
|
|
151
|
+
WHEN quantity < 15 THEN 'Medium (10-14)'
|
|
152
|
+
ELSE 'High (>= 15)'
|
|
153
|
+
END AS sales_level,
|
|
154
|
+
COUNT(*) AS record_count,
|
|
155
|
+
SUM(quantity) AS total_quantity
|
|
156
|
+
FROM dealer
|
|
157
|
+
GROUP BY
|
|
158
|
+
CASE
|
|
159
|
+
WHEN quantity < 10 THEN 'Low (< 10)'
|
|
160
|
+
WHEN quantity < 15 THEN 'Medium (10-14)'
|
|
161
|
+
ELSE 'High (>= 15)'
|
|
162
|
+
END
|
|
163
|
+
ORDER BY sales_level
|
|
164
|
+
LIMIT 50;
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
**Query result**:
|
|
168
|
+
|
|
169
|
+
| sales\_level | record\_count | total\_quantity |
|
|
170
|
+
| -------------- | ------------- | --------------- |
|
|
171
|
+
| High (>= 15) | 2 | 35 |
|
|
172
|
+
| Low (< 10) | 4 | 23 |
|
|
173
|
+
| Medium (10-14) | 2 | 20 |
|
|
174
|
+
|
|
175
|
+
**Business interpretation**:
|
|
176
|
+
|
|
177
|
+
* High-volume records (>= 15 cars): 2 records, 35 cars total
|
|
178
|
+
* Low-volume records (< 10 cars): 4 records, 23 cars total
|
|
179
|
+
* Medium-volume records (10-14 cars): 2 records, 20 cars total
|
|
180
|
+
|
|
181
|
+
***
|
|
182
|
+
|
|
183
|
+
### 1.4 Global Aggregation (No Grouping)
|
|
184
|
+
|
|
185
|
+
When GROUP BY is not used, a global aggregation is performed on the entire table:
|
|
186
|
+
|
|
187
|
+
```sql
|
|
188
|
+
SELECT SUM(quantity) AS total_quantity
|
|
189
|
+
FROM dealer
|
|
190
|
+
LIMIT 50;
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
**Query result**:
|
|
194
|
+
|
|
195
|
+
| total\_quantity |
|
|
196
|
+
| --------------- |
|
|
197
|
+
| 78 |
|
|
198
|
+
|
|
199
|
+
The total quantity across all 8 records is 78 cars.
|
|
200
|
+
|
|
201
|
+
***
|
|
202
|
+
|
|
203
|
+
## 2. Combining Multiple Aggregate Functions
|
|
204
|
+
|
|
205
|
+
### 2.1 Common Aggregate Functions Summary
|
|
206
|
+
|
|
207
|
+
Use multiple aggregate functions in a single query:
|
|
208
|
+
|
|
209
|
+
```sql
|
|
210
|
+
SELECT
|
|
211
|
+
city,
|
|
212
|
+
COUNT(*) AS model_count,
|
|
213
|
+
SUM(quantity) AS total_quantity,
|
|
214
|
+
AVG(quantity) AS avg_quantity,
|
|
215
|
+
MAX(quantity) AS max_quantity,
|
|
216
|
+
MIN(quantity) AS min_quantity
|
|
217
|
+
FROM dealer
|
|
218
|
+
GROUP BY city
|
|
219
|
+
ORDER BY total_quantity DESC
|
|
220
|
+
LIMIT 50;
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
**Query result**:
|
|
224
|
+
|
|
225
|
+
| city | model\_count | total\_quantity | avg\_quantity | max\_quantity | min\_quantity |
|
|
226
|
+
| -------- | ------------ | --------------- | ------------------ | ------------- | ------------- |
|
|
227
|
+
| Dublin | 3 | 33 | 11.0 | 20 | 3 |
|
|
228
|
+
| Fremont | 3 | 32 | 10.666666666666666 | 15 | 7 |
|
|
229
|
+
| San Jose | 2 | 13 | 6.5 | 8 | 5 |
|
|
230
|
+
|
|
231
|
+
**Business insights**:
|
|
232
|
+
|
|
233
|
+
* **Dublin**: 3 car models, average 11 cars per model, highest single item 20 (Honda Civic)
|
|
234
|
+
* **Fremont**: 3 car models, average 10.67 cars, relatively balanced distribution
|
|
235
|
+
* **San Jose**: Only 2 car models, average 6.5 cars, the smallest market
|
|
236
|
+
|
|
237
|
+
***
|
|
238
|
+
|
|
239
|
+
### 2.2 Statistics by Car Model Covering Number of Cities
|
|
240
|
+
|
|
241
|
+
Count how many cities each car model is sold in:
|
|
242
|
+
|
|
243
|
+
```sql
|
|
244
|
+
SELECT
|
|
245
|
+
car_model,
|
|
246
|
+
SUM(quantity) AS total_sales,
|
|
247
|
+
COUNT(DISTINCT city) AS city_count,
|
|
248
|
+
ROUND(AVG(quantity), 2) AS avg_per_dealer
|
|
249
|
+
FROM dealer
|
|
250
|
+
GROUP BY car_model
|
|
251
|
+
ORDER BY total_sales DESC
|
|
252
|
+
LIMIT 50;
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
**Query result**:
|
|
256
|
+
|
|
257
|
+
| car\_model | total\_sales | city\_count | avg\_per\_dealer |
|
|
258
|
+
| ------------ | ------------ | ----------- | ---------------- |
|
|
259
|
+
| Honda Civic | 35 | 3 | 11.67 |
|
|
260
|
+
| Honda Accord | 33 | 3 | 11.00 |
|
|
261
|
+
| Honda CRV | 10 | 2 | 5.00 |
|
|
262
|
+
|
|
263
|
+
**Business insights**:
|
|
264
|
+
|
|
265
|
+
* **Honda Civic**: Best-selling model, total sales 35 cars, covering 3 cities, average 11.67 per location
|
|
266
|
+
* **Honda Accord**: Total sales 33 cars, covering 3 cities
|
|
267
|
+
* **Honda CRV**: Lowest total sales, sold in only 2 cities (not present in San Jose market)
|
|
268
|
+
|
|
269
|
+
***
|
|
270
|
+
|
|
271
|
+
## 3. GROUPING SETS (Custom Grouping Sets)
|
|
272
|
+
|
|
273
|
+
### 3.1 Basic Concepts
|
|
274
|
+
|
|
275
|
+
`GROUPING SETS` allows generating multiple grouping results at different dimensions in a single query. It is essentially a shorthand for combining multiple `GROUP BY` queries via `UNION ALL`.
|
|
276
|
+
|
|
277
|
+
**Syntax**:
|
|
278
|
+
|
|
279
|
+
```sql
|
|
280
|
+
GROUP BY GROUPING SETS (
|
|
281
|
+
(column1, column2), -- Grouping set 1: group by column1 and column2
|
|
282
|
+
(column1), -- Grouping set 2: group by column1 only
|
|
283
|
+
() -- Grouping set 3: global aggregation (no grouping)
|
|
284
|
+
)
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
***
|
|
288
|
+
|
|
289
|
+
### 3.2 Multi-Dimensional Aggregation Analysis
|
|
290
|
+
|
|
291
|
+
Generate four-dimensional statistical results in a single query:
|
|
292
|
+
|
|
293
|
+
```sql
|
|
294
|
+
SELECT
|
|
295
|
+
city,
|
|
296
|
+
car_model,
|
|
297
|
+
SUM(quantity) AS total_quantity
|
|
298
|
+
FROM dealer
|
|
299
|
+
GROUP BY GROUPING SETS (
|
|
300
|
+
(city, car_model), -- City + model detail
|
|
301
|
+
(city), -- City subtotal
|
|
302
|
+
(car_model), -- Model subtotal
|
|
303
|
+
() -- Grand total
|
|
304
|
+
)
|
|
305
|
+
ORDER BY city, car_model
|
|
306
|
+
LIMIT 50;
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
**Query result**:
|
|
310
|
+
|
|
311
|
+
| city | car\_model | total\_quantity |
|
|
312
|
+
| -------- | ------------ | --------------- |
|
|
313
|
+
| NULL | NULL | 78 |
|
|
314
|
+
| NULL | Honda Accord | 33 |
|
|
315
|
+
| NULL | Honda CRV | 10 |
|
|
316
|
+
| NULL | Honda Civic | 35 |
|
|
317
|
+
| Dublin | NULL | 33 |
|
|
318
|
+
| Dublin | Honda Accord | 10 |
|
|
319
|
+
| Dublin | Honda CRV | 3 |
|
|
320
|
+
| Dublin | Honda Civic | 20 |
|
|
321
|
+
| Fremont | NULL | 32 |
|
|
322
|
+
| Fremont | Honda Accord | 15 |
|
|
323
|
+
| Fremont | Honda CRV | 7 |
|
|
324
|
+
| Fremont | Honda Civic | 10 |
|
|
325
|
+
| San Jose | NULL | 13 |
|
|
326
|
+
| San Jose | Honda Accord | 8 |
|
|
327
|
+
| San Jose | Honda Civic | 5 |
|
|
328
|
+
|
|
329
|
+
**Result interpretation**:
|
|
330
|
+
|
|
331
|
+
* **Grand total row** (city=NULL, car\_model=NULL): Total sales 78 cars
|
|
332
|
+
* **Model subtotal rows** (city=NULL, car\_model has value): Cross-city totals for each car model
|
|
333
|
+
* **City subtotal rows** (city has value, car\_model=NULL): Cross-model totals for each city
|
|
334
|
+
* **Detail rows** (both city and car\_model have values): Specific city + model combination sales
|
|
335
|
+
|
|
336
|
+
**Equivalent query**:
|
|
337
|
+
|
|
338
|
+
```sql
|
|
339
|
+
-- GROUPING SETS is equivalent to the following UNION ALL query
|
|
340
|
+
SELECT city, car_model, SUM(quantity) FROM dealer GROUP BY city, car_model
|
|
341
|
+
UNION ALL
|
|
342
|
+
SELECT city, NULL, SUM(quantity) FROM dealer GROUP BY city
|
|
343
|
+
UNION ALL
|
|
344
|
+
SELECT NULL, car_model, SUM(quantity) FROM dealer GROUP BY car_model
|
|
345
|
+
UNION ALL
|
|
346
|
+
SELECT NULL, NULL, SUM(quantity) FROM dealer;
|
|
347
|
+
```
|
|
348
|
+
|
|
349
|
+
**Performance advantage**: `GROUPING SETS` only scans the data once internally, making it more efficient than `UNION ALL`.
|
|
350
|
+
|
|
351
|
+
***
|
|
352
|
+
|
|
353
|
+
### 3.3 Identifying Aggregation Levels
|
|
354
|
+
|
|
355
|
+
Use the `COALESCE` function to replace NULL values, making aggregation rows more readable:
|
|
356
|
+
|
|
357
|
+
```sql
|
|
358
|
+
SELECT
|
|
359
|
+
COALESCE(city, 'All Cities') AS city,
|
|
360
|
+
COALESCE(car_model, 'All Models') AS car_model,
|
|
361
|
+
SUM(quantity) AS total_quantity
|
|
362
|
+
FROM dealer
|
|
363
|
+
GROUP BY ROLLUP(city, car_model)
|
|
364
|
+
ORDER BY city, car_model
|
|
365
|
+
LIMIT 50;
|
|
366
|
+
```
|
|
367
|
+
|
|
368
|
+
**Query result**:
|
|
369
|
+
|
|
370
|
+
| city | car\_model | total\_quantity |
|
|
371
|
+
| ---------- | ------------ | --------------- |
|
|
372
|
+
| All Cities | All Models | 78 |
|
|
373
|
+
| Dublin | All Models | 33 |
|
|
374
|
+
| Dublin | Honda Accord | 10 |
|
|
375
|
+
| Dublin | Honda CRV | 3 |
|
|
376
|
+
| Dublin | Honda Civic | 20 |
|
|
377
|
+
| Fremont | All Models | 32 |
|
|
378
|
+
| Fremont | Honda Accord | 15 |
|
|
379
|
+
| Fremont | Honda CRV | 7 |
|
|
380
|
+
| Fremont | Honda Civic | 10 |
|
|
381
|
+
| San Jose | All Models | 13 |
|
|
382
|
+
| San Jose | Honda Accord | 8 |
|
|
383
|
+
| San Jose | Honda Civic | 5 |
|
|
384
|
+
|
|
385
|
+
***
|
|
386
|
+
|
|
387
|
+
## 4. ROLLUP (Hierarchical Rollup)
|
|
388
|
+
|
|
389
|
+
### 4.1 Basic Concepts
|
|
390
|
+
|
|
391
|
+
`ROLLUP` generates hierarchical rollups from fine granularity to global. For `ROLLUP(a, b, c)`, the following grouping sets are generated:
|
|
392
|
+
|
|
393
|
+
* `(a, b, c)` - Finest granularity
|
|
394
|
+
* `(a, b)` - Intermediate level
|
|
395
|
+
* `(a)` - Higher level
|
|
396
|
+
* `()` - Global aggregation
|
|
397
|
+
|
|
398
|
+
**Equivalence relationship**:
|
|
399
|
+
|
|
400
|
+
```sql
|
|
401
|
+
ROLLUP(city, car_model)
|
|
402
|
+
-- Is equivalent to
|
|
403
|
+
GROUPING SETS (
|
|
404
|
+
(city, car_model),
|
|
405
|
+
(city),
|
|
406
|
+
()
|
|
407
|
+
)
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
***
|
|
411
|
+
|
|
412
|
+
### 4.2 Sales Hierarchy Rollup
|
|
413
|
+
|
|
414
|
+
Generate "city → car model" two-level rollup:
|
|
415
|
+
|
|
416
|
+
```sql
|
|
417
|
+
SELECT
|
|
418
|
+
city,
|
|
419
|
+
car_model,
|
|
420
|
+
SUM(quantity) AS total_quantity
|
|
421
|
+
FROM dealer
|
|
422
|
+
GROUP BY ROLLUP(city, car_model)
|
|
423
|
+
LIMIT 50;
|
|
424
|
+
```
|
|
425
|
+
|
|
426
|
+
**Query result**:
|
|
427
|
+
|
|
428
|
+
| city | car\_model | total\_quantity |
|
|
429
|
+
| -------- | ------------ | --------------- |
|
|
430
|
+
| Fremont | Honda Civic | 10 |
|
|
431
|
+
| Fremont | Honda Accord | 15 |
|
|
432
|
+
| Fremont | Honda CRV | 7 |
|
|
433
|
+
| Dublin | Honda Civic | 20 |
|
|
434
|
+
| Dublin | Honda Accord | 10 |
|
|
435
|
+
| Dublin | Honda CRV | 3 |
|
|
436
|
+
| San Jose | Honda Civic | 5 |
|
|
437
|
+
| San Jose | Honda Accord | 8 |
|
|
438
|
+
| Fremont | NULL | 32 |
|
|
439
|
+
| Dublin | NULL | 33 |
|
|
440
|
+
| San Jose | NULL | 13 |
|
|
441
|
+
| NULL | NULL | 78 |
|
|
442
|
+
|
|
443
|
+
**Data hierarchy**:
|
|
444
|
+
|
|
445
|
+
1. **Detail layer** (first 8 rows): Sales of each car model in each city
|
|
446
|
+
2. **City subtotals** (car\_model=NULL): Total sales for each city
|
|
447
|
+
3. **Grand total** (city=NULL, car\_model=NULL): Total sales across all cities
|
|
448
|
+
|
|
449
|
+
***
|
|
450
|
+
|
|
451
|
+
### 4.3 Using the GROUPING() Function to Identify Levels
|
|
452
|
+
|
|
453
|
+
The `GROUPING()` function returns 0 or 1, used to distinguish real NULLs from aggregation markers:
|
|
454
|
+
|
|
455
|
+
* **Returns 0**: The column participates in grouping, the value is actual data
|
|
456
|
+
* **Returns 1**: The column does not participate in grouping, NULL indicates aggregation
|
|
457
|
+
|
|
458
|
+
```sql
|
|
459
|
+
SELECT
|
|
460
|
+
city,
|
|
461
|
+
car_model,
|
|
462
|
+
SUM(quantity) AS total_quantity,
|
|
463
|
+
GROUPING(city) AS city_grouping,
|
|
464
|
+
GROUPING(car_model) AS model_grouping
|
|
465
|
+
FROM dealer
|
|
466
|
+
GROUP BY ROLLUP(city, car_model)
|
|
467
|
+
ORDER BY city_grouping, city, model_grouping, car_model
|
|
468
|
+
LIMIT 50;
|
|
469
|
+
```
|
|
470
|
+
|
|
471
|
+
**Query result**:
|
|
472
|
+
|
|
473
|
+
| city | car\_model | total\_quantity | city\_grouping | model\_grouping |
|
|
474
|
+
| -------- | ------------ | --------------- | -------------- | --------------- |
|
|
475
|
+
| Dublin | Honda Accord | 10 | 0 | 0 |
|
|
476
|
+
| Dublin | Honda CRV | 3 | 0 | 0 |
|
|
477
|
+
| Dublin | Honda Civic | 20 | 0 | 0 |
|
|
478
|
+
| Dublin | NULL | 33 | 0 | 1 |
|
|
479
|
+
| Fremont | Honda Accord | 15 | 0 | 0 |
|
|
480
|
+
| Fremont | Honda CRV | 7 | 0 | 0 |
|
|
481
|
+
| Fremont | Honda Civic | 10 | 0 | 0 |
|
|
482
|
+
| Fremont | NULL | 32 | 0 | 1 |
|
|
483
|
+
| San Jose | Honda Accord | 8 | 0 | 0 |
|
|
484
|
+
| San Jose | Honda Civic | 5 | 0 | 0 |
|
|
485
|
+
| San Jose | NULL | 13 | 0 | 1 |
|
|
486
|
+
| NULL | NULL | 78 | 1 | 1 |
|
|
487
|
+
|
|
488
|
+
**GROUPING() value interpretation**:
|
|
489
|
+
|
|
490
|
+
* (**0, 0**): Detail data, both columns participate in grouping
|
|
491
|
+
* (**0, 1**): City subtotal, only city participates in grouping
|
|
492
|
+
* (**1, 1**): Grand total, neither column participates in grouping
|
|
493
|
+
|
|
494
|
+
***
|
|
495
|
+
|
|
496
|
+
## 5. CUBE (Full Dimensional Cross Analysis)
|
|
497
|
+
|
|
498
|
+
### 5.1 Basic Concepts
|
|
499
|
+
|
|
500
|
+
`CUBE` generates grouping sets for all possible combinations of the specified columns. For `CUBE(a, b)`, it generates 2^2 = 4 grouping sets:
|
|
501
|
+
|
|
502
|
+
* `(a, b)` - Detail
|
|
503
|
+
* `(a)` - Aggregated by a
|
|
504
|
+
* `(b)` - Aggregated by b
|
|
505
|
+
* `()` - Global aggregation
|
|
506
|
+
|
|
507
|
+
**Equivalence relationship**:
|
|
508
|
+
|
|
509
|
+
```sql
|
|
510
|
+
CUBE(city, car_model)
|
|
511
|
+
-- Is equivalent to
|
|
512
|
+
GROUPING SETS (
|
|
513
|
+
(city, car_model),
|
|
514
|
+
(city),
|
|
515
|
+
(car_model),
|
|
516
|
+
()
|
|
517
|
+
)
|
|
518
|
+
```
|
|
519
|
+
|
|
520
|
+
***
|
|
521
|
+
|
|
522
|
+
### 5.2 Multi-Dimensional Cross Analysis
|
|
523
|
+
|
|
524
|
+
Generate all dimension combinations for city and car model:
|
|
525
|
+
|
|
526
|
+
```sql
|
|
527
|
+
SELECT
|
|
528
|
+
city,
|
|
529
|
+
car_model,
|
|
530
|
+
SUM(quantity) AS total_quantity
|
|
531
|
+
FROM dealer
|
|
532
|
+
GROUP BY city, car_model WITH CUBE
|
|
533
|
+
LIMIT 50;
|
|
534
|
+
```
|
|
535
|
+
|
|
536
|
+
**Query result**:
|
|
537
|
+
|
|
538
|
+
| city | car\_model | total\_quantity |
|
|
539
|
+
| -------- | ------------ | --------------- |
|
|
540
|
+
| Fremont | Honda Civic | 10 |
|
|
541
|
+
| Fremont | Honda Accord | 15 |
|
|
542
|
+
| Fremont | Honda CRV | 7 |
|
|
543
|
+
| Dublin | Honda Civic | 20 |
|
|
544
|
+
| Dublin | Honda Accord | 10 |
|
|
545
|
+
| Dublin | Honda CRV | 3 |
|
|
546
|
+
| San Jose | Honda Civic | 5 |
|
|
547
|
+
| San Jose | Honda Accord | 8 |
|
|
548
|
+
| NULL | Honda CRV | 10 |
|
|
549
|
+
| NULL | Honda Civic | 35 |
|
|
550
|
+
| NULL | Honda Accord | 33 |
|
|
551
|
+
| Fremont | NULL | 32 |
|
|
552
|
+
| Dublin | NULL | 33 |
|
|
553
|
+
| San Jose | NULL | 13 |
|
|
554
|
+
| NULL | NULL | 78 |
|
|
555
|
+
|
|
556
|
+
**Result includes**:
|
|
557
|
+
|
|
558
|
+
1. **Detail rows** (first 8 rows): City + model combinations
|
|
559
|
+
2. **Model subtotal rows** (city=NULL): Cross-city model sales
|
|
560
|
+
3. **City subtotal rows** (car\_model=NULL): Cross-model city sales
|
|
561
|
+
4. **Grand total row** (city=NULL, car\_model=NULL): Global total
|
|
562
|
+
|
|
563
|
+
***
|
|
564
|
+
|
|
565
|
+
### 5.3 Identifying Aggregation Levels
|
|
566
|
+
|
|
567
|
+
Use a `CASE` statement with the `GROUPING()` function to identify the aggregation level of each row:
|
|
568
|
+
|
|
569
|
+
```sql
|
|
570
|
+
SELECT
|
|
571
|
+
city,
|
|
572
|
+
car_model,
|
|
573
|
+
SUM(quantity) AS total_quantity,
|
|
574
|
+
CASE
|
|
575
|
+
WHEN GROUPING(city) = 1 AND GROUPING(car_model) = 1 THEN 'Total'
|
|
576
|
+
WHEN GROUPING(city) = 0 AND GROUPING(car_model) = 1 THEN 'City Subtotal'
|
|
577
|
+
WHEN GROUPING(city) = 1 AND GROUPING(car_model) = 0 THEN 'Model Subtotal'
|
|
578
|
+
ELSE 'Detail'
|
|
579
|
+
END AS aggregation_level
|
|
580
|
+
FROM dealer
|
|
581
|
+
GROUP BY CUBE(city, car_model)
|
|
582
|
+
ORDER BY
|
|
583
|
+
GROUPING(city),
|
|
584
|
+
GROUPING(car_model),
|
|
585
|
+
city,
|
|
586
|
+
car_model
|
|
587
|
+
LIMIT 50;
|
|
588
|
+
```
|
|
589
|
+
|
|
590
|
+
**Query result**:
|
|
591
|
+
|
|
592
|
+
| city | car\_model | total\_quantity | aggregation\_level |
|
|
593
|
+
| -------- | ------------ | --------------- | ------------------ |
|
|
594
|
+
| Dublin | Honda Accord | 10 | Detail |
|
|
595
|
+
| Dublin | Honda CRV | 3 | Detail |
|
|
596
|
+
| Dublin | Honda Civic | 20 | Detail |
|
|
597
|
+
| Fremont | Honda Accord | 15 | Detail |
|
|
598
|
+
| Fremont | Honda CRV | 7 | Detail |
|
|
599
|
+
| Fremont | Honda Civic | 10 | Detail |
|
|
600
|
+
| San Jose | Honda Accord | 8 | Detail |
|
|
601
|
+
| San Jose | Honda Civic | 5 | Detail |
|
|
602
|
+
| Dublin | NULL | 33 | City Subtotal |
|
|
603
|
+
| Fremont | NULL | 32 | City Subtotal |
|
|
604
|
+
| San Jose | NULL | 13 | City Subtotal |
|
|
605
|
+
| NULL | Honda Accord | 33 | Model Subtotal |
|
|
606
|
+
| NULL | Honda CRV | 10 | Model Subtotal |
|
|
607
|
+
| NULL | Honda Civic | 35 | Model Subtotal |
|
|
608
|
+
| NULL | NULL | 78 | Total |
|
|
609
|
+
|
|
610
|
+
This query clearly identifies the aggregation level to which each row belongs.
|
|
611
|
+
|
|
612
|
+
***
|
|
613
|
+
|
|
614
|
+
### 5.4 ROLLUP vs CUBE
|
|
615
|
+
|
|
616
|
+
| Dimension | ROLLUP | CUBE |
|
|
617
|
+
| --------------- | -------------- | ------------------- |
|
|
618
|
+
| **Generated grouping sets** | Hierarchical subset (left to right) | All possible combinations |
|
|
619
|
+
| **ROLLUP(a,b**) | (a,b), (a), () | (a,b), (a), (b), () |
|
|
620
|
+
| **Number of groupings** | n+1 (n = number of columns) | 2^n |
|
|
621
|
+
| **Use case** | Hierarchical reports, top-down analysis | Multi-dimensional cross analysis, BI pivot tables |
|
|
622
|
+
| **Performance** | Fewer grouping sets, better performance | More grouping sets, higher performance overhead |
|
|
623
|
+
|
|
624
|
+
**Selection suggestions**:
|
|
625
|
+
|
|
626
|
+
* Use `ROLLUP` when you need **hierarchical rollups** (e.g., Region → City → Store)
|
|
627
|
+
* Use `CUBE` when you need **multi-dimensional cross analysis** (e.g., Region x Product x Time)
|
|
628
|
+
* Use `GROUPING SETS` when you need **custom combinations**
|
|
629
|
+
|
|
630
|
+
***
|
|
631
|
+
|
|
632
|
+
## 6. HAVING Clause: Filtering Aggregation Results
|
|
633
|
+
|
|
634
|
+
### 6.1 WHERE vs HAVING
|
|
635
|
+
|
|
636
|
+
| Clause | Execution Timing | Target | Available Functions |
|
|
637
|
+
| ---------- | ---- | -------- | ----------------- |
|
|
638
|
+
| **WHERE** | Before grouping | Original row data | Scalar functions, column comparisons |
|
|
639
|
+
| **HAVING** | After grouping | Aggregation results | Aggregate functions, GROUP BY columns |
|
|
640
|
+
|
|
641
|
+
**Execution order**: FROM → WHERE → GROUP BY → HAVING → SELECT → ORDER BY → LIMIT
|
|
642
|
+
|
|
643
|
+
***
|
|
644
|
+
|
|
645
|
+
### 6.2 Using HAVING to Filter Aggregation Results
|
|
646
|
+
|
|
647
|
+
Filter cities with total sales exceeding 15 cars:
|
|
648
|
+
|
|
649
|
+
```sql
|
|
650
|
+
SELECT
|
|
651
|
+
city,
|
|
652
|
+
COUNT(*) AS record_count,
|
|
653
|
+
SUM(quantity) AS total_quantity
|
|
654
|
+
FROM dealer
|
|
655
|
+
GROUP BY city
|
|
656
|
+
HAVING SUM(quantity) > 15
|
|
657
|
+
ORDER BY total_quantity DESC
|
|
658
|
+
LIMIT 50;
|
|
659
|
+
```
|
|
660
|
+
|
|
661
|
+
**Query result**:
|
|
662
|
+
|
|
663
|
+
| city | record\_count | total\_quantity |
|
|
664
|
+
| ------- | ------------- | --------------- |
|
|
665
|
+
| Dublin | 3 | 33 |
|
|
666
|
+
| Fremont | 3 | 32 |
|
|
667
|
+
|
|
668
|
+
San Jose (total sales 13 cars) is filtered out because it does not meet the `HAVING` condition.
|
|
669
|
+
|
|
670
|
+
***
|
|
671
|
+
|
|
672
|
+
### 6.3 Combining WHERE and HAVING
|
|
673
|
+
|
|
674
|
+
Filter original data with `WHERE` first, then filter aggregation results with `HAVING`:
|
|
675
|
+
|
|
676
|
+
```sql
|
|
677
|
+
SELECT
|
|
678
|
+
city,
|
|
679
|
+
COUNT(*) AS record_count,
|
|
680
|
+
SUM(quantity) AS total_quantity
|
|
681
|
+
FROM dealer
|
|
682
|
+
WHERE quantity >= 10 -- Filter first: only include records with quantity >= 10
|
|
683
|
+
GROUP BY city
|
|
684
|
+
HAVING COUNT(*) >= 2 -- Filter after: only show cities with record count >= 2
|
|
685
|
+
ORDER BY total_quantity DESC
|
|
686
|
+
LIMIT 50;
|
|
687
|
+
```
|
|
688
|
+
|
|
689
|
+
**Execution logic**:
|
|
690
|
+
|
|
691
|
+
1. **WHERE filter**: Exclude records where quantity < 10 (filters out 4 records)
|
|
692
|
+
2. **GROUP BY grouping**: Group remaining records by city
|
|
693
|
+
3. **HAVING filter**: Keep only groups with record count >= 2
|
|
694
|
+
|
|
695
|
+
***
|
|
696
|
+
|
|
697
|
+
## 7. Advanced Use Cases
|
|
698
|
+
|
|
699
|
+
### 7.1 Row-to-Column: Pivot Analysis
|
|
700
|
+
|
|
701
|
+
Convert car models from rows to columns to achieve a pivot table effect:
|
|
702
|
+
|
|
703
|
+
```sql
|
|
704
|
+
SELECT
|
|
705
|
+
city,
|
|
706
|
+
SUM(CASE WHEN car_model = 'Honda Civic' THEN quantity ELSE 0 END) AS civic_sales,
|
|
707
|
+
SUM(CASE WHEN car_model = 'Honda Accord' THEN quantity ELSE 0 END) AS accord_sales,
|
|
708
|
+
SUM(CASE WHEN car_model = 'Honda CRV' THEN quantity ELSE 0 END) AS crv_sales,
|
|
709
|
+
SUM(quantity) AS total_sales
|
|
710
|
+
FROM dealer
|
|
711
|
+
GROUP BY city
|
|
712
|
+
ORDER BY total_sales DESC
|
|
713
|
+
LIMIT 50;
|
|
714
|
+
```
|
|
715
|
+
|
|
716
|
+
**Query result**:
|
|
717
|
+
|
|
718
|
+
| city | civic\_sales | accord\_sales | crv\_sales | total\_sales |
|
|
719
|
+
| -------- | ------------ | ------------- | ---------- | ------------ |
|
|
720
|
+
| Dublin | 20 | 10 | 3 | 33 |
|
|
721
|
+
| Fremont | 10 | 15 | 7 | 32 |
|
|
722
|
+
| San Jose | 5 | 8 | 0 | 13 |
|
|
723
|
+
|
|
724
|
+
**Business value**:
|
|
725
|
+
|
|
726
|
+
* Clearly shows the sales distribution of each car model in each city
|
|
727
|
+
* San Jose has no CRV sales records (shown as 0)
|
|
728
|
+
* Suitable for Excel reports and BI dashboards
|
|
729
|
+
|
|
730
|
+
***
|
|
731
|
+
|
|
732
|
+
### 7.2 Proportion Analysis: Window Functions and GROUP BY
|
|
733
|
+
|
|
734
|
+
Calculate the sales proportion of each car model within its city:
|
|
735
|
+
|
|
736
|
+
```sql
|
|
737
|
+
SELECT
|
|
738
|
+
city,
|
|
739
|
+
car_model,
|
|
740
|
+
quantity,
|
|
741
|
+
SUM(quantity) OVER (PARTITION BY city) AS city_total,
|
|
742
|
+
ROUND(quantity * 100.0 / SUM(quantity) OVER (PARTITION BY city), 2) AS percentage
|
|
743
|
+
FROM dealer
|
|
744
|
+
ORDER BY city, car_model
|
|
745
|
+
LIMIT 50;
|
|
746
|
+
```
|
|
747
|
+
|
|
748
|
+
**Query result**:
|
|
749
|
+
|
|
750
|
+
| city | car\_model | quantity | city\_total | percentage |
|
|
751
|
+
| -------- | ------------ | -------- | ----------- | ---------- |
|
|
752
|
+
| Dublin | Honda Accord | 10 | 33 | 30.30 |
|
|
753
|
+
| Dublin | Honda CRV | 3 | 33 | 9.09 |
|
|
754
|
+
| Dublin | Honda Civic | 20 | 33 | 60.61 |
|
|
755
|
+
| Fremont | Honda Accord | 15 | 32 | 46.88 |
|
|
756
|
+
| Fremont | Honda CRV | 7 | 32 | 21.88 |
|
|
757
|
+
| Fremont | Honda Civic | 10 | 32 | 31.25 |
|
|
758
|
+
| San Jose | Honda Accord | 8 | 13 | 61.54 |
|
|
759
|
+
| San Jose | Honda Civic | 5 | 13 | 38.46 |
|
|
760
|
+
|
|
761
|
+
**Business insights**:
|
|
762
|
+
|
|
763
|
+
* **Dublin**: Honda Civic accounts for 60.61%, the absolute flagship model
|
|
764
|
+
* **Fremont**: Sales distribution is relatively balanced, Accord accounts for the highest (46.88%)
|
|
765
|
+
* **San Jose**: Accord accounts for 61.54%, clear market preference
|
|
766
|
+
|
|
767
|
+
**Technical note**: The window function `SUM() OVER (PARTITION BY city)` calculates the total sales for each city without changing the number of rows.
|
|
768
|
+
|
|
769
|
+
***
|
|
770
|
+
|
|
771
|
+
### 7.3 Year-over-Year and Month-over-Month Analysis Pattern
|
|
772
|
+
|
|
773
|
+
Although the sample data does not include a time dimension, here is a standard YoY/MoM analysis SQL pattern:
|
|
774
|
+
|
|
775
|
+
```sql
|
|
776
|
+
-- Example: monthly sales with month-over-month growth rate
|
|
777
|
+
SELECT
|
|
778
|
+
DATE_FORMAT(sale_date, 'yyyy-MM') AS month,
|
|
779
|
+
SUM(quantity) AS monthly_sales,
|
|
780
|
+
LAG(SUM(quantity)) OVER (ORDER BY DATE_FORMAT(sale_date, 'yyyy-MM')) AS prev_month_sales,
|
|
781
|
+
ROUND(
|
|
782
|
+
(SUM(quantity) - LAG(SUM(quantity)) OVER (ORDER BY DATE_FORMAT(sale_date, 'yyyy-MM'))) * 100.0 /
|
|
783
|
+
LAG(SUM(quantity)) OVER (ORDER BY DATE_FORMAT(sale_date, 'yyyy-MM')),
|
|
784
|
+
2
|
|
785
|
+
) AS mom_growth_rate
|
|
786
|
+
FROM sales_table
|
|
787
|
+
GROUP BY DATE_FORMAT(sale_date, 'yyyy-MM')
|
|
788
|
+
ORDER BY month;
|
|
789
|
+
```
|
|
790
|
+
|
|
791
|
+
**Key techniques**:
|
|
792
|
+
|
|
793
|
+
* `LAG()` window function to get the previous row's value
|
|
794
|
+
* MoM growth rate = (current value - previous value) / previous value x 100%
|
|
795
|
+
|
|
796
|
+
***
|
|
797
|
+
|
|
798
|
+
### 7.4 TopN Analysis: Taking Top N per Group
|
|
799
|
+
|
|
800
|
+
Use window functions combined with GROUP BY to implement grouped TopN:
|
|
801
|
+
|
|
802
|
+
```sql
|
|
803
|
+
-- Example: top 2 car models by sales in each city
|
|
804
|
+
SELECT *
|
|
805
|
+
FROM (
|
|
806
|
+
SELECT
|
|
807
|
+
city,
|
|
808
|
+
car_model,
|
|
809
|
+
quantity,
|
|
810
|
+
ROW_NUMBER() OVER (PARTITION BY city ORDER BY quantity DESC) AS rank
|
|
811
|
+
FROM dealer
|
|
812
|
+
) ranked
|
|
813
|
+
WHERE rank <= 2
|
|
814
|
+
ORDER BY city, rank;
|
|
815
|
+
```
|
|
816
|
+
|
|
817
|
+
**Expected logic** (based on current data):
|
|
818
|
+
|
|
819
|
+
* Dublin: Honda Civic (20), Honda Accord (10)
|
|
820
|
+
* Fremont: Honda Accord (15), Honda Civic (10)
|
|
821
|
+
* San Jose: Honda Accord (8), Honda Civic (5)
|
|
822
|
+
|
|
823
|
+
***
|
|
824
|
+
|
|
825
|
+
## 8. Performance Optimization and Best Practices
|
|
826
|
+
|
|
827
|
+
### 8.1 Query Performance Optimization
|
|
828
|
+
|
|
829
|
+
#### 1. Use LIMIT Appropriately
|
|
830
|
+
|
|
831
|
+
For large datasets, always add `LIMIT` to restrict the number of returned rows:
|
|
832
|
+
|
|
833
|
+
```sql
|
|
834
|
+
-- Recommended
|
|
835
|
+
SELECT city, SUM(quantity)
|
|
836
|
+
FROM large_table
|
|
837
|
+
GROUP BY city
|
|
838
|
+
LIMIT 100;
|
|
839
|
+
|
|
840
|
+
-- Avoid: may return millions of rows
|
|
841
|
+
SELECT city, SUM(quantity)
|
|
842
|
+
FROM large_table
|
|
843
|
+
GROUP BY city;
|
|
844
|
+
```
|
|
845
|
+
|
|
846
|
+
#### 2. Choose the Right Aggregation Tool
|
|
847
|
+
|
|
848
|
+
| Requirement | Recommended Solution | Grouping Sets Generated | Performance |
|
|
849
|
+
| ------ | ------------------------- | ------------ | -------- |
|
|
850
|
+
| Simple hierarchical rollup | `ROLLUP` | n+1 | Highest |
|
|
851
|
+
| Multi-dimensional cross analysis | `CUBE` | 2^n | Moderate |
|
|
852
|
+
| Custom grouping sets | `GROUPING SETS` | Custom | High |
|
|
853
|
+
|
|
854
|
+
**Example**: For 3-column grouping
|
|
855
|
+
|
|
856
|
+
* `ROLLUP(a,b,c)` generates 4 grouping sets
|
|
857
|
+
* `CUBE(a,b,c)` generates 8 grouping sets
|
|
858
|
+
* `GROUPING SETS` can customize any combination
|
|
859
|
+
|
|
860
|
+
#### 3. Reduce Grouping Column Cardinality
|
|
861
|
+
|
|
862
|
+
Use functions to reduce granularity on high-cardinality columns (e.g., ID, timestamp):
|
|
863
|
+
|
|
864
|
+
```sql
|
|
865
|
+
-- Avoid: grouping by second-level timestamp
|
|
866
|
+
GROUP BY timestamp -- May generate millions of groups
|
|
867
|
+
|
|
868
|
+
-- Recommended: group by hour or day
|
|
869
|
+
GROUP BY DATE_FORMAT(timestamp, 'yyyy-MM-dd')
|
|
870
|
+
GROUP BY DATE_TRUNC('hour', timestamp)
|
|
871
|
+
```
|
|
872
|
+
|
|
873
|
+
#### 4. WHERE Filtering is Better than HAVING Filtering
|
|
874
|
+
|
|
875
|
+
Try to filter data in `WHERE` to reduce the data volume processed by `GROUP BY`:
|
|
876
|
+
|
|
877
|
+
```sql
|
|
878
|
+
-- Recommended: filter first, then group
|
|
879
|
+
SELECT city, SUM(quantity)
|
|
880
|
+
FROM dealer
|
|
881
|
+
WHERE car_model = 'Honda Civic' -- Filter first to reduce data volume
|
|
882
|
+
GROUP BY city;
|
|
883
|
+
|
|
884
|
+
-- Avoid: group first, then filter (processes unnecessary data)
|
|
885
|
+
SELECT city, car_model, SUM(quantity)
|
|
886
|
+
FROM dealer
|
|
887
|
+
GROUP BY city, car_model
|
|
888
|
+
HAVING car_model = 'Honda Civic';
|
|
889
|
+
```
|
|
890
|
+
|
|
891
|
+
***
|
|
892
|
+
|
|
893
|
+
### 8.2 Common Errors and Solutions
|
|
894
|
+
|
|
895
|
+
#### Error 1: SELECT Column Not in GROUP BY
|
|
896
|
+
|
|
897
|
+
```sql
|
|
898
|
+
-- Incorrect example
|
|
899
|
+
SELECT city, car_model, quantity
|
|
900
|
+
FROM dealer
|
|
901
|
+
GROUP BY city;
|
|
902
|
+
-- Error: car_model and quantity are not grouped or aggregated
|
|
903
|
+
|
|
904
|
+
-- Correct solution 1: Add to GROUP BY
|
|
905
|
+
SELECT city, car_model, SUM(quantity)
|
|
906
|
+
FROM dealer
|
|
907
|
+
GROUP BY city, car_model;
|
|
908
|
+
|
|
909
|
+
-- Correct solution 2: Use aggregate functions
|
|
910
|
+
SELECT city, MAX(car_model), SUM(quantity)
|
|
911
|
+
FROM dealer
|
|
912
|
+
GROUP BY city;
|
|
913
|
+
```
|
|
914
|
+
|
|
915
|
+
#### Error 2: Using Aggregate Functions in WHERE
|
|
916
|
+
|
|
917
|
+
```sql
|
|
918
|
+
-- Incorrect example
|
|
919
|
+
SELECT city, SUM(quantity)
|
|
920
|
+
FROM dealer
|
|
921
|
+
WHERE SUM(quantity) > 20 -- WHERE cannot use aggregate functions
|
|
922
|
+
GROUP BY city;
|
|
923
|
+
|
|
924
|
+
-- Correct solution: Use HAVING
|
|
925
|
+
SELECT city, SUM(quantity)
|
|
926
|
+
FROM dealer
|
|
927
|
+
GROUP BY city
|
|
928
|
+
HAVING SUM(quantity) > 20;
|
|
929
|
+
```
|
|
930
|
+
|
|
931
|
+
#### Error 3: Confusing ROLLUP/CUBE Syntax
|
|
932
|
+
|
|
933
|
+
```sql
|
|
934
|
+
-- Incorrect example
|
|
935
|
+
GROUP BY city, ROLLUP(car_model) -- Mixed syntax not supported
|
|
936
|
+
|
|
937
|
+
-- Correct solution
|
|
938
|
+
GROUP BY ROLLUP(city, car_model)
|
|
939
|
+
```
|
|
940
|
+
|
|
941
|
+
#### Error 4: Ignoring NULL Value Impact
|
|
942
|
+
|
|
943
|
+
```sql
|
|
944
|
+
-- In ROLLUP/CUBE, NULL can be either a real NULL or an aggregation marker
|
|
945
|
+
-- Use GROUPING() function to distinguish
|
|
946
|
+
|
|
947
|
+
SELECT
|
|
948
|
+
CASE WHEN GROUPING(city) = 1 THEN 'Total' ELSE city END AS city,
|
|
949
|
+
SUM(quantity)
|
|
950
|
+
FROM dealer
|
|
951
|
+
GROUP BY ROLLUP(city);
|
|
952
|
+
```
|
|
953
|
+
|
|
954
|
+
***
|
|
955
|
+
|
|
956
|
+
### 8.3 Data Quality Checks
|
|
957
|
+
|
|
958
|
+
#### Verify Grouping Completeness
|
|
959
|
+
|
|
960
|
+
Verify that the sum of group subtotals equals the grand total:
|
|
961
|
+
|
|
962
|
+
```sql
|
|
963
|
+
-- Method 1: Use ROLLUP to automatically generate grand total row
|
|
964
|
+
SELECT
|
|
965
|
+
COALESCE(city, 'TOTAL') AS city,
|
|
966
|
+
SUM(quantity) AS total
|
|
967
|
+
FROM dealer
|
|
968
|
+
GROUP BY ROLLUP(city);
|
|
969
|
+
|
|
970
|
+
-- Method 2: Manual verification
|
|
971
|
+
WITH group_totals AS (
|
|
972
|
+
SELECT SUM(quantity) AS grouped_sum
|
|
973
|
+
FROM dealer
|
|
974
|
+
GROUP BY city
|
|
975
|
+
),
|
|
976
|
+
grand_total AS (
|
|
977
|
+
SELECT SUM(quantity) AS total_sum
|
|
978
|
+
FROM dealer
|
|
979
|
+
)
|
|
980
|
+
SELECT
|
|
981
|
+
(SELECT SUM(grouped_sum) FROM group_totals) AS sum_of_groups,
|
|
982
|
+
(SELECT total_sum FROM grand_total) AS grand_total,
|
|
983
|
+
CASE
|
|
984
|
+
WHEN (SELECT SUM(grouped_sum) FROM group_totals) = (SELECT total_sum FROM grand_total)
|
|
985
|
+
THEN 'PASS'
|
|
986
|
+
ELSE 'FAIL'
|
|
987
|
+
END AS validation_result;
|
|
988
|
+
```
|
|
989
|
+
|
|
990
|
+
***
|
|
991
|
+
|
|
992
|
+
## 9. Practical Case Summary
|
|
993
|
+
|
|
994
|
+
### 9.1 Sales Analysis Report
|
|
995
|
+
|
|
996
|
+
**Requirement**: Generate a sales report with detail rows, subtotals, and grand total
|
|
997
|
+
|
|
998
|
+
```sql
|
|
999
|
+
SELECT
|
|
1000
|
+
COALESCE(city, 'All Cities') AS city,
|
|
1001
|
+
COALESCE(car_model, 'All Models') AS car_model,
|
|
1002
|
+
SUM(quantity) AS total_quantity
|
|
1003
|
+
FROM dealer
|
|
1004
|
+
GROUP BY ROLLUP(city, car_model)
|
|
1005
|
+
ORDER BY
|
|
1006
|
+
GROUPING(city),
|
|
1007
|
+
city,
|
|
1008
|
+
GROUPING(car_model),
|
|
1009
|
+
car_model
|
|
1010
|
+
LIMIT 50;
|
|
1011
|
+
```
|
|
1012
|
+
|
|
1013
|
+
***
|
|
1014
|
+
|
|
1015
|
+
### 9.2 Multi-Dimensional Cross Analysis
|
|
1016
|
+
|
|
1017
|
+
**Requirement**: BI pivot table, needing all dimension combinations of city and car model
|
|
1018
|
+
|
|
1019
|
+
```sql
|
|
1020
|
+
SELECT
|
|
1021
|
+
city,
|
|
1022
|
+
car_model,
|
|
1023
|
+
SUM(quantity) AS total_quantity,
|
|
1024
|
+
CASE
|
|
1025
|
+
WHEN GROUPING(city) = 1 AND GROUPING(car_model) = 1 THEN 'Grand Total'
|
|
1026
|
+
WHEN GROUPING(city) = 1 THEN 'Model Total'
|
|
1027
|
+
WHEN GROUPING(car_model) = 1 THEN 'City Total'
|
|
1028
|
+
ELSE 'Detail'
|
|
1029
|
+
END AS level
|
|
1030
|
+
FROM dealer
|
|
1031
|
+
GROUP BY CUBE(city, car_model)
|
|
1032
|
+
ORDER BY
|
|
1033
|
+
GROUPING(city),
|
|
1034
|
+
GROUPING(car_model),
|
|
1035
|
+
city,
|
|
1036
|
+
car_model
|
|
1037
|
+
LIMIT 50;
|
|
1038
|
+
```
|
|
1039
|
+
|
|
1040
|
+
***
|
|
1041
|
+
|
|
1042
|
+
### 9.3 Top/Bottom N Analysis
|
|
1043
|
+
|
|
1044
|
+
**Requirement**: Find the cities with the highest and lowest sales
|
|
1045
|
+
|
|
1046
|
+
```sql
|
|
1047
|
+
-- Top 2 cities
|
|
1048
|
+
SELECT city, SUM(quantity) AS total_quantity
|
|
1049
|
+
FROM dealer
|
|
1050
|
+
GROUP BY city
|
|
1051
|
+
ORDER BY total_quantity DESC
|
|
1052
|
+
LIMIT 2;
|
|
1053
|
+
|
|
1054
|
+
-- Bottom 2 cities
|
|
1055
|
+
SELECT city, SUM(quantity) AS total_quantity
|
|
1056
|
+
FROM dealer
|
|
1057
|
+
GROUP BY city
|
|
1058
|
+
ORDER BY total_quantity ASC
|
|
1059
|
+
LIMIT 2;
|
|
1060
|
+
```
|
|
1061
|
+
|
|
1062
|
+
***
|
|
1063
|
+
|
|
1064
|
+
### 9.4 Proportion and Ranking
|
|
1065
|
+
|
|
1066
|
+
**Requirement**: Calculate the sales proportion and ranking of each car model
|
|
1067
|
+
|
|
1068
|
+
```sql
|
|
1069
|
+
SELECT
|
|
1070
|
+
car_model,
|
|
1071
|
+
SUM(quantity) AS total_sales,
|
|
1072
|
+
ROUND(SUM(quantity) * 100.0 / (SELECT SUM(quantity) FROM dealer), 2) AS percentage,
|
|
1073
|
+
RANK() OVER (ORDER BY SUM(quantity) DESC) AS rank
|
|
1074
|
+
FROM dealer
|
|
1075
|
+
GROUP BY car_model
|
|
1076
|
+
ORDER BY total_sales DESC
|
|
1077
|
+
LIMIT 50;
|
|
1078
|
+
```
|
|
1079
|
+
|
|
1080
|
+
***
|
|
1081
|
+
|
|
1082
|
+
## 10. Feature Comparison and Selection Guide
|
|
1083
|
+
|
|
1084
|
+
### 10.1 Comparison of Four Grouping Methods
|
|
1085
|
+
|
|
1086
|
+
| Feature | GROUP BY | GROUPING SETS | ROLLUP | CUBE |
|
|
1087
|
+
| --------- | -------- | ------------- | ------ | -------- |
|
|
1088
|
+
| **Syntax complexity** | Simple | Moderate | Simple | Simple |
|
|
1089
|
+
| **Grouping sets generated** | 1 | Custom | n+1 | 2^n |
|
|
1090
|
+
| **Flexibility** | Low | High | Medium | Medium |
|
|
1091
|
+
| **Performance** | Best | Good | Good | Poorer (with many columns) |
|
|
1092
|
+
| **Applicable scenarios** | Basic statistics | Custom multi-dimensional analysis | Hierarchical reports | Full dimensional cross analysis |
|
|
1093
|
+
|
|
1094
|
+
***
|
|
1095
|
+
|
|
1096
|
+
### 10.2 Selection Decision Tree
|
|
1097
|
+
|
|
1098
|
+
```
|
|
1099
|
+
Do you need multi-dimensional rollup?
|
|
1100
|
+
├─ No → Use standard GROUP BY
|
|
1101
|
+
└─ Yes → Which dimension combinations are needed?
|
|
1102
|
+
├─ All possible combinations → Use CUBE
|
|
1103
|
+
├─ Hierarchical rollup (from detail to total) → Use ROLLUP
|
|
1104
|
+
└─ Custom specific combinations → Use GROUPING SETS
|
|
1105
|
+
```
|
|
1106
|
+
|
|
1107
|
+
***
|
|
1108
|
+
|
|
1109
|
+
### 10.3 Recommended Use Cases
|
|
1110
|
+
|
|
1111
|
+
| Business Scenario | Recommended Solution | Example |
|
|
1112
|
+
| -------- | ------------------------------ | -------------- |
|
|
1113
|
+
| Daily statistics and reports | `GROUP BY` | Statistics by department |
|
|
1114
|
+
| Financial hierarchical rollup | `ROLLUP` | Company → Department → Team hierarchical rollup |
|
|
1115
|
+
| BI data pivot tables | `CUBE` | Product x Region x Time three-dimensional analysis |
|
|
1116
|
+
| Custom business reports | `GROUPING SETS` | Generate daily, weekly, and monthly reports simultaneously |
|
|
1117
|
+
| Proportion analysis | `GROUP BY` + window functions | Sales proportion of each product |
|
|
1118
|
+
| Top N analysis | `GROUP BY` + `LIMIT` | Top 10 products by sales |
|
|
1119
|
+
|
|
1120
|
+
***
|
|
1121
|
+
|
|
1122
|
+
## 11. Advanced Techniques
|
|
1123
|
+
|
|
1124
|
+
### 11.1 Dynamic Grouping
|
|
1125
|
+
|
|
1126
|
+
Use variables or subqueries to implement dynamic grouping conditions (example logic):
|
|
1127
|
+
|
|
1128
|
+
```sql
|
|
1129
|
+
-- Dynamic grouping based on sales volume range
|
|
1130
|
+
SELECT
|
|
1131
|
+
CASE
|
|
1132
|
+
WHEN SUM(quantity) >= 30 THEN 'High Volume'
|
|
1133
|
+
WHEN SUM(quantity) >= 15 THEN 'Medium Volume'
|
|
1134
|
+
ELSE 'Low Volume'
|
|
1135
|
+
END AS volume_tier,
|
|
1136
|
+
COUNT(DISTINCT city) AS city_count
|
|
1137
|
+
FROM (
|
|
1138
|
+
SELECT city, SUM(quantity) AS city_total
|
|
1139
|
+
FROM dealer
|
|
1140
|
+
GROUP BY city
|
|
1141
|
+
) city_summary
|
|
1142
|
+
GROUP BY
|
|
1143
|
+
CASE
|
|
1144
|
+
WHEN city_total >= 30 THEN 'High Volume'
|
|
1145
|
+
WHEN city_total >= 15 THEN 'Medium Volume'
|
|
1146
|
+
ELSE 'Low Volume'
|
|
1147
|
+
END;
|
|
1148
|
+
```
|
|
1149
|
+
|
|
1150
|
+
***
|
|
1151
|
+
|
|
1152
|
+
### 11.2 Recursive Rollup (Simulated)
|
|
1153
|
+
|
|
1154
|
+
Although Singdata Lakehouse does not yet directly support recursive CTE, you can simulate multi-level rollups via UNION ALL:
|
|
1155
|
+
|
|
1156
|
+
```sql
|
|
1157
|
+
-- Three-level rollup: Detail, City Subtotal, Grand Total
|
|
1158
|
+
SELECT city, car_model, quantity, 'Detail' AS level
|
|
1159
|
+
FROM dealer
|
|
1160
|
+
UNION ALL
|
|
1161
|
+
SELECT city, NULL, SUM(quantity), 'City Subtotal'
|
|
1162
|
+
FROM dealer
|
|
1163
|
+
GROUP BY city
|
|
1164
|
+
UNION ALL
|
|
1165
|
+
SELECT NULL, NULL, SUM(quantity), 'Grand Total'
|
|
1166
|
+
FROM dealer
|
|
1167
|
+
ORDER BY
|
|
1168
|
+
CASE level
|
|
1169
|
+
WHEN 'Detail' THEN 1
|
|
1170
|
+
WHEN 'City Subtotal' THEN 2
|
|
1171
|
+
WHEN 'Grand Total' THEN 3
|
|
1172
|
+
END,
|
|
1173
|
+
city,
|
|
1174
|
+
car_model;
|
|
1175
|
+
```
|
|
1176
|
+
|
|
1177
|
+
***
|
|
1178
|
+
|
|
1179
|
+
### 11.3 NULL Value Handling Tips
|
|
1180
|
+
|
|
1181
|
+
#### Tip 1: Distinguish Real NULLs from Aggregation NULLs
|
|
1182
|
+
|
|
1183
|
+
```sql
|
|
1184
|
+
SELECT
|
|
1185
|
+
city,
|
|
1186
|
+
car_model,
|
|
1187
|
+
SUM(quantity) AS total,
|
|
1188
|
+
CASE
|
|
1189
|
+
WHEN GROUPING(city) = 1 THEN '[Subtotal]'
|
|
1190
|
+
WHEN city IS NULL THEN '[Real NULL]'
|
|
1191
|
+
ELSE city
|
|
1192
|
+
END AS city_display
|
|
1193
|
+
FROM dealer
|
|
1194
|
+
GROUP BY ROLLUP(city, car_model);
|
|
1195
|
+
```
|
|
1196
|
+
|
|
1197
|
+
#### Tip 2: Use COALESCE to Beautify Output
|
|
1198
|
+
|
|
1199
|
+
```sql
|
|
1200
|
+
SELECT
|
|
1201
|
+
COALESCE(city, '📊 All Cities') AS city,
|
|
1202
|
+
COALESCE(car_model, '🚗 All Models') AS car_model,
|
|
1203
|
+
SUM(quantity) AS total
|
|
1204
|
+
FROM dealer
|
|
1205
|
+
GROUP BY CUBE(city, car_model);
|
|
1206
|
+
```
|
|
1207
|
+
|
|
1208
|
+
***
|
|
1209
|
+
|
|
1210
|
+
## 12. Summary
|
|
1211
|
+
|
|
1212
|
+
### Key Takeaways
|
|
1213
|
+
|
|
1214
|
+
1. **GROUP BY** is the foundation of data aggregation analysis; mastering its usage is an essential SQL analysis skill
|
|
1215
|
+
2. **GROUPING SETS / ROLLUP / CUBE** provide powerful multi-dimensional analysis capabilities, generating multi-level rollups in a single query
|
|
1216
|
+
3. **HAVING** is used to filter aggregation results, working with WHERE for flexible data filtering
|
|
1217
|
+
4. **Window functions** combined with GROUP BY enable complex proportion, ranking, and period-over-period analysis
|
|
1218
|
+
5. **Performance optimization** requires balancing flexibility and efficiency, choosing the right grouping method
|
|
1219
|
+
|
|
1220
|
+
***
|
|
1221
|
+
|
|
1222
|
+
### Learning Path Suggestions
|
|
1223
|
+
|
|
1224
|
+
1. **Basic stage**: Master standard GROUP BY and common aggregate functions
|
|
1225
|
+
2. **Advanced stage**: Learn the use cases of GROUPING SETS, ROLLUP, and CUBE
|
|
1226
|
+
3. **Expert stage**: Combine window functions and CTE for complex business analysis
|
|
1227
|
+
4. **Practical stage**: Apply to real business scenarios and optimize query performance
|
|
1228
|
+
|
|
1229
|
+
***
|
|
1230
|
+
|
|
1231
|
+
### Quick Reference
|
|
1232
|
+
|
|
1233
|
+
```sql
|
|
1234
|
+
-- Basic grouping
|
|
1235
|
+
SELECT column, AGG_FUNC(column) FROM table GROUP BY column;
|
|
1236
|
+
|
|
1237
|
+
-- Multi-dimensional grouping
|
|
1238
|
+
SELECT col1, col2, AGG_FUNC(col3)
|
|
1239
|
+
FROM table
|
|
1240
|
+
GROUP BY GROUPING SETS ((col1, col2), (col1), ());
|
|
1241
|
+
|
|
1242
|
+
-- Hierarchical rollup
|
|
1243
|
+
SELECT col1, col2, AGG_FUNC(col3)
|
|
1244
|
+
FROM table
|
|
1245
|
+
GROUP BY ROLLUP(col1, col2);
|
|
1246
|
+
|
|
1247
|
+
-- Cross analysis
|
|
1248
|
+
SELECT col1, col2, AGG_FUNC(col3)
|
|
1249
|
+
FROM table
|
|
1250
|
+
GROUP BY col1, col2 WITH CUBE;
|
|
1251
|
+
|
|
1252
|
+
-- Conditional filtering
|
|
1253
|
+
SELECT col1, AGG_FUNC(col2)
|
|
1254
|
+
FROM table
|
|
1255
|
+
WHERE condition
|
|
1256
|
+
GROUP BY col1
|
|
1257
|
+
HAVING AGG_FUNC(col2) > value;
|
|
1258
|
+
```
|