@clickzetta/cz-cli-darwin-arm64 0.3.75 → 0.3.78
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-dynamic-table/SKILL.md +188 -126
- package/bin/skills/clickzetta-dynamic-table/best-practices/dimension-table-join-guide.md +7 -11
- package/bin/skills/clickzetta-dynamic-table/best-practices/scheduling-guide.md +135 -0
- package/bin/skills/clickzetta-dynamic-table/dt-creator/references/dt-declaration-strategy.md +8 -8
- package/bin/skills/clickzetta-dynamic-table/dt-creator/references/incremental-config-reference.md +2 -4
- package/bin/skills/clickzetta-dynamic-table/dt-creator/references/refresh-history-guide.md +2 -10
- package/bin/skills/clickzetta-dynamic-table/sql-to-dt/SKILL.md +27 -0
- package/bin/skills/clickzetta-dynamic-table/sql-to-dt/references/sql2dt-column-validation-rules.md +118 -0
- package/bin/skills/clickzetta-dynamic-table/sql-to-dt/references/sql2dt-conversion-rules.md +225 -0
- package/bin/skills/clickzetta-dynamic-table/sql-to-dt/references/sql2dt-placeholder-rules.md +182 -0
- package/bin/skills/clickzetta-dynamic-table/sql-to-dt/references/sql2dt-refresh-rules.md +98 -0
- package/bin/skills/clickzetta-dynamic-table/sql-to-dt/references/sql2dt-self-reference-rules.md +76 -0
- package/bin/skills/clickzetta-dynamic-table/sql-to-dt/references/sql2dt-workflow.md +109 -0
- package/bin/skills/cz-cli/SKILL.md +126 -2
- package/package.json +1 -1
- package/bin/skills/cz-cli-inner/SKILL.md +0 -109
- package/bin/skills/lakehouse-doc/SKILL.md +0 -107
- package/bin/skills/lakehouse-doc/references/.gitattributes +0 -1
- package/bin/skills/lakehouse-doc/references/.gitlab-ci.yml +0 -11
- package/bin/skills/lakehouse-doc/references/702bc8f656.md +0 -387
- package/bin/skills/lakehouse-doc/references/774c65e217.md +0 -136
- package/bin/skills/lakehouse-doc/references/9164fed65a.md +0 -1
- package/bin/skills/lakehouse-doc/references/AIGateway.md +0 -3
- package/bin/skills/lakehouse-doc/references/AI_COMPLETE.md +0 -157
- package/bin/skills/lakehouse-doc/references/AI_EMBEDDING.md +0 -70
- package/bin/skills/lakehouse-doc/references/AI_Gateway.md +0 -255
- package/bin/skills/lakehouse-doc/references/AI_eco.md +0 -1
- package/bin/skills/lakehouse-doc/references/AI_function_in_SQL.md +0 -25
- package/bin/skills/lakehouse-doc/references/AI_function_overview.md +0 -25
- package/bin/skills/lakehouse-doc/references/ALTER-EXTERNAL-TABLE.md +0 -78
- package/bin/skills/lakehouse-doc/references/ALTER-SCHEMA.md +0 -85
- package/bin/skills/lakehouse-doc/references/ALTER-TABLE-COLUMN.md +0 -223
- package/bin/skills/lakehouse-doc/references/ALTERTABLE.md +0 -92
- package/bin/skills/lakehouse-doc/references/ARRAY.md +0 -99
- package/bin/skills/lakehouse-doc/references/Account.md +0 -2
- package/bin/skills/lakehouse-doc/references/Analysis.md +0 -1
- package/bin/skills/lakehouse-doc/references/AnalyticsModernDataStack.md +0 -390
- package/bin/skills/lakehouse-doc/references/Application_list.md +0 -26
- package/bin/skills/lakehouse-doc/references/Approval.md +0 -1
- package/bin/skills/lakehouse-doc/references/Approval_list.md +0 -61
- package/bin/skills/lakehouse-doc/references/BIGINT.md +0 -49
- package/bin/skills/lakehouse-doc/references/BINARY.md +0 -104
- package/bin/skills/lakehouse-doc/references/BOOLEAN.md +0 -47
- package/bin/skills/lakehouse-doc/references/BP_AI_Function_Image2text.md +0 -203
- package/bin/skills/lakehouse-doc/references/BluepipeOracleLakehouse_DataSync.md +0 -244
- package/bin/skills/lakehouse-doc/references/CHAR.md +0 -38
- package/bin/skills/lakehouse-doc/references/CONNECTION.md +0 -1
- package/bin/skills/lakehouse-doc/references/COPY-INTO-Location.md +0 -404
- package/bin/skills/lakehouse-doc/references/COPY_INTO_Location.md +0 -371
- package/bin/skills/lakehouse-doc/references/CREAREUSER.md +0 -42
- package/bin/skills/lakehouse-doc/references/CREATE-BLOOMFILTER-INDEX.md +0 -138
- package/bin/skills/lakehouse-doc/references/CREATECONNECTION.md +0 -11
- package/bin/skills/lakehouse-doc/references/CREATEEXTERNAlLSCHEMA.md +0 -290
- package/bin/skills/lakehouse-doc/references/CREATEMATERIALIZEDVIEW.md +0 -518
- package/bin/skills/lakehouse-doc/references/CREATEROLE.md +0 -71
- package/bin/skills/lakehouse-doc/references/CREATESCHEMA.md +0 -40
- package/bin/skills/lakehouse-doc/references/CREATEVIEW.md +0 -63
- package/bin/skills/lakehouse-doc/references/CREATE_EXTERNATL_FUNCTION.md +0 -219
- package/bin/skills/lakehouse-doc/references/CTERevenueCohort.md +0 -275
- package/bin/skills/lakehouse-doc/references/ComputeResourceDDL.md +0 -1
- package/bin/skills/lakehouse-doc/references/Concepts.md +0 -1
- package/bin/skills/lakehouse-doc/references/Create_Embeding_Function.md +0 -236
- package/bin/skills/lakehouse-doc/references/Create_LLM_Function.md +0 -242
- package/bin/skills/lakehouse-doc/references/CreditScoringwithZettaparkandPythonMLlibraryNew.md +0 -873
- package/bin/skills/lakehouse-doc/references/DATE.md +0 -50
- package/bin/skills/lakehouse-doc/references/DDL.md +0 -1
- package/bin/skills/lakehouse-doc/references/DECIMAL.md +0 -27
- package/bin/skills/lakehouse-doc/references/DELETE.md +0 -48
- package/bin/skills/lakehouse-doc/references/DESC-INDEX.md +0 -41
- package/bin/skills/lakehouse-doc/references/DESC-JOB.md +0 -31
- package/bin/skills/lakehouse-doc/references/DESCCONNECTION.md +0 -39
- package/bin/skills/lakehouse-doc/references/DESCMATERIALIZEDVIEW.md +0 -31
- package/bin/skills/lakehouse-doc/references/DESCSCHEMAS.md +0 -59
- package/bin/skills/lakehouse-doc/references/DESCTABLE.md +0 -105
- package/bin/skills/lakehouse-doc/references/DESCVIEW.md +0 -66
- package/bin/skills/lakehouse-doc/references/DOUBLE.md +0 -58
- package/bin/skills/lakehouse-doc/references/DQL.md +0 -1
- package/bin/skills/lakehouse-doc/references/DROP-INDEX.md +0 -29
- package/bin/skills/lakehouse-doc/references/DROPCONNECTION.md +0 -32
- package/bin/skills/lakehouse-doc/references/DROPMATERIALIZEDVIEW.md +0 -42
- package/bin/skills/lakehouse-doc/references/DROPROLE.md +0 -56
- package/bin/skills/lakehouse-doc/references/DROPSCHEMA.md +0 -37
- package/bin/skills/lakehouse-doc/references/DROPTABLE.md +0 -46
- package/bin/skills/lakehouse-doc/references/DROPUSER.md +0 -34
- package/bin/skills/lakehouse-doc/references/DROPVIEW.md +0 -33
- package/bin/skills/lakehouse-doc/references/DataQuality.md +0 -99
- package/bin/skills/lakehouse-doc/references/DataSourceConfigGuide.md +0 -1
- package/bin/skills/lakehouse-doc/references/DataSource_ADBMySQL.md +0 -35
- package/bin/skills/lakehouse-doc/references/DataSource_ADB_PostgreSQL.md +0 -36
- package/bin/skills/lakehouse-doc/references/DataSource_AMQP.md +0 -37
- package/bin/skills/lakehouse-doc/references/DataSource_Amazon_DocumentDB.md +0 -115
- package/bin/skills/lakehouse-doc/references/DataSource_Amazon_OpenSearch.md +0 -42
- package/bin/skills/lakehouse-doc/references/DataSource_Aurora_MySQL.md +0 -35
- package/bin/skills/lakehouse-doc/references/DataSource_Aurora_PostgreSQL.md +0 -36
- package/bin/skills/lakehouse-doc/references/DataSource_AutoMQ.md +0 -124
- package/bin/skills/lakehouse-doc/references/DataSource_COS.md +0 -31
- package/bin/skills/lakehouse-doc/references/DataSource_ClickHouse.md +0 -36
- package/bin/skills/lakehouse-doc/references/DataSource_DB2.md +0 -36
- package/bin/skills/lakehouse-doc/references/DataSource_DM.md +0 -35
- package/bin/skills/lakehouse-doc/references/DataSource_Databricks.md +0 -38
- package/bin/skills/lakehouse-doc/references/DataSource_Doris.md +0 -34
- package/bin/skills/lakehouse-doc/references/DataSource_DynamoDB.md +0 -37
- package/bin/skills/lakehouse-doc/references/DataSource_ElasticSearch.md +0 -30
- package/bin/skills/lakehouse-doc/references/DataSource_Greenplum.md +0 -36
- package/bin/skills/lakehouse-doc/references/DataSource_HANA.md +0 -53
- package/bin/skills/lakehouse-doc/references/DataSource_HBase.md +0 -29
- package/bin/skills/lakehouse-doc/references/DataSource_Hive.md +0 -52
- package/bin/skills/lakehouse-doc/references/DataSource_Hologres.md +0 -36
- package/bin/skills/lakehouse-doc/references/DataSource_Kafka.md +0 -32
- package/bin/skills/lakehouse-doc/references/DataSource_MariaDB.md +0 -36
- package/bin/skills/lakehouse-doc/references/DataSource_MaxCompute.md +0 -32
- package/bin/skills/lakehouse-doc/references/DataSource_MongoDB.md +0 -36
- package/bin/skills/lakehouse-doc/references/DataSource_MySQL.md +0 -36
- package/bin/skills/lakehouse-doc/references/DataSource_OSS.md +0 -31
- package/bin/skills/lakehouse-doc/references/DataSource_Oracle.md +0 -35
- package/bin/skills/lakehouse-doc/references/DataSource_PorarDB.md +0 -37
- package/bin/skills/lakehouse-doc/references/DataSource_PostgreSQL.md +0 -36
- package/bin/skills/lakehouse-doc/references/DataSource_Redis.md +0 -55
- package/bin/skills/lakehouse-doc/references/DataSource_Redshift.md +0 -49
- package/bin/skills/lakehouse-doc/references/DataSource_RestApi.md +0 -30
- package/bin/skills/lakehouse-doc/references/DataSource_S3.md +0 -25
- package/bin/skills/lakehouse-doc/references/DataSource_SLS.md +0 -31
- package/bin/skills/lakehouse-doc/references/DataSource_StarRocks.md +0 -35
- package/bin/skills/lakehouse-doc/references/DataSource_TiDB.md +0 -36
- package/bin/skills/lakehouse-doc/references/Datalake_StorageConnection.md +0 -12
- package/bin/skills/lakehouse-doc/references/Datasource_SQLServer.md +0 -36
- package/bin/skills/lakehouse-doc/references/Datus_Lakehouse_Integrated_Guide.md +0 -3
- package/bin/skills/lakehouse-doc/references/Datus_Lakehouse_MCPServer.md +0 -111
- package/bin/skills/lakehouse-doc/references/Dify_Integreated_with_LakehouseMCPServer.md +0 -71
- package/bin/skills/lakehouse-doc/references/ELTModernDataStack.md +0 -497
- package/bin/skills/lakehouse-doc/references/ELT_practice.md +0 -1
- package/bin/skills/lakehouse-doc/references/EXPLAIN.md +0 -92
- package/bin/skills/lakehouse-doc/references/EXTERNALFUNCITON.md +0 -1
- package/bin/skills/lakehouse-doc/references/EXTERNALFUNCTION.md +0 -0
- package/bin/skills/lakehouse-doc/references/EXTERNALFUNCTION/345/274/200/345/217/221/346/214/207/345/215/227.md +0 -142
- package/bin/skills/lakehouse-doc/references/EXTERNALSCHEMA.md +0 -1
- package/bin/skills/lakehouse-doc/references/EXTERNALSCHMEA.md +0 -94
- package/bin/skills/lakehouse-doc/references/ExternalFunctionDevGuideJava.md +0 -556
- package/bin/skills/lakehouse-doc/references/FLOAT.md +0 -33
- package/bin/skills/lakehouse-doc/references/FeatureEngineeringForExpandingCustomerFeatureswithZettapark.md +0 -427
- package/bin/skills/lakehouse-doc/references/FileCommand.md +0 -1
- package/bin/skills/lakehouse-doc/references/FileFunction.md +0 -1
- package/bin/skills/lakehouse-doc/references/FineBI.md +0 -195
- package/bin/skills/lakehouse-doc/references/Full_Text_Search.md +0 -1
- package/bin/skills/lakehouse-doc/references/GET.md +0 -63
- package/bin/skills/lakehouse-doc/references/GET_PRESIGNED_URL.md +0 -91
- package/bin/skills/lakehouse-doc/references/GrantPriveleges.md +0 -113
- package/bin/skills/lakehouse-doc/references/Hive_connection.md +0 -50
- package/bin/skills/lakehouse-doc/references/IDENTITY-Column.md +0 -74
- package/bin/skills/lakehouse-doc/references/INSERT.md +0 -186
- package/bin/skills/lakehouse-doc/references/INT.md +0 -36
- package/bin/skills/lakehouse-doc/references/INTERVAL.md +0 -143
- package/bin/skills/lakehouse-doc/references/Ingesting_Data_from_Alibaba_Cloud_Data_Lake_into_Lakehouse.md +0 -976
- package/bin/skills/lakehouse-doc/references/Ingestion.md +0 -1
- package/bin/skills/lakehouse-doc/references/JDBC-Driver.md +0 -67
- package/bin/skills/lakehouse-doc/references/JDBC_MindsDB_ML_LLM.md +0 -237
- package/bin/skills/lakehouse-doc/references/JOIN.md +0 -204
- package/bin/skills/lakehouse-doc/references/JSON.md +0 -423
- package/bin/skills/lakehouse-doc/references/JSON_DataType.md +0 -49
- package/bin/skills/lakehouse-doc/references/KAFKA_Storage_connection.md +0 -1
- package/bin/skills/lakehouse-doc/references/Kafka_connection.md +0 -36
- package/bin/skills/lakehouse-doc/references/Key_Concepts.md +0 -112
- package/bin/skills/lakehouse-doc/references/LATERALVIEW.md +0 -78
- package/bin/skills/lakehouse-doc/references/Lakehouse-client-repository.md +0 -11
- package/bin/skills/lakehouse-doc/references/LakehouseAI.md +0 -0
- package/bin/skills/lakehouse-doc/references/LakehouseAI_overview.md +0 -16
- package/bin/skills/lakehouse-doc/references/LakehouseAI/346/246/202/350/277/260.md +0 -0
- package/bin/skills/lakehouse-doc/references/LakehouseDataGPTTour.md +0 -64
- package/bin/skills/lakehouse-doc/references/LakehouseMCPServer.md +0 -1
- package/bin/skills/lakehouse-doc/references/LakehouseMCPServer_intro.md +0 -493
- package/bin/skills/lakehouse-doc/references/LakehousePythonZettapark.md +0 -1
- package/bin/skills/lakehouse-doc/references/LakehouseStudioTour.md +0 -185
- package/bin/skills/lakehouse-doc/references/Lakehouse_Index_Best_Practice.md +0 -681
- package/bin/skills/lakehouse-doc/references/Lakehouse_Insight.md +0 -104
- package/bin/skills/lakehouse-doc/references/Lakehouse_Platform_Release_Note.md +0 -1
- package/bin/skills/lakehouse-doc/references/Lakehouse_Studio_101.md +0 -1
- package/bin/skills/lakehouse-doc/references/Lakehouse_Studio_Release_Note.md +0 -1
- package/bin/skills/lakehouse-doc/references/Lakehouse_Zilliz_MakeDataReadyforBIandAI.md +0 -228
- package/bin/skills/lakehouse-doc/references/Langchain_plug_installation.md +0 -244
- package/bin/skills/lakehouse-doc/references/Langchain_plug_quick_start.md +0 -225
- package/bin/skills/lakehouse-doc/references/Langchain_plugins_overview.md +0 -406
- package/bin/skills/lakehouse-doc/references/Limitation.md +0 -8
- package/bin/skills/lakehouse-doc/references/LoggingIn.md +0 -67
- package/bin/skills/lakehouse-doc/references/Logstash.md +0 -172
- package/bin/skills/lakehouse-doc/references/MAP.md +0 -42
- package/bin/skills/lakehouse-doc/references/MATERIALIZEDVIEW.md +0 -112
- package/bin/skills/lakehouse-doc/references/MCPServers.md +0 -267
- package/bin/skills/lakehouse-doc/references/MERGE.md +0 -498
- package/bin/skills/lakehouse-doc/references/ManageAccounts.md +0 -184
- package/bin/skills/lakehouse-doc/references/ManagingFilesonDatalakeVolumewithZettapark.md +0 -145
- package/bin/skills/lakehouse-doc/references/MigrateSnowflakeRealtimeETLPipelinetoClickzettaLakehouse.md +0 -865
- package/bin/skills/lakehouse-doc/references/Migrate_Spark_DataEngineeringBestPractices_Project_to_Lakehouse.md +0 -292
- package/bin/skills/lakehouse-doc/references/ModernDataStackWithEcosystemTools.md +0 -1
- package/bin/skills/lakehouse-doc/references/N8N_AI_Workflow_Integration.md +0 -1
- package/bin/skills/lakehouse-doc/references/N8N_Integrated_with_LakehouseMCPServer.md +0 -128
- package/bin/skills/lakehouse-doc/references/Notebook.md +0 -109
- package/bin/skills/lakehouse-doc/references/NotesandGuidelinesforUsingPartitionTables.md +0 -1627
- package/bin/skills/lakehouse-doc/references/OPTIMIZE.md +0 -80
- package/bin/skills/lakehouse-doc/references/OptimizingComputingResources.md +0 -1
- package/bin/skills/lakehouse-doc/references/Overview.md +0 -1
- package/bin/skills/lakehouse-doc/references/PUT.md +0 -70
- package/bin/skills/lakehouse-doc/references/PerformingVectorandScalarRetrievalinheSameTableinLakehouse.md +0 -84
- package/bin/skills/lakehouse-doc/references/Permission_application.md +0 -43
- package/bin/skills/lakehouse-doc/references/PowerBI.md +0 -113
- package/bin/skills/lakehouse-doc/references/PythonSDKVersionHistory.md +0 -24
- package/bin/skills/lakehouse-doc/references/PythonSample_put_gharchive2oss.md +0 -153
- package/bin/skills/lakehouse-doc/references/PythonSample_put_github_rt_events.md +0 -336
- package/bin/skills/lakehouse-doc/references/PythonSqlAlchemyVersionHistory.md +0 -23
- package/bin/skills/lakehouse-doc/references/PythonTaskDev.md +0 -1
- package/bin/skills/lakehouse-doc/references/Python_Task.md +0 -28
- package/bin/skills/lakehouse-doc/references/Query_SnowflakeOpenCatalog_Icebergtable.md +0 -114
- package/bin/skills/lakehouse-doc/references/QuickStartwithCopycommand.md +0 -79
- package/bin/skills/lakehouse-doc/references/README.md +0 -1
- package/bin/skills/lakehouse-doc/references/REFRESH.md +0 -37
- package/bin/skills/lakehouse-doc/references/REMOTEFUNCTION.md +0 -1
- package/bin/skills/lakehouse-doc/references/RN_2023-08-07.md +0 -67
- package/bin/skills/lakehouse-doc/references/RN_2023-09-05.md +0 -75
- package/bin/skills/lakehouse-doc/references/RN_2023-09-18.md +0 -50
- package/bin/skills/lakehouse-doc/references/RN_2023-09-20.md +0 -55
- package/bin/skills/lakehouse-doc/references/RN_2023-10-25.md +0 -102
- package/bin/skills/lakehouse-doc/references/RN_2023-11-09.md +0 -84
- package/bin/skills/lakehouse-doc/references/RN_2023-12-25.md +0 -84
- package/bin/skills/lakehouse-doc/references/RN_2024-01-05.md +0 -78
- package/bin/skills/lakehouse-doc/references/RN_2024-02-05.md +0 -87
- package/bin/skills/lakehouse-doc/references/RN_2024-03-22.md +0 -76
- package/bin/skills/lakehouse-doc/references/RN_2024-04-10.md +0 -61
- package/bin/skills/lakehouse-doc/references/RN_2024-04-16.md +0 -38
- package/bin/skills/lakehouse-doc/references/RN_2024-05-10.md +0 -47
- package/bin/skills/lakehouse-doc/references/RN_2024-05-15.md +0 -43
- package/bin/skills/lakehouse-doc/references/RN_2024-05-24.md +0 -143
- package/bin/skills/lakehouse-doc/references/RN_2024-06-06.md +0 -59
- package/bin/skills/lakehouse-doc/references/RN_2024-06-07.md +0 -71
- package/bin/skills/lakehouse-doc/references/RN_2024-06-27.md +0 -55
- package/bin/skills/lakehouse-doc/references/RN_2024-07-22.md +0 -121
- package/bin/skills/lakehouse-doc/references/RN_2024-07-24.md +0 -58
- package/bin/skills/lakehouse-doc/references/RN_2024-08-07.md +0 -42
- package/bin/skills/lakehouse-doc/references/RN_2024-09-26.md +0 -106
- package/bin/skills/lakehouse-doc/references/RN_2024-10-15.md +0 -49
- package/bin/skills/lakehouse-doc/references/RN_2024_11_11.md +0 -50
- package/bin/skills/lakehouse-doc/references/RN_2024_12_12.md +0 -52
- package/bin/skills/lakehouse-doc/references/RN_2024_12_25.md +0 -40
- package/bin/skills/lakehouse-doc/references/RN_2025-03-05.md +0 -68
- package/bin/skills/lakehouse-doc/references/RN_2025-04-01.md +0 -74
- package/bin/skills/lakehouse-doc/references/RN_2025-05-20.md +0 -90
- package/bin/skills/lakehouse-doc/references/RN_2025-07-03.md +0 -100
- package/bin/skills/lakehouse-doc/references/RN_2025-08-25.md +0 -106
- package/bin/skills/lakehouse-doc/references/RN_2025_03_03.md +0 -141
- package/bin/skills/lakehouse-doc/references/RN_2025_04_22.md +0 -110
- package/bin/skills/lakehouse-doc/references/RN_2025_07_15.md +0 -60
- package/bin/skills/lakehouse-doc/references/RN_2025_10_23.md +0 -85
- package/bin/skills/lakehouse-doc/references/RN_2025_10_30.md +0 -68
- package/bin/skills/lakehouse-doc/references/RN_2025_12_17.md +0 -71
- package/bin/skills/lakehouse-doc/references/RN_2026_1_30-2.0.0.md +0 -43
- package/bin/skills/lakehouse-doc/references/RN_LH_2025_12_30.md +0 -73
- package/bin/skills/lakehouse-doc/references/RN_LH_2026_03_13.md +0 -47
- package/bin/skills/lakehouse-doc/references/Refactor_ELT_practice.md +0 -241
- package/bin/skills/lakehouse-doc/references/RemoteFunctionAsUDF.md +0 -1
- package/bin/skills/lakehouse-doc/references/RemoteFunctionBestPractice.md +0 -350
- package/bin/skills/lakehouse-doc/references/RemoteFunctionDevGuidePython3.md +0 -571
- package/bin/skills/lakehouse-doc/references/RemoteFunctionOnACR.md +0 -249
- package/bin/skills/lakehouse-doc/references/RemoteFunctionintro.md +0 -54
- package/bin/skills/lakehouse-doc/references/RemoteFunction/344/273/213/347/273/215.md +0 -1
- package/bin/skills/lakehouse-doc/references/RemoteFunction/345/274/200/345/217/221/346/214/207/345/215/227Python3.md +0 -1
- package/bin/skills/lakehouse-doc/references/RemoteFunction/346/234/200/344/275/263/345/256/236/350/267/265.md +0 -1
- package/bin/skills/lakehouse-doc/references/RevokePriveleges.md +0 -98
- package/bin/skills/lakehouse-doc/references/SCHEMA.md +0 -48
- package/bin/skills/lakehouse-doc/references/SCHEMADDL.md +0 -0
- package/bin/skills/lakehouse-doc/references/SHOW-INDEX.md +0 -22
- package/bin/skills/lakehouse-doc/references/SHOWCONNECTIONS.md +0 -44
- package/bin/skills/lakehouse-doc/references/SHOWFUNCTIONS.md +0 -38
- package/bin/skills/lakehouse-doc/references/SHOWGRANTS.md +0 -62
- package/bin/skills/lakehouse-doc/references/SHOWROLES.md +0 -59
- package/bin/skills/lakehouse-doc/references/SHOWTABLES.md +0 -46
- package/bin/skills/lakehouse-doc/references/SHOWUSERS.md +0 -26
- package/bin/skills/lakehouse-doc/references/SMALLINT.md +0 -48
- package/bin/skills/lakehouse-doc/references/SQL_CREATE_TABLE_GUIDE.md +0 -1210
- package/bin/skills/lakehouse-doc/references/SQL_DML_Considerations.md +0 -601
- package/bin/skills/lakehouse-doc/references/SQL_Join_Guide.md +0 -655
- package/bin/skills/lakehouse-doc/references/SQL_SELECT_Considerations.md +0 -1818
- package/bin/skills/lakehouse-doc/references/SQL_With_CTE_Guide.md +0 -1510
- package/bin/skills/lakehouse-doc/references/SQL_customers.md +0 -74
- package/bin/skills/lakehouse-doc/references/SQL_revenue.md +0 -31
- package/bin/skills/lakehouse-doc/references/STRING.md +0 -80
- package/bin/skills/lakehouse-doc/references/STRUCT.md +0 -33
- package/bin/skills/lakehouse-doc/references/SUMMARY.md +0 -1279
- package/bin/skills/lakehouse-doc/references/Security_system_inventory_and_optimization_based_Information_Schema.md +0 -412
- package/bin/skills/lakehouse-doc/references/Server_data_for_AI.md +0 -15
- package/bin/skills/lakehouse-doc/references/SlowlyChangingDimensionsInLakehouseUsingStreamsandTasks.md +0 -616
- package/bin/skills/lakehouse-doc/references/Spark_Lakehouse_iceberg_REST.md +0 -151
- package/bin/skills/lakehouse-doc/references/StudioDI_PrivateLinkVPC_fromRDS.md +0 -105
- package/bin/skills/lakehouse-doc/references/Supported_Cloud_Platforms.md +0 -40
- package/bin/skills/lakehouse-doc/references/TABLE.md +0 -49
- package/bin/skills/lakehouse-doc/references/TIMESTAMP.md +0 -56
- package/bin/skills/lakehouse-doc/references/TIMETRAVEL.md +0 -207
- package/bin/skills/lakehouse-doc/references/TINYINT.md +0 -63
- package/bin/skills/lakehouse-doc/references/TPC-H100G_experience.md +0 -49
- package/bin/skills/lakehouse-doc/references/TRUNCATE.md +0 -144
- package/bin/skills/lakehouse-doc/references/TableDesign.md +0 -270
- package/bin/skills/lakehouse-doc/references/TableauConnectToLakehouse.md +0 -64
- package/bin/skills/lakehouse-doc/references/Tutorials.md +0 -1
- package/bin/skills/lakehouse-doc/references/UNDROP-TABLE.md +0 -163
- package/bin/skills/lakehouse-doc/references/UPDATE.md +0 -70
- package/bin/skills/lakehouse-doc/references/USESCHEMA.md +0 -53
- package/bin/skills/lakehouse-doc/references/UnifiedWorkflowIntro.md +0 -31
- package/bin/skills/lakehouse-doc/references/UnifiedWorkflow_demo.md +0 -175
- package/bin/skills/lakehouse-doc/references/Unstructured_io.md +0 -735
- package/bin/skills/lakehouse-doc/references/VARCHARleghth.md +0 -42
- package/bin/skills/lakehouse-doc/references/VIEW.md +0 -47
- package/bin/skills/lakehouse-doc/references/Volume_LIST.md +0 -52
- package/bin/skills/lakehouse-doc/references/WINDOWFUNCTION.md +0 -561
- package/bin/skills/lakehouse-doc/references/WITH.md +0 -41
- package/bin/skills/lakehouse-doc/references/ZettaparkQuickStart.md +0 -453
- package/bin/skills/lakehouse-doc/references/Zettapark_Data_Engineering_Demo.md +0 -348
- package/bin/skills/lakehouse-doc/references/a_comprehensive_guide_to_ingesting_data_into_clickzetta_lakehouse.md +0 -66
- package/bin/skills/lakehouse-doc/references/access-control-configration.md +0 -249
- package/bin/skills/lakehouse-doc/references/access-control-general.md +0 -82
- package/bin/skills/lakehouse-doc/references/access-control.md +0 -240
- package/bin/skills/lakehouse-doc/references/account_user_management.md +0 -105
- package/bin/skills/lakehouse-doc/references/accountfunds.md +0 -87
- package/bin/skills/lakehouse-doc/references/agg_function.md +0 -1
- package/bin/skills/lakehouse-doc/references/ai_ready_data_overview.md +0 -13
- package/bin/skills/lakehouse-doc/references/airbyte.md +0 -95
- package/bin/skills/lakehouse-doc/references/alert.md +0 -143
- package/bin/skills/lakehouse-doc/references/alicloud-arn-externalid.md +0 -51
- package/bin/skills/lakehouse-doc/references/alicloud_byos_configration.md +0 -129
- package/bin/skills/lakehouse-doc/references/aliyun_storage_connection.md +0 -135
- package/bin/skills/lakehouse-doc/references/alter-dynamic-table.md +0 -375
- package/bin/skills/lakehouse-doc/references/alter-external-schema.md +0 -20
- package/bin/skills/lakehouse-doc/references/alter-materialzied-view.md +0 -238
- package/bin/skills/lakehouse-doc/references/alter-share.md +0 -43
- package/bin/skills/lakehouse-doc/references/alter-user.md +0 -13
- package/bin/skills/lakehouse-doc/references/alter-vcluster.md +0 -134
- package/bin/skills/lakehouse-doc/references/alter-worksapce.md +0 -55
- package/bin/skills/lakehouse-doc/references/alter.md +0 -35
- package/bin/skills/lakehouse-doc/references/analysis_internet_data_nyc_green_data.md +0 -449
- package/bin/skills/lakehouse-doc/references/analytics_cluster_best_practices.md +0 -377
- package/bin/skills/lakehouse-doc/references/analyze-table.md +0 -58
- package/bin/skills/lakehouse-doc/references/array_size.md +0 -34
- package/bin/skills/lakehouse-doc/references/authentication.md +0 -53
- package/bin/skills/lakehouse-doc/references/authoritymanagement.md +0 -1
- package/bin/skills/lakehouse-doc/references/auto-index.md +0 -57
- package/bin/skills/lakehouse-doc/references/aws_storage_connection.md +0 -114
- package/bin/skills/lakehouse-doc/references/backfilling_data.md +0 -60
- package/bin/skills/lakehouse-doc/references/batch_sync.md +0 -54
- package/bin/skills/lakehouse-doc/references/batch_sync_Sop.md +0 -135
- package/bin/skills/lakehouse-doc/references/batchloadparquertfileintoLakehouse.md +0 -79
- package/bin/skills/lakehouse-doc/references/bestpractice_bazhuanyu.md +0 -1
- package/bin/skills/lakehouse-doc/references/billing.md +0 -62
- package/bin/skills/lakehouse-doc/references/bitmap-type.md +0 -524
- package/bin/skills/lakehouse-doc/references/bitmap_uba_guide.md +0 -1190
- package/bin/skills/lakehouse-doc/references/bloomfilter-summary.md +0 -164
- package/bin/skills/lakehouse-doc/references/book.json +0 -17
- package/bin/skills/lakehouse-doc/references/bring_your_own_storage.md +0 -1
- package/bin/skills/lakehouse-doc/references/build-inverted-index.md +0 -27
- package/bin/skills/lakehouse-doc/references/build_rag_with_langchain.md +0 -616
- package/bin/skills/lakehouse-doc/references/bulkload-summary.md +0 -37
- package/bin/skills/lakehouse-doc/references/bulkloadv1-java-sdk.md +0 -178
- package/bin/skills/lakehouse-doc/references/bulkloadv1-python-sdk.md +0 -169
- package/bin/skills/lakehouse-doc/references/byos_general.md +0 -165
- package/bin/skills/lakehouse-doc/references/byos_tencentcloud_configration.md +0 -138
- package/bin/skills/lakehouse-doc/references/cache-command.md +0 -39
- package/bin/skills/lakehouse-doc/references/cancel-job.md +0 -51
- package/bin/skills/lakehouse-doc/references/cardinality_array.md +0 -45
- package/bin/skills/lakehouse-doc/references/charge_analysis_with_lakehouse_mcp_server.md +0 -393
- package/bin/skills/lakehouse-doc/references/clone-doc.md +0 -111
- package/bin/skills/lakehouse-doc/references/cloud_object_storage.md +0 -1
- package/bin/skills/lakehouse-doc/references/cluster-table-guide.md +0 -68
- package/bin/skills/lakehouse-doc/references/cluster-table.md +0 -64
- package/bin/skills/lakehouse-doc/references/composite_task.md +0 -178
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_3rd_tools.md +0 -11
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_dbv_sql_put.md +0 -48
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_environment_and_data_generate.md +0 -627
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_javasdk_buckload_realtime.md +0 -740
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_kafka_realtime_sync.md +0 -71
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_local_file_into_table_by_studio.md +0 -64
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_overview.md +0 -66
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_pipe_kafka.md +0 -7
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_pipe_oss.md +0 -7
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_studio_batchload_public_network.md +0 -52
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_studio_python_node.md +0 -111
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_studio_realtime_cdc_public_network.md +0 -249
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_studio_sql_insert.md +0 -180
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_zettapark_put_file_to_lake.md +0 -206
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_zettapark_save_as_table.md +0 -79
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_zettapark_sql_insert.md +0 -113
- package/bin/skills/lakehouse-doc/references/computation.md +0 -6
- package/bin/skills/lakehouse-doc/references/concurrency_scaling.md +0 -57
- package/bin/skills/lakehouse-doc/references/config-datasource.md +0 -79
- package/bin/skills/lakehouse-doc/references/config_volume_dify_storage.md +0 -254
- package/bin/skills/lakehouse-doc/references/connect-with-cli.md +0 -155
- package/bin/skills/lakehouse-doc/references/connect_to_Lakehouse.md +0 -1
- package/bin/skills/lakehouse-doc/references/connection-guide.md +0 -61
- package/bin/skills/lakehouse-doc/references/continue-job.md +0 -260
- package/bin/skills/lakehouse-doc/references/conversational_analytics_datagpt.md +0 -1
- package/bin/skills/lakehouse-doc/references/copy-into-table.md +0 -398
- package/bin/skills/lakehouse-doc/references/cos_storage_connection.md +0 -73
- package/bin/skills/lakehouse-doc/references/cos_volume_creation.md +0 -39
- package/bin/skills/lakehouse-doc/references/cost_management.md +0 -1
- package/bin/skills/lakehouse-doc/references/create-api-connection.md +0 -363
- package/bin/skills/lakehouse-doc/references/create-catalog-connection.md +0 -220
- package/bin/skills/lakehouse-doc/references/create-dynamic-table.md +0 -910
- package/bin/skills/lakehouse-doc/references/create-external-catalog.md +0 -305
- package/bin/skills/lakehouse-doc/references/create-external-table.md +0 -78
- package/bin/skills/lakehouse-doc/references/create-hive-catalog.md +0 -77
- package/bin/skills/lakehouse-doc/references/create-inverted-index.md +0 -163
- package/bin/skills/lakehouse-doc/references/create-kafka-external.md +0 -300
- package/bin/skills/lakehouse-doc/references/create-schema-from-share.md +0 -45
- package/bin/skills/lakehouse-doc/references/create-share.md +0 -46
- package/bin/skills/lakehouse-doc/references/create-sql-function.md +0 -120
- package/bin/skills/lakehouse-doc/references/create-storage-connection.md +0 -346
- package/bin/skills/lakehouse-doc/references/create-synonym.md +0 -75
- package/bin/skills/lakehouse-doc/references/create-table-ddl.md +0 -405
- package/bin/skills/lakehouse-doc/references/create-table-stream.md +0 -226
- package/bin/skills/lakehouse-doc/references/create-vector-index.md +0 -115
- package/bin/skills/lakehouse-doc/references/create.md +0 -46
- package/bin/skills/lakehouse-doc/references/create_cluster.md +0 -121
- package/bin/skills/lakehouse-doc/references/creating_alicloud_privatelinkendpoint.md +0 -37
- package/bin/skills/lakehouse-doc/references/creating_alicloud_privatelinkservice.md +0 -31
- package/bin/skills/lakehouse-doc/references/creating_tencentcloud_privatelinkendpoint.md +0 -33
- package/bin/skills/lakehouse-doc/references/creating_tencentcloud_privatelinkservice.md +0 -19
- package/bin/skills/lakehouse-doc/references/czguide-intro-to-cdc-using-clickzetta-rtsync-dynamic-tables.md +0 -717
- package/bin/skills/lakehouse-doc/references/data-catalog.md +0 -1
- package/bin/skills/lakehouse-doc/references/data-integration-intro.md +0 -60
- package/bin/skills/lakehouse-doc/references/data-integration.md +0 -10
- package/bin/skills/lakehouse-doc/references/data-lifecycle.md +0 -46
- package/bin/skills/lakehouse-doc/references/data-load-summary.md +0 -71
- package/bin/skills/lakehouse-doc/references/data-mamager-tool.md +0 -1
- package/bin/skills/lakehouse-doc/references/data-recover.md +0 -52
- package/bin/skills/lakehouse-doc/references/data-type.md +0 -1
- package/bin/skills/lakehouse-doc/references/data-types-timestamp-ntz.md +0 -139
- package/bin/skills/lakehouse-doc/references/data.md +0 -1
- package/bin/skills/lakehouse-doc/references/data_catalog.md +0 -106
- package/bin/skills/lakehouse-doc/references/data_clean_with_sql.md +0 -406
- package/bin/skills/lakehouse-doc/references/data_ecosystem.md +0 -1
- package/bin/skills/lakehouse-doc/references/data_ops.md +0 -7
- package/bin/skills/lakehouse-doc/references/data_org.md +0 -1
- package/bin/skills/lakehouse-doc/references/data_privacy.md +0 -50
- package/bin/skills/lakehouse-doc/references/data_result_profile.md +0 -22
- package/bin/skills/lakehouse-doc/references/data_security.md +0 -1
- package/bin/skills/lakehouse-doc/references/data_sharing_between_accounts_guide.md +0 -331
- package/bin/skills/lakehouse-doc/references/data_transfer_datalake.md +0 -1
- package/bin/skills/lakehouse-doc/references/data_visualization.md +0 -96
- package/bin/skills/lakehouse-doc/references/databricks_yunqi_integration_guide_v2.md +0 -811
- package/bin/skills/lakehouse-doc/references/datagpt_bestpractice.md +0 -1
- package/bin/skills/lakehouse-doc/references/datagpt_data_source.md +0 -58
- package/bin/skills/lakehouse-doc/references/datagpt_get_accurate_answers.md +0 -34
- package/bin/skills/lakehouse-doc/references/datagpt_intro.md +0 -1
- package/bin/skills/lakehouse-doc/references/datagpt_quickstart.md +0 -94
- package/bin/skills/lakehouse-doc/references/datagpt_tutorial.md +0 -1
- package/bin/skills/lakehouse-doc/references/datalake_FAQ.md +0 -54
- package/bin/skills/lakehouse-doc/references/datalake_overview.md +0 -17
- package/bin/skills/lakehouse-doc/references/datalake_privilege.md +0 -55
- package/bin/skills/lakehouse-doc/references/datalake_query_ingest.md +0 -18
- package/bin/skills/lakehouse-doc/references/datalake_unstructure_data.md +0 -3
- package/bin/skills/lakehouse-doc/references/datalake_volume.md +0 -92
- package/bin/skills/lakehouse-doc/references/datalake_volume_anlytics.md +0 -1
- package/bin/skills/lakehouse-doc/references/datalake_volume_object.md +0 -1
- package/bin/skills/lakehouse-doc/references/dataops_practice.md +0 -105
- package/bin/skills/lakehouse-doc/references/datasharing.md +0 -322
- package/bin/skills/lakehouse-doc/references/datasharing_catalog.md +0 -1
- package/bin/skills/lakehouse-doc/references/datasource_ip_whitelist.md +0 -93
- package/bin/skills/lakehouse-doc/references/datasources.md +0 -62
- package/bin/skills/lakehouse-doc/references/datatype-cast.md +0 -105
- package/bin/skills/lakehouse-doc/references/datatype-conversion.md +0 -85
- package/bin/skills/lakehouse-doc/references/datetime_patterns.md +0 -61
- package/bin/skills/lakehouse-doc/references/datus_lakehouse_installation.md +0 -376
- package/bin/skills/lakehouse-doc/references/datus_lakehouse_solution_overview.md +0 -148
- package/bin/skills/lakehouse-doc/references/db_dw_connection.md +0 -1
- package/bin/skills/lakehouse-doc/references/default-value.md +0 -89
- package/bin/skills/lakehouse-doc/references/delta-lake.md +0 -185
- package/bin/skills/lakehouse-doc/references/desc-catalog-table.md +0 -33
- package/bin/skills/lakehouse-doc/references/desc-catalog.md +0 -31
- package/bin/skills/lakehouse-doc/references/desc-dynamic-table.md +0 -62
- package/bin/skills/lakehouse-doc/references/desc-external-schemas.md +0 -66
- package/bin/skills/lakehouse-doc/references/desc-external-table.md +0 -70
- package/bin/skills/lakehouse-doc/references/desc-function.md +0 -16
- package/bin/skills/lakehouse-doc/references/desc-history-dynamic-table.md +0 -50
- package/bin/skills/lakehouse-doc/references/desc-history-table.md +0 -73
- package/bin/skills/lakehouse-doc/references/desc-history.md +0 -73
- package/bin/skills/lakehouse-doc/references/desc-share.md +0 -59
- package/bin/skills/lakehouse-doc/references/desc-table-stream.md +0 -44
- package/bin/skills/lakehouse-doc/references/desc-vcluster.md +0 -42
- package/bin/skills/lakehouse-doc/references/describe.md +0 -38
- package/bin/skills/lakehouse-doc/references/dify_config_lakehouse_as_vectordb.md +0 -286
- package/bin/skills/lakehouse-doc/references/dify_yunqilakehouse_integration_overview.md +0 -188
- package/bin/skills/lakehouse-doc/references/discovery_analysis_data_in_json_file_on_external_volume.md +0 -625
- package/bin/skills/lakehouse-doc/references/discovery_analysis_data_in_parquert_file_on_external_volume.md +0 -599
- package/bin/skills/lakehouse-doc/references/download-data.md +0 -1
- package/bin/skills/lakehouse-doc/references/drop-dynamic-table.md +0 -46
- package/bin/skills/lakehouse-doc/references/drop-external-schema.md +0 -44
- package/bin/skills/lakehouse-doc/references/drop-external-table.md +0 -43
- package/bin/skills/lakehouse-doc/references/drop-function.md +0 -36
- package/bin/skills/lakehouse-doc/references/drop-share.md +0 -43
- package/bin/skills/lakehouse-doc/references/drop-synonym.md +0 -35
- package/bin/skills/lakehouse-doc/references/drop-table-stream.md +0 -42
- package/bin/skills/lakehouse-doc/references/drop-vcluster.md +0 -52
- package/bin/skills/lakehouse-doc/references/drop.md +0 -32
- package/bin/skills/lakehouse-doc/references/dynamic-mask.md +0 -201
- package/bin/skills/lakehouse-doc/references/dynamic-table-incre.md +0 -62
- package/bin/skills/lakehouse-doc/references/dynamic-table-introduce.md +0 -339
- package/bin/skills/lakehouse-doc/references/dynamicTable-DML-sql.md +0 -52
- package/bin/skills/lakehouse-doc/references/dynamicTable-dml.md +0 -48
- package/bin/skills/lakehouse-doc/references/dynamicTable-parmaters.md +0 -425
- package/bin/skills/lakehouse-doc/references/dynamic_table_summary.md +0 -366
- package/bin/skills/lakehouse-doc/references/dynamic_table_task.md +0 -73
- package/bin/skills/lakehouse-doc/references/dynamic_table_using_studio.md +0 -159
- package/bin/skills/lakehouse-doc/references/dynamictable.md +0 -56
- package/bin/skills/lakehouse-doc/references/eco_integration/Zeppelin.md +0 -84
- package/bin/skills/lakehouse-doc/references/eco_integration/airbyte.md +0 -75
- package/bin/skills/lakehouse-doc/references/eco_integration/datagrip-lakehouse.md +0 -56
- package/bin/skills/lakehouse-doc/references/eco_integration/datax.md +0 -154
- package/bin/skills/lakehouse-doc/references/eco_integration/dbeaver-lakehouse.md +0 -67
- package/bin/skills/lakehouse-doc/references/eco_integration/dbt.md +0 -139
- package/bin/skills/lakehouse-doc/references/eco_integration/rath.md +0 -87
- package/bin/skills/lakehouse-doc/references/eco_integration/sqlline.md +0 -82
- package/bin/skills/lakehouse-doc/references/eco_integration/sqlworkbench-j-lakehouse.md +0 -54
- package/bin/skills/lakehouse-doc/references/eco_integration/streamlit.md +0 -117
- package/bin/skills/lakehouse-doc/references/eco_integration/superset.md +0 -109
- package/bin/skills/lakehouse-doc/references/eco_integration/trino.md +0 -75
- package/bin/skills/lakehouse-doc/references/ecosystem-all.md +0 -24
- package/bin/skills/lakehouse-doc/references/export_data_with_data-integration.md +0 -3
- package/bin/skills/lakehouse-doc/references/external-Volume.md +0 -10
- package/bin/skills/lakehouse-doc/references/external-catalog-summary.md +0 -42
- package/bin/skills/lakehouse-doc/references/external-function-summary.md +0 -0
- package/bin/skills/lakehouse-doc/references/external-hudi-table.md +0 -187
- package/bin/skills/lakehouse-doc/references/external-table-guide.md +0 -96
- package/bin/skills/lakehouse-doc/references/external_object_user_guide.md +0 -298
- package/bin/skills/lakehouse-doc/references/external_volume.md +0 -1
- package/bin/skills/lakehouse-doc/references/f6fc6447ee.md +0 -151
- package/bin/skills/lakehouse-doc/references/federation-query.md +0 -1
- package/bin/skills/lakehouse-doc/references/finebi-mysql.md +0 -104
- package/bin/skills/lakehouse-doc/references/flink-write-connector.md +0 -695
- package/bin/skills/lakehouse-doc/references/from_lakehouse_to_volume.md +0 -98
- package/bin/skills/lakehouse-doc/references/from_volume_to_table.md +0 -45
- package/bin/skills/lakehouse-doc/references/fulltext_indexes_guide.md +0 -1180
- package/bin/skills/lakehouse-doc/references/generated-column.md +0 -113
- package/bin/skills/lakehouse-doc/references/generated_columns_guide.md +0 -847
- package/bin/skills/lakehouse-doc/references/geospatial_analysis.md +0 -558
- package/bin/skills/lakehouse-doc/references/get-started-with-sample-data.md +0 -83
- package/bin/skills/lakehouse-doc/references/getting_started_with_vcluster_for_processing_analytics.md +0 -471
- package/bin/skills/lakehouse-doc/references/grant-to-share.md +0 -55
- package/bin/skills/lakehouse-doc/references/grant-user-privileges.md +0 -100
- package/bin/skills/lakehouse-doc/references/groupby.md +0 -1260
- package/bin/skills/lakehouse-doc/references/guides-overview-connecting.md +0 -46
- package/bin/skills/lakehouse-doc/references/ide.md +0 -2
- package/bin/skills/lakehouse-doc/references/ifnull.md +0 -72
- package/bin/skills/lakehouse-doc/references/ilike.md +0 -89
- package/bin/skills/lakehouse-doc/references/import_data_with_data-integration.md +0 -3
- package/bin/skills/lakehouse-doc/references/importdatabypythonintoLakehouse.md +0 -134
- package/bin/skills/lakehouse-doc/references/index2.md +0 -1
- package/bin/skills/lakehouse-doc/references/instance-informaiton-schema-summary.md +0 -51
- package/bin/skills/lakehouse-doc/references/instance-informaiton-schema.md +0 -278
- package/bin/skills/lakehouse-doc/references/instance-information_schema.md +0 -1
- package/bin/skills/lakehouse-doc/references/internal_volume.md +0 -271
- package/bin/skills/lakehouse-doc/references/intro-supported-features.md +0 -48
- package/bin/skills/lakehouse-doc/references/inverted-index.md +0 -445
- package/bin/skills/lakehouse-doc/references/inverted_idx_bm25_param.md +0 -251
- package/bin/skills/lakehouse-doc/references/inverted_idx_multi-match.md +0 -89
- package/bin/skills/lakehouse-doc/references/is-null.md +0 -59
- package/bin/skills/lakehouse-doc/references/it-operation-management.md +0 -1
- package/bin/skills/lakehouse-doc/references/java_reference/client.md +0 -49
- package/bin/skills/lakehouse-doc/references/java_reference/java-sdk-release-notes.md +0 -32
- package/bin/skills/lakehouse-doc/references/java_reference/java-sdk-summary.md +0 -138
- package/bin/skills/lakehouse-doc/references/java_reference/jdbc.md +0 -211
- package/bin/skills/lakehouse-doc/references/java_reference/realtime-upload.md +0 -295
- package/bin/skills/lakehouse-doc/references/jdbc_task.md +0 -37
- package/bin/skills/lakehouse-doc/references/job-manage.md +0 -1
- package/bin/skills/lakehouse-doc/references/job_history_analysis_with_information_schema.md +0 -597
- package/bin/skills/lakehouse-doc/references/jobprofile-bestpractices.md +0 -104
- package/bin/skills/lakehouse-doc/references/json_analyze.md +0 -422
- package/bin/skills/lakehouse-doc/references/json_data_process_guide.md +0 -881
- package/bin/skills/lakehouse-doc/references/json_guide_for_complex_biz_cases.md +0 -1899
- package/bin/skills/lakehouse-doc/references/kafka-external-table.md +0 -103
- package/bin/skills/lakehouse-doc/references/lakehouse-ai.md +0 -1
- package/bin/skills/lakehouse-doc/references/lakehouse-quick-experience_guide.md +0 -964
- package/bin/skills/lakehouse-doc/references/lakehouse-table-stream-best-practices.md +0 -500
- package/bin/skills/lakehouse-doc/references/lakehouse_billing_anomaly_alert_configuration_guide.md +0 -226
- package/bin/skills/lakehouse-doc/references/lakehouse_instance_overview.md +0 -39
- package/bin/skills/lakehouse-doc/references/lakehouse_table_design_guide.md +0 -2676
- package/bin/skills/lakehouse-doc/references/langchain.md +0 -71
- package/bin/skills/lakehouse-doc/references/langchain_basic_samples.md +0 -606
- package/bin/skills/lakehouse-doc/references/langchain_integration.md +0 -1
- package/bin/skills/lakehouse-doc/references/left.md +0 -51
- package/bin/skills/lakehouse-doc/references/like.md +0 -115
- package/bin/skills/lakehouse-doc/references/list-partition.md +0 -121
- package/bin/skills/lakehouse-doc/references/llama-index.md +0 -57
- package/bin/skills/lakehouse-doc/references/llms-full.txt +0 -1286
- package/bin/skills/lakehouse-doc/references/llms.txt +0 -71
- package/bin/skills/lakehouse-doc/references/load-data-local.md +0 -82
- package/bin/skills/lakehouse-doc/references/load-data-oss.md +0 -174
- package/bin/skills/lakehouse-doc/references/management.md +0 -5
- package/bin/skills/lakehouse-doc/references/managing-instance.md +0 -67
- package/bin/skills/lakehouse-doc/references/mapjoin.md +0 -62
- package/bin/skills/lakehouse-doc/references/materialized_ddl.md +0 -1
- package/bin/skills/lakehouse-doc/references/meta-objects-and-privileges.md +0 -271
- package/bin/skills/lakehouse-doc/references/metabase.md +0 -73
- package/bin/skills/lakehouse-doc/references/metadata_show_desc_command_guide.md +0 -711
- package/bin/skills/lakehouse-doc/references/metrics_answer_build.md +0 -46
- package/bin/skills/lakehouse-doc/references/mindsdb.md +0 -269
- package/bin/skills/lakehouse-doc/references/monitoring_and_alerting.md +0 -177
- package/bin/skills/lakehouse-doc/references/monitoring_item_specification.md +0 -44
- package/bin/skills/lakehouse-doc/references/multi_cloud_instance_manage_with_mcp_server.md +0 -281
- package/bin/skills/lakehouse-doc/references/multitable_batch_sync.md +0 -463
- package/bin/skills/lakehouse-doc/references/multitable_realtime_sync.md +0 -412
- package/bin/skills/lakehouse-doc/references/multitable_realtime_sync_sop.md +0 -593
- package/bin/skills/lakehouse-doc/references/n8n_Integreated_with_lakehouse_mcp_server.md +0 -494
- package/bin/skills/lakehouse-doc/references/navicat-mysql.md +0 -65
- package/bin/skills/lakehouse-doc/references/network_policy.md +0 -281
- package/bin/skills/lakehouse-doc/references/nyc_green_taxi_data_clean_transform_with_mcp_server.md +0 -315
- package/bin/skills/lakehouse-doc/references/object-model-overview.md +0 -70
- package/bin/skills/lakehouse-doc/references/object_identifier.md +0 -259
- package/bin/skills/lakehouse-doc/references/object_model_design.md +0 -1
- package/bin/skills/lakehouse-doc/references/opensource/travel.md +0 -134
- package/bin/skills/lakehouse-doc/references/operation-maintenance.md +0 -172
- package/bin/skills/lakehouse-doc/references/oss_volume_creation.md +0 -39
- package/bin/skills/lakehouse-doc/references/partition_table.md +0 -344
- package/bin/skills/lakehouse-doc/references/partition_table_guide.md +0 -340
- package/bin/skills/lakehouse-doc/references/performance_optimization.md +0 -1
- package/bin/skills/lakehouse-doc/references/performence_test.md +0 -1
- package/bin/skills/lakehouse-doc/references/permissions-of-built-in-workspace-level-roles.md +0 -131
- package/bin/skills/lakehouse-doc/references/pipe-kafka-bestpractice-1.md +0 -431
- package/bin/skills/lakehouse-doc/references/pipe-kafka-table-stream.md +0 -180
- package/bin/skills/lakehouse-doc/references/pipe-kafka.md +0 -210
- package/bin/skills/lakehouse-doc/references/pipe-storage-object.md +0 -247
- package/bin/skills/lakehouse-doc/references/pipe-summary.md +0 -114
- package/bin/skills/lakehouse-doc/references/pipe-syntax.md +0 -200
- package/bin/skills/lakehouse-doc/references/practice_data_analysis.md +0 -1
- package/bin/skills/lakehouse-doc/references/practice_data_import_and_export.md +0 -1
- package/bin/skills/lakehouse-doc/references/practice_python_task.md +0 -157
- package/bin/skills/lakehouse-doc/references/pricing.md +0 -225
- package/bin/skills/lakehouse-doc/references/primary key.md +0 -86
- package/bin/skills/lakehouse-doc/references/primary-key.md +0 -187
- package/bin/skills/lakehouse-doc/references/privacy-policy.md +0 -364
- package/bin/skills/lakehouse-doc/references/private-link-general.md +0 -68
- package/bin/skills/lakehouse-doc/references/private_link.md +0 -1
- package/bin/skills/lakehouse-doc/references/product-trial-agreement.md +0 -99
- package/bin/skills/lakehouse-doc/references/product_concept.md +0 -1
- package/bin/skills/lakehouse-doc/references/put-get.md +0 -1
- package/bin/skills/lakehouse-doc/references/put_get_volume.md +0 -3
- package/bin/skills/lakehouse-doc/references/python-igs.md +0 -297
- package/bin/skills/lakehouse-doc/references/python_package_install_import_guide.md +0 -53
- package/bin/skills/lakehouse-doc/references/python_reference/connector.md +0 -281
- package/bin/skills/lakehouse-doc/references/python_reference/python-sdk-summary.md +0 -13
- package/bin/skills/lakehouse-doc/references/python_reference/sqlalchemy.md +0 -77
- package/bin/skills/lakehouse-doc/references/python_shell_datasource.md +0 -334
- package/bin/skills/lakehouse-doc/references/query-json-sy.md +0 -47
- package/bin/skills/lakehouse-doc/references/query-syntax.md +0 -234
- package/bin/skills/lakehouse-doc/references/quick_start_batch_sync_data.md +0 -116
- package/bin/skills/lakehouse-doc/references/quick_start_bi_analysis.md +0 -589
- package/bin/skills/lakehouse-doc/references/quick_start_create_workspace.md +0 -58
- package/bin/skills/lakehouse-doc/references/quick_start_data_quality.md +0 -75
- package/bin/skills/lakehouse-doc/references/quick_start_etl.md +0 -131
- package/bin/skills/lakehouse-doc/references/quick_start_monitoring_and_alerting.md +0 -93
- package/bin/skills/lakehouse-doc/references/quick_start_sql_query.md +0 -93
- package/bin/skills/lakehouse-doc/references/quick_start_upload_data.md +0 -69
- package/bin/skills/lakehouse-doc/references/quick_start_user_management.md +0 -73
- package/bin/skills/lakehouse-doc/references/quick_start_workspace.md +0 -72
- package/bin/skills/lakehouse-doc/references/quick_start_workspace_user.md +0 -67
- package/bin/skills/lakehouse-doc/references/quickstart_datashare_between_companies.md +0 -249
- package/bin/skills/lakehouse-doc/references/quickstart_envirment_for_team.md +0 -271
- package/bin/skills/lakehouse-doc/references/quickstart_local_csv.md +0 -99
- package/bin/skills/lakehouse-doc/references/realtime_sync.md +0 -36
- package/bin/skills/lakehouse-doc/references/realtime_sync_and_analysis_practice.md +0 -187
- package/bin/skills/lakehouse-doc/references/realtimesync_m.md +0 -190
- package/bin/skills/lakehouse-doc/references/refresh-history.md +0 -63
- package/bin/skills/lakehouse-doc/references/regexp-statement.md +0 -80
- package/bin/skills/lakehouse-doc/references/releasenotes.md +0 -1
- package/bin/skills/lakehouse-doc/references/releasenotesupdata.md +0 -1
- package/bin/skills/lakehouse-doc/references/remove-volume.md +0 -32
- package/bin/skills/lakehouse-doc/references/restore-dynamic-table.md +0 -126
- package/bin/skills/lakehouse-doc/references/restore.md +0 -127
- package/bin/skills/lakehouse-doc/references/result_cache.md +0 -102
- package/bin/skills/lakehouse-doc/references/revoke-from-share.md +0 -48
- package/bin/skills/lakehouse-doc/references/revoke-user-privileges.md +0 -91
- package/bin/skills/lakehouse-doc/references/right.md +0 -84
- package/bin/skills/lakehouse-doc/references/rlike.md +0 -78
- package/bin/skills/lakehouse-doc/references/rn_2024_11_12.md +0 -63
- package/bin/skills/lakehouse-doc/references/role-privlilige-manage.md +0 -1
- package/bin/skills/lakehouse-doc/references/roles.md +0 -123
- package/bin/skills/lakehouse-doc/references/rom_lakehouse_to_volume.md +0 -1
- package/bin/skills/lakehouse-doc/references/s3_volume_creation.md +0 -37
- package/bin/skills/lakehouse-doc/references/sample-data-using.md +0 -768
- package/bin/skills/lakehouse-doc/references/security_compliance_audit_guide.md +0 -1
- package/bin/skills/lakehouse-doc/references/security_overview.md +0 -41
- package/bin/skills/lakehouse-doc/references/select-catalog-table.md +0 -26
- package/bin/skills/lakehouse-doc/references/semantic_view.md +0 -711
- package/bin/skills/lakehouse-doc/references/setup.md +0 -33
- package/bin/skills/lakehouse-doc/references/share-ddl.md +0 -1
- package/bin/skills/lakehouse-doc/references/show-cached-status.md +0 -34
- package/bin/skills/lakehouse-doc/references/show-catalog-schema.md +0 -48
- package/bin/skills/lakehouse-doc/references/show-catalog-table.md +0 -22
- package/bin/skills/lakehouse-doc/references/show-catalog.md +0 -26
- package/bin/skills/lakehouse-doc/references/show-columns.md +0 -75
- package/bin/skills/lakehouse-doc/references/show-create-dynamic-table.md +0 -44
- package/bin/skills/lakehouse-doc/references/show-create-external-table.md +0 -45
- package/bin/skills/lakehouse-doc/references/show-create-materialized-view.md +0 -43
- package/bin/skills/lakehouse-doc/references/show-create-table.md +0 -107
- package/bin/skills/lakehouse-doc/references/show-dynamic-table.md +0 -68
- package/bin/skills/lakehouse-doc/references/show-external-schemas.md +0 -35
- package/bin/skills/lakehouse-doc/references/show-external-table.md +0 -38
- package/bin/skills/lakehouse-doc/references/show-finctions.md +0 -25
- package/bin/skills/lakehouse-doc/references/show-functions.md +0 -44
- package/bin/skills/lakehouse-doc/references/show-grants-user.md +0 -41
- package/bin/skills/lakehouse-doc/references/show-jobs.md +0 -48
- package/bin/skills/lakehouse-doc/references/show-materialized-view.md +0 -42
- package/bin/skills/lakehouse-doc/references/show-schemas.md +0 -41
- package/bin/skills/lakehouse-doc/references/show-shares.md +0 -94
- package/bin/skills/lakehouse-doc/references/show-synonyms.md +0 -29
- package/bin/skills/lakehouse-doc/references/show-table-streams.md +0 -53
- package/bin/skills/lakehouse-doc/references/show-tables-history.md +0 -91
- package/bin/skills/lakehouse-doc/references/show-tables.md +0 -50
- package/bin/skills/lakehouse-doc/references/show-users.md +0 -46
- package/bin/skills/lakehouse-doc/references/show-vclusters.md +0 -59
- package/bin/skills/lakehouse-doc/references/show-views.md +0 -31
- package/bin/skills/lakehouse-doc/references/show-volume.md +0 -57
- package/bin/skills/lakehouse-doc/references/show.md +0 -168
- package/bin/skills/lakehouse-doc/references/simpletosimple_bazhuayu_datagpt.md +0 -152
- package/bin/skills/lakehouse-doc/references/small_file_optimization.md +0 -101
- package/bin/skills/lakehouse-doc/references/spark-connector-summary.md +0 -329
- package/bin/skills/lakehouse-doc/references/spark-connector-use.md +0 -233
- package/bin/skills/lakehouse-doc/references/sql-parmaters.md +0 -594
- package/bin/skills/lakehouse-doc/references/sql-qualify.md +0 -236
- package/bin/skills/lakehouse-doc/references/sql-reference.md +0 -1
- package/bin/skills/lakehouse-doc/references/sql_data_transfom_NestedDataTypes.md +0 -451
- package/bin/skills/lakehouse-doc/references/sql_data_transform.md +0 -1
- package/bin/skills/lakehouse-doc/references/sql_data_transform_basic.md +0 -576
- package/bin/skills/lakehouse-doc/references/sql_data_transform_cte.md +0 -177
- package/bin/skills/lakehouse-doc/references/sql_data_transform_tips.md +0 -407
- package/bin/skills/lakehouse-doc/references/sql_data_transform_windows.md +0 -430
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/any_value.md +0 -64
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/approx_count_distinct.md +0 -45
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/approx_histogram.md +0 -56
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/approx_percentile.md +0 -65
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/approx_top_k.md +0 -62
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/avg.md +0 -68
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/bit_and.md +0 -81
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/bit_or.md +0 -78
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/bit_xor.md +0 -79
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/bool_and.md +0 -85
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/bool_or.md +0 -86
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/collect_list.md +0 -95
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/collect_list_on_array.md +0 -64
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/collect_set.md +0 -85
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/collect_set_on_array.md +0 -80
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/corr.md +0 -103
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/count.md +0 -96
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/count_distinct.md +0 -96
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/count_if.md +0 -62
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/covar_pop.md +0 -89
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/covar_samp.md +0 -113
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/first_value.md +0 -122
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap.md +0 -42
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_and.md +0 -46
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_and_state.md +0 -47
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_merge.md +0 -37
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_merge_state.md +0 -29
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_or.md +0 -44
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_or_state.md +0 -64
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_state.md +0 -27
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_xor.md +0 -45
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_xor_state.md +0 -99
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_concat.md +0 -53
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/last_value.md +0 -100
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/map_agg.md +0 -79
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/max.md +0 -102
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/max_by.md +0 -67
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/median.md +0 -60
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/min.md +0 -89
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/min_by.md +0 -99
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/percentile.md +0 -69
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/percentile_approx.md +0 -33
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/percentile_rank.md +0 -36
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/std.md +0 -47
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/stddev.md +0 -68
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/stddev_pop.md +0 -67
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/stddev_samp.md +0 -67
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/sum.md +0 -67
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/var_pop.md +0 -65
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/var_samp.md +0 -65
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/variance.md +0 -47
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/wm_concat.md +0 -79
- package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_instance_id.md +0 -16
- package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_schema.md +0 -29
- package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_session_id.md +0 -30
- package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_user.md +0 -29
- package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_user_id.md +0 -21
- package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_vcluster.md +0 -40
- package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_workspace.md +0 -19
- package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_workspace_id.md +0 -24
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/binary_to_bitmap.md +0 -29
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_and.md +0 -39
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_and_cardinality.md +0 -48
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_andnot.md +0 -61
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_andnot_cardinality.md +0 -60
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_build.md +0 -58
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_cardinality.md +0 -43
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_contains.md +0 -50
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_count.md +0 -45
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_empty.md +0 -52
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_has_all.md +0 -49
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_has_any.md +0 -65
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_hash.md +0 -52
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_max.md +0 -26
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_min.md +0 -33
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_or.md +0 -61
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_or_cardinality.md +0 -27
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_remove.md +0 -42
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_subset_in_range.md +0 -60
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_subset_limit.md +0 -36
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_to_array.md +0 -24
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_to_binary.md +0 -28
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_to_string.md +0 -41
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_transform.md +0 -42
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_xor.md +0 -59
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_xor_cardinality.md +0 -30
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/string_to_bitmap.md +0 -56
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/sub_bitmap.md +0 -34
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/to_bitmap.md +0 -78
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitwise_functions/bit_count.md +0 -43
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitwise_functions/bitnot.md +0 -34
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/assert_true.md +0 -44
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/between.md +0 -52
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/case_when.md +0 -99
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/coalesce.md +0 -51
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/decode.md +0 -45
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/if.md +0 -56
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/in.md +0 -33
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/is_false.md +0 -63
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/is_not_null.md +0 -40
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/is_null.md +0 -44
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/is_true.md +0 -63
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/multiif.md +0 -54
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/nvl.md +0 -39
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/raise_error.md +0 -52
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/add_days.md +0 -65
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/add_months.md +0 -38
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/add_years.md +0 -61
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/adddate.md +0 -53
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/convert_timezone.md +0 -46
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/current_date.md +0 -56
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/current_timestamp.md +0 -46
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date.md +0 -42
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date_add.md +0 -35
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date_format.md +0 -48
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date_format_mysql.md +0 -58
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date_format_pg.md +0 -54
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date_sub.md +0 -58
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date_trunc.md +0 -61
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/dateadd.md +0 -60
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/datediff.md +0 -50
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/datetime_patterns.md +0 -61
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/day.md +0 -53
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/dayofmonth.md +0 -36
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/dayofweek.md +0 -31
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/dayofweek_iso.md +0 -56
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/dayofyear.md +0 -40
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/days.md +0 -21
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/extract.md +0 -49
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/from_unixtime.md +0 -43
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/from_utc_timestamp.md +0 -45
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/hour.md +0 -49
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/hours.md +0 -21
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/last_day.md +0 -35
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/localtimestamp.md +0 -19
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/makde_date.md +0 -20
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/make_date.md +0 -20
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/make_dt_interval.md +0 -66
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/make_ym_interval.md +0 -53
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/minute.md +0 -49
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/month.md +0 -39
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/months.md +0 -21
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/months_between.md +0 -18
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/next_day.md +0 -16
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/now.md +0 -53
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/quarter.md +0 -52
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/second.md +0 -34
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/str_to_date_mysql.md +0 -42
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/sub_days.md +0 -66
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/timestamp_micros.md +0 -34
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/timestamp_millis.md +0 -54
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/timestamp_seconds.md +0 -62
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/timestampadd.md +0 -59
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/timestampdiff.md +0 -78
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_date.md +0 -43
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_start_of_interval.md +0 -25
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_timestamp.md +0 -66
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_timestamp_ntz.md +0 -52
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_unix_timestamp.md +0 -59
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_unix_timestamp_ms.md +0 -45
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_unix_timestamp_us.md +0 -40
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_utc_timestamp.md +0 -62
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/toyyyymmdd.md +0 -69
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/trunc.md +0 -38
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/unix_timestamp.md +0 -96
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/week.md +0 -31
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/weekday.md +0 -51
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/weekofyear.md +0 -29
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/year.md +0 -46
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/yearofweek.md +0 -64
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/years.md +0 -21
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/geo_functions/st_geohash.md +0 -34
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/geo_functions/st_latfromgeohash.md +0 -59
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/geo_functions/st_longfromgeohash.md +0 -53
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/hash_functions/bucket.md +0 -33
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/hash_functions/general_hash.md +0 -49
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/hash_functions/hash_combine.md +0 -37
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/hash_functions/hash_combine_commutative.md +0 -54
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/hash_functions/murmurhash.md +0 -36
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/array_sort_by_key.md +0 -42
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/element_at.md +0 -59
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/exists.md +0 -48
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/filter.md +0 -37
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/forall.md +0 -68
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/high_order_functions.md +0 -34
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/map_filter.md +0 -25
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/map_zip_with.md +0 -46
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/transform.md +0 -48
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/transform_keys.md +0 -48
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/transform_values.md +0 -36
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/zip_with.md +0 -38
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/ip_functions/get_ip_info.md +0 -199
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/ip_functions/ipv4_num_to_string.md +0 -29
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/ip_functions/ipv4_string_to_num.md +0 -34
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/ip_functions/ipv6_num_to_string.md +0 -35
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/ip_functions/ipv6_string_to_num.md +0 -46
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/ip_functions/is_ip_address_in_range.md +0 -42
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/from_json.md +0 -86
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/get_json_object.md +0 -83
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_array.md +0 -30
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_contains.md +0 -86
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_extract.md +0 -64
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_minify.md +0 -28
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_normalize.md +0 -36
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_object.md +0 -37
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_parse.md +0 -59
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_remove.md +0 -36
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_type.md +0 -44
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_valid.md +0 -46
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/schema_of_json.md +0 -79
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/to_json.md +0 -68
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/abs.md +0 -46
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/acos.md +0 -30
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/acosh.md +0 -39
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/asin.md +0 -39
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/asinh.md +0 -46
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/atan.md +0 -27
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/atan2.md +0 -43
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/atanh.md +0 -24
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/bround.md +0 -43
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/cbrt.md +0 -56
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/ceil.md +0 -45
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/ceilling.md +0 -47
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/cos.md +0 -41
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/cosh.md +0 -41
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/cot.md +0 -49
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/csc.md +0 -34
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/degrees.md +0 -42
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/div.md +0 -28
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/e.md +0 -34
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/exp.md +0 -32
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/exp2.md +0 -36
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/expm1.md +0 -54
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/floor.md +0 -41
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/greatest.md +0 -36
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/hypot.md +0 -37
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/isnan.md +0 -27
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/least.md +0 -38
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/ln.md +0 -57
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/log.md +0 -39
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/log10.md +0 -47
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/log1p.md +0 -48
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/log2.md +0 -28
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/median.md +0 -25
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/mod.md +0 -35
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/monotonically_increasing_id.md +0 -81
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/negative.md +0 -15
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/operators.md +0 -427
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/pi.md +0 -41
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/pmod.md +0 -31
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/positive.md +0 -15
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/pow.md +0 -39
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/radians.md +0 -30
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/rand.md +0 -39
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/randn.md +0 -26
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/random.md +0 -67
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/round.md +0 -48
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/shiftleft.md +0 -67
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/shiftright.md +0 -70
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/shiftrightunsigned.md +0 -70
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/sign.md +0 -46
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/sin.md +0 -67
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/sinh.md +0 -46
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/sqrt.md +0 -40
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/tan.md +0 -42
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/tanh.md +0 -38
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array.md +0 -46
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_append.md +0 -26
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_compact.md +0 -29
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_contains.md +0 -38
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_distinct.md +0 -43
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_except.md +0 -35
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_intersect.md +0 -39
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_join.md +0 -51
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_max.md +0 -57
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_min.md +0 -60
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_position.md +0 -50
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_prepend.md +0 -26
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_remove.md +0 -34
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_repeat.md +0 -51
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_size.md +0 -32
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_sort.md +0 -46
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_sort_reverse.md +0 -31
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_union.md +0 -36
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/arrays_overlap.md +0 -41
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/arrays_zip.md +0 -50
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/cardinality.md +0 -45
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/concat.md +0 -49
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/concat_ws.md +0 -73
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/element_at.md +0 -34
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/flatten.md +0 -62
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map.md +0 -44
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_concat.md +0 -38
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_contains_key.md +0 -34
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_entries.md +0 -44
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_equal.md +0 -33
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_except.md +0 -34
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_from_arrays.md +0 -28
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_from_entries.md +0 -52
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_keys.md +0 -37
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_values.md +0 -46
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/multimap_from_entries.md +0 -47
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/named_struct.md +0 -55
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/sequence.md +0 -35
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/size.md +0 -34
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/slice.md +0 -43
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/sort_array.md +0 -22
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/struct.md +0 -35
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/struct_insert.md +0 -54
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/struct_update.md +0 -42
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/trans_array.md +0 -147
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/partition/max_pt.md +0 -41
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/search_functions/match_all.md +0 -56
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/search_functions/match_any.md +0 -50
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/search_functions/match_phrase.md +0 -65
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/search_functions/match_phrase_prefix.md +0 -36
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/search_functions/match_regexp.md +0 -30
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/search_functions/tokenize.md +0 -57
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/aes_decrypt.md +0 -40
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/aes_decrypt_mysql.md +0 -30
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/aes_encrypt.md +0 -34
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/aes_encrypt_mysql.md +0 -53
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/ascii.md +0 -36
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/base64.md +0 -27
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/binary.md +0 -46
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/btrim.md +0 -38
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/char.md +0 -55
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/char_length.md +0 -52
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/character_length.md +0 -52
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/chr.md +0 -26
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/collation_sort_key.md +0 -58
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/concat.md +0 -75
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/concat_ws.md +0 -72
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/contains.md +0 -31
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/conv.md +0 -50
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/endswith.md +0 -70
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/find_in_set.md +0 -19
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/format_string.md +0 -53
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/hex.md +0 -45
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/instr.md +0 -41
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/is_ascii.md +0 -27
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/is_utf8.md +0 -27
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/lcase.md +0 -45
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/left.md +0 -35
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/length.md +0 -33
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/lengthb.md +0 -49
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/like.md +0 -63
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/locate.md +0 -42
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/lower.md +0 -61
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/lpad.md +0 -45
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/ltrim.md +0 -48
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/mask.md +0 -37
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/md5.md +0 -71
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/octet_length.md +0 -47
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/parse_url.md +0 -78
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/position.md +0 -35
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/regexp_count.md +0 -115
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/regexp_extract.md +0 -37
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/regexp_extract_all.md +0 -31
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/regexp_instr.md +0 -152
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/regexp_replace.md +0 -34
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/repeat.md +0 -44
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/replace.md +0 -37
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/reverse.md +0 -70
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/right.md +0 -34
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/rlike.md +0 -64
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/rpad.md +0 -53
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/rtrim.md +0 -37
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/sha1.md +0 -67
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/space.md +0 -34
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/split.md +0 -61
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/split_part.md +0 -42
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/startswith.md +0 -70
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/str_to_map.md +0 -60
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/strpos.md +0 -60
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/substr.md +0 -43
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/substring.md +0 -53
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/substring_index.md +0 -46
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/translate.md +0 -43
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/trim.md +0 -54
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/typeof.md +0 -54
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/ucase.md +0 -46
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/unbase64.md +0 -54
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/unhex.md +0 -46
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/upper.md +0 -51
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/url_decode.md +0 -32
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/url_encode.md +0 -33
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/uuid.md +0 -33
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/binary_quantize.md +0 -51
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/cosine_distance.md +0 -53
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/dot_product.md +0 -54
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/hamming_distance.md +0 -57
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/jaccard_distance.md +0 -55
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/l2_distance.md +0 -53
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/l2_norm.md +0 -52
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/l2_normalize.md +0 -54
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/print_vector_bits.md +0 -56
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/vector.md +0 -70
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/vector_add_scalar.md +0 -57
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/explode.md +0 -71
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/inline.md +0 -48
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/json_tuple.md +0 -44
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/load_history.md +0 -17
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/posexplode.md +0 -89
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/read_kafka.md +0 -85
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/stack.md +0 -69
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/table_changes.md +0 -136
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/unnset.md +0 -106
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/avg.md +0 -91
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/count.md +0 -88
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/cume_dist.md +0 -104
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/dense_rank.md +0 -119
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/first.md +0 -159
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/first_value.md +0 -133
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/lag.md +0 -72
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/last.md +0 -166
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/last_value.md +0 -160
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/lead.md +0 -49
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/max.md +0 -167
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/min.md +0 -138
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/nth_value.md +0 -58
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/ntile.md +0 -57
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/percent_rank.md +0 -58
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/rank.md +0 -139
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/row_number.md +0 -141
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/sum.md +0 -105
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/window_clause.md +0 -91
- package/bin/skills/lakehouse-doc/references/sql_practice.md +0 -1
- package/bin/skills/lakehouse-doc/references/sql_rfm.md +0 -181
- package/bin/skills/lakehouse-doc/references/sqlalchemy.md +0 -82
- package/bin/skills/lakehouse-doc/references/ssb-benchmark.md +0 -224
- package/bin/skills/lakehouse-doc/references/sso-configuration.md +0 -157
- package/bin/skills/lakehouse-doc/references/storage_encryption.md +0 -81
- package/bin/skills/lakehouse-doc/references/streaming_data_pipeline_overview.md +0 -20
- package/bin/skills/lakehouse-doc/references/streaming_data_pipeline_overview1.md +0 -1
- package/bin/skills/lakehouse-doc/references/streaming_pipeline_with_dynamic_table.md +0 -66
- package/bin/skills/lakehouse-doc/references/structure_data_analysis.md +0 -229
- package/bin/skills/lakehouse-doc/references/studio_manual.md +0 -1
- package/bin/skills/lakehouse-doc/references/studio_overview.md +0 -71
- package/bin/skills/lakehouse-doc/references/synonym.md +0 -139
- package/bin/skills/lakehouse-doc/references/table-stream-title.md +0 -1
- package/bin/skills/lakehouse-doc/references/table-stream.md +0 -1
- package/bin/skills/lakehouse-doc/references/table-summary.md +0 -1
- package/bin/skills/lakehouse-doc/references/table_funciotn.md +0 -1
- package/bin/skills/lakehouse-doc/references/table_stream.md +0 -118
- package/bin/skills/lakehouse-doc/references/tablesample.md +0 -474
- package/bin/skills/lakehouse-doc/references/tablestream_summary.md +0 -515
- package/bin/skills/lakehouse-doc/references/task-instance-maintenance.md +0 -207
- package/bin/skills/lakehouse-doc/references/task_development.md +0 -56
- package/bin/skills/lakehouse-doc/references/task_group.md +0 -151
- package/bin/skills/lakehouse-doc/references/task_param.md +0 -978
- package/bin/skills/lakehouse-doc/references/task_scheduling.md +0 -1
- package/bin/skills/lakehouse-doc/references/task_scheduling_dependency.md +0 -74
- package/bin/skills/lakehouse-doc/references/taskdevelop.md +0 -268
- package/bin/skills/lakehouse-doc/references/tencentcloud_arn_and_externalid.md +0 -29
- package/bin/skills/lakehouse-doc/references/time-function.md +0 -67
- package/bin/skills/lakehouse-doc/references/timetravel-summary.md +0 -47
- package/bin/skills/lakehouse-doc/references/tools_AI.md +0 -1
- package/bin/skills/lakehouse-doc/references/tools_BI.md +0 -1
- package/bin/skills/lakehouse-doc/references/tpcds-benchmark.md +0 -754
- package/bin/skills/lakehouse-doc/references/tpch-benchmark.md +0 -887
- package/bin/skills/lakehouse-doc/references/transformt-dt.md +0 -291
- package/bin/skills/lakehouse-doc/references/trial-account-quotas-and-limits.md +0 -81
- package/bin/skills/lakehouse-doc/references/tutorial_DataGPT.md +0 -1
- package/bin/skills/lakehouse-doc/references/tutorial_connect_to_lakehouse.md +0 -1
- package/bin/skills/lakehouse-doc/references/tutorial_data_transformation.md +0 -1
- package/bin/skills/lakehouse-doc/references/tutorial_migration.md +0 -1
- package/bin/skills/lakehouse-doc/references/tutorial_virtual_cluster.md +0 -1
- package/bin/skills/lakehouse-doc/references/tutorial_work_with_workspace.md +0 -1
- package/bin/skills/lakehouse-doc/references/tutorial_zettapark.md +0 -1
- package/bin/skills/lakehouse-doc/references/tutorials-streaming-data-pipeline-with_dynamic-table.md +0 -124
- package/bin/skills/lakehouse-doc/references/undrop-dynamic-table.md +0 -79
- package/bin/skills/lakehouse-doc/references/undrop-materialized-view.md +0 -80
- package/bin/skills/lakehouse-doc/references/unifiedWorkflow.md +0 -1
- package/bin/skills/lakehouse-doc/references/unloa-data-summary.md +0 -17
- package/bin/skills/lakehouse-doc/references/unload-data-local.md +0 -72
- package/bin/skills/lakehouse-doc/references/unstructure_data_analysis.md +0 -1
- package/bin/skills/lakehouse-doc/references/unstructured_etl_pipeline_notebook.md +0 -12
- package/bin/skills/lakehouse-doc/references/unstructured_etl_pipeline_user_guide.md +0 -949
- package/bin/skills/lakehouse-doc/references/unstructured_etl_python_api.md +0 -896
- package/bin/skills/lakehouse-doc/references/upload-data.md +0 -1
- package/bin/skills/lakehouse-doc/references/upload_data.md +0 -123
- package/bin/skills/lakehouse-doc/references/use-dbt-dev.md +0 -441
- package/bin/skills/lakehouse-doc/references/use-external-schema.md +0 -42
- package/bin/skills/lakehouse-doc/references/use-java-sdk-releatime-uploaddata.md +0 -168
- package/bin/skills/lakehouse-doc/references/use-java-sdk-upload-dta-local.md +0 -140
- package/bin/skills/lakehouse-doc/references/use-mysql-client.md +0 -189
- package/bin/skills/lakehouse-doc/references/use-python-sdk-upload-data.md +0 -99
- package/bin/skills/lakehouse-doc/references/use-schema.md +0 -49
- package/bin/skills/lakehouse-doc/references/use-vcluster.md +0 -38
- package/bin/skills/lakehouse-doc/references/user-aggrement.md +0 -229
- package/bin/skills/lakehouse-doc/references/user-external-funciton.md +0 -1
- package/bin/skills/lakehouse-doc/references/user-identification.md +0 -58
- package/bin/skills/lakehouse-doc/references/user_permission_grand_guide.md +0 -322
- package/bin/skills/lakehouse-doc/references/using-google-authenticator.md +0 -48
- package/bin/skills/lakehouse-doc/references/using-udf-in-dynamic-table.md +0 -162
- package/bin/skills/lakehouse-doc/references/using_mcp_solute_data_pipeline_issue.md +0 -343
- package/bin/skills/lakehouse-doc/references/uuid.md +0 -47
- package/bin/skills/lakehouse-doc/references/validate_schema_evolution.md +0 -167
- package/bin/skills/lakehouse-doc/references/vc-job.md +0 -1
- package/bin/skills/lakehouse-doc/references/vc_cache.md +0 -71
- package/bin/skills/lakehouse-doc/references/vcluster_size_description.md +0 -98
- package/bin/skills/lakehouse-doc/references/vector-search.md +0 -144
- package/bin/skills/lakehouse-doc/references/vector-type.md +0 -52
- package/bin/skills/lakehouse-doc/references/vector_data_process_guide.md +0 -952
- package/bin/skills/lakehouse-doc/references/vector_search_ai.md +0 -423
- package/bin/skills/lakehouse-doc/references/version-update.md +0 -21
- package/bin/skills/lakehouse-doc/references/virtual-cluster.md +0 -221
- package/bin/skills/lakehouse-doc/references/volume_best_practices.md +0 -1141
- package/bin/skills/lakehouse-doc/references/web-job-history.md +0 -163
- package/bin/skills/lakehouse-doc/references/what_is_clickzetta_lakehouse.md +0 -92
- package/bin/skills/lakehouse-doc/references/window-function-summary.md +0 -134
- package/bin/skills/lakehouse-doc/references/windowframe.md +0 -139
- package/bin/skills/lakehouse-doc/references/working_with_Vclusters.md +0 -171
- package/bin/skills/lakehouse-doc/references/working_with_cache.md +0 -102
- package/bin/skills/lakehouse-doc/references/worksapce-informaiton_schema-views.md +0 -207
- package/bin/skills/lakehouse-doc/references/worksheet.md +0 -15
- package/bin/skills/lakehouse-doc/references/workspace-introduction.md +0 -41
- package/bin/skills/lakehouse-doc/references/worskapce-infroamtionschema-summary.md +0 -56
|
@@ -1,1210 +0,0 @@
|
|
|
1
|
-
# Lakehouse CREATE TABLE使用指南
|
|
2
|
-
|
|
3
|
-
## 概述
|
|
4
|
-
|
|
5
|
-
云器Lakehouse提供了功能完整、性能卓越的建表能力,完美支持从Spark、Hive、MaxCompute、Snowflake、Databricks和传统数据库的平滑迁移。本指南基于官方文档和生产环境验证,为不同技术背景的用户提供专业的迁移路径和最佳实践。
|
|
6
|
-
|
|
7
|
-
### 🎯 **快速导航**
|
|
8
|
-
|
|
9
|
-
* [Spark用户迁移指南](#spark用户迁移指南) - DataFrame到SQL DDL的无缝转换
|
|
10
|
-
* [Hive用户迁移指南](#hive用户迁移指南) - 分区语法的完美兼容与性能提升
|
|
11
|
-
* [MaxCompute用户迁移指南](#maxcompute用户迁移指南) - 阿里云生态的自然延伸
|
|
12
|
-
* [Snowflake用户迁移指南](#snowflake用户迁移指南) - 云原生架构的进阶优化
|
|
13
|
-
* [Databricks用户迁移指南](#databricks用户迁移指南) - Delta Lake理念的深度融合
|
|
14
|
-
* [传统数据库用户迁移指南](#传统数据库用户迁移指南) - OLTP到OLAP的华丽转身
|
|
15
|
-
|
|
16
|
-
***
|
|
17
|
-
|
|
18
|
-
## CREATE TABLE完整语法
|
|
19
|
-
|
|
20
|
-
### 语法结构
|
|
21
|
-
|
|
22
|
-
```sql
|
|
23
|
-
CREATE TABLE [ IF NOT EXISTS ] table_name
|
|
24
|
-
(
|
|
25
|
-
column_definition [, column_definition, ...]
|
|
26
|
-
[, index_definition_list]
|
|
27
|
-
)
|
|
28
|
-
[ PARTITIONED BY (partition_spec) ]
|
|
29
|
-
[ CLUSTERED BY (column_list) [SORTED BY (column_list)] INTO num_buckets BUCKETS ]
|
|
30
|
-
[ COMMENT 'table_comment' ]
|
|
31
|
-
[ PROPERTIES ('key' = 'value', ...) ];
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
### 列定义语法
|
|
35
|
-
|
|
36
|
-
```sql
|
|
37
|
-
column_name column_type
|
|
38
|
-
[ NOT NULL ]
|
|
39
|
-
[ PRIMARY KEY ]
|
|
40
|
-
[ IDENTITY[(seed)] ]
|
|
41
|
-
[ GENERATED ALWAYS AS (expr) ]
|
|
42
|
-
[ DEFAULT default_expression ]
|
|
43
|
-
[ COMMENT 'column_comment' ]
|
|
44
|
-
```
|
|
45
|
-
|
|
46
|
-
### 支持的数据类型
|
|
47
|
-
|
|
48
|
-
| 类别 | 数据类型 | 说明 | 对应其他系统 |
|
|
49
|
-
| --------- | ----------------------- | ---------------- | ------------------------- |
|
|
50
|
-
| **数值类型** | TINYINT | 1字节整数(-128到127) | Spark/Hive: TINYINT |
|
|
51
|
-
| | SMALLINT | 2字节整数 | Spark/Hive: SMALLINT |
|
|
52
|
-
| | INT | 4字节整数 | Spark/Hive: INT/INTEGER |
|
|
53
|
-
| | BIGINT | 8字节整数 | Spark/Hive: BIGINT/LONG |
|
|
54
|
-
| | FLOAT | 4字节浮点数 | Spark/Hive: FLOAT |
|
|
55
|
-
| | DOUBLE | 8字节浮点数 | Spark/Hive: DOUBLE |
|
|
56
|
-
| | DECIMAL(p,s) | 精确数值 | Spark/Hive: DECIMAL |
|
|
57
|
-
| **字符类型** | VARCHAR(n) | 变长字符串(最大1048576) | Snowflake: VARCHAR |
|
|
58
|
-
| | CHAR(n) | 定长字符串(1-255) | Oracle: CHAR |
|
|
59
|
-
| | STRING | 默认16MB,可调整 | Hive/Spark: STRING |
|
|
60
|
-
| **时间类型** | DATE | 日期(YYYY-MM-DD) | 所有系统通用 |
|
|
61
|
-
| | TIMESTAMP | 时间戳(本地时间) | Spark: TIMESTAMP |
|
|
62
|
-
| | TIMESTAMP\_NTZ | 无时区时间戳 | Snowflake: TIMESTAMP\_NTZ |
|
|
63
|
-
| **二进制类型** | BINARY | 二进制数据,默认16MB | Hive: BINARY |
|
|
64
|
-
| **布尔类型** | BOOLEAN | 真/假 | 所有系统通用 |
|
|
65
|
-
| **复杂类型** | ARRAY | 数组 | Spark/Hive: ARRAY |
|
|
66
|
-
| | MAP\<K,V> | 键值对 | Spark/Hive: MAP |
|
|
67
|
-
| | STRUCT<...> | 结构体 | Spark/Hive: STRUCT |
|
|
68
|
-
| | JSON | JSON数据,默认16MB | Snowflake: VARIANT |
|
|
69
|
-
| **向量类型** | VECTOR(dimension) | 向量类型 | 用于向量搜索场景 |
|
|
70
|
-
| | VECTOR(type, dimension) | 指定元素类型的向量 | type: tinyint/int/float |
|
|
71
|
-
|
|
72
|
-
***
|
|
73
|
-
|
|
74
|
-
## Spark用户迁移指南
|
|
75
|
-
|
|
76
|
-
### 核心优势对比
|
|
77
|
-
|
|
78
|
-
| 特性 | Spark | Lakehouse | 优势 |
|
|
79
|
-
| ------------ | --------------- | ---------- | ------- |
|
|
80
|
-
| **建表方式** | DataFrame API为主 | SQL DDL标准化 | 降低学习成本 |
|
|
81
|
-
| **分区管理** | 手动管理 | 隐藏分区+转换分区 | 自动优化 |
|
|
82
|
-
| **数据组织** | 文件级别 | 表级别管理 | 更高效的元数据 |
|
|
83
|
-
| **Schema演进** | 需要重写 | 原地演进 | 灵活性更强 |
|
|
84
|
-
|
|
85
|
-
### DataFrame到DDL的转换
|
|
86
|
-
|
|
87
|
-
**Spark DataFrame方式**:
|
|
88
|
-
|
|
89
|
-
```python
|
|
90
|
-
# Spark DataFrame创建表
|
|
91
|
-
df = spark.read.parquet("path/to/data")
|
|
92
|
-
df.write.partitionBy("year", "month") \
|
|
93
|
-
.bucketBy(10, "user_id") \
|
|
94
|
-
.sortBy("timestamp") \
|
|
95
|
-
.saveAsTable("user_events")
|
|
96
|
-
```
|
|
97
|
-
|
|
98
|
-
**Lakehouse DDL方式**:
|
|
99
|
-
|
|
100
|
-
```sql
|
|
101
|
-
-- 对应的Lakehouse建表语句
|
|
102
|
-
CREATE TABLE user_events (
|
|
103
|
-
user_id BIGINT,
|
|
104
|
-
event_type STRING,
|
|
105
|
-
timestamp TIMESTAMP,
|
|
106
|
-
properties MAP<STRING, STRING>,
|
|
107
|
-
year INT GENERATED ALWAYS AS (year(timestamp)),
|
|
108
|
-
month INT GENERATED ALWAYS AS (month(timestamp))
|
|
109
|
-
)
|
|
110
|
-
PARTITIONED BY (year, month)
|
|
111
|
-
CLUSTERED BY (user_id) SORTED BY (timestamp) INTO 10 BUCKETS
|
|
112
|
-
COMMENT '用户事件表';
|
|
113
|
-
```
|
|
114
|
-
|
|
115
|
-
### 高级特性映射
|
|
116
|
-
|
|
117
|
-
**1. 动态分区处理**
|
|
118
|
-
|
|
119
|
-
```sql
|
|
120
|
-
-- Spark需要手动处理动态分区
|
|
121
|
-
-- Lakehouse使用转换分区自动处理
|
|
122
|
-
CREATE TABLE events (
|
|
123
|
-
event_time TIMESTAMP,
|
|
124
|
-
user_id STRING,
|
|
125
|
-
event_data STRING
|
|
126
|
-
) PARTITIONED BY (
|
|
127
|
-
days(event_time), -- 自动按天分区
|
|
128
|
-
bucket(100, user_id) -- 自动按用户ID分桶
|
|
129
|
-
);
|
|
130
|
-
```
|
|
131
|
-
|
|
132
|
-
**2. Schema合并与演进**
|
|
133
|
-
|
|
134
|
-
```sql
|
|
135
|
-
-- Lakehouse原生支持Schema演进
|
|
136
|
-
ALTER TABLE events ADD COLUMN new_field STRING;
|
|
137
|
-
ALTER TABLE events CHANGE COLUMN event_data TYPE JSON;
|
|
138
|
-
```
|
|
139
|
-
|
|
140
|
-
**3. 复杂数据类型处理**
|
|
141
|
-
|
|
142
|
-
```sql
|
|
143
|
-
-- 完全兼容Spark的复杂类型
|
|
144
|
-
CREATE TABLE user_profiles (
|
|
145
|
-
user_id BIGINT,
|
|
146
|
-
tags ARRAY<STRING>, -- 标签数组
|
|
147
|
-
attributes MAP<STRING, STRING>, -- 属性映射
|
|
148
|
-
address STRUCT< -- 嵌套结构
|
|
149
|
-
street: STRING,
|
|
150
|
-
city: STRING,
|
|
151
|
-
coordinates: STRUCT<lat: DOUBLE, lon: DOUBLE>
|
|
152
|
-
>,
|
|
153
|
-
preferences JSON -- JSON灵活字段
|
|
154
|
-
);
|
|
155
|
-
```
|
|
156
|
-
|
|
157
|
-
### 性能优化建议
|
|
158
|
-
|
|
159
|
-
```sql
|
|
160
|
-
-- 针对Spark用户的优化建表模式
|
|
161
|
-
CREATE TABLE optimized_fact_table (
|
|
162
|
-
-- 业务字段
|
|
163
|
-
transaction_id BIGINT IDENTITY(1),
|
|
164
|
-
user_id BIGINT,
|
|
165
|
-
product_id INT,
|
|
166
|
-
amount DECIMAL(18, 2),
|
|
167
|
-
transaction_time TIMESTAMP,
|
|
168
|
-
|
|
169
|
-
-- 生成分区字段(替代Spark的手动分区)
|
|
170
|
-
tx_date STRING GENERATED ALWAYS AS (date_format(transaction_time, 'yyyy-MM-dd')),
|
|
171
|
-
tx_hour INT GENERATED ALWAYS AS (hour(transaction_time))
|
|
172
|
-
)
|
|
173
|
-
PARTITIONED BY (tx_date, tx_hour) -- 双层分区
|
|
174
|
-
CLUSTERED BY (user_id) INTO 256 BUCKETS -- 用户维度分桶
|
|
175
|
-
PROPERTIES (
|
|
176
|
-
'data_lifecycle' = '730', -- 2年生命周期
|
|
177
|
-
'partition.cache.policy.latest.count' = '7' -- 缓存最近7天
|
|
178
|
-
);
|
|
179
|
-
```
|
|
180
|
-
|
|
181
|
-
***
|
|
182
|
-
|
|
183
|
-
## Hive用户迁移指南
|
|
184
|
-
|
|
185
|
-
### 完美的语法兼容性
|
|
186
|
-
|
|
187
|
-
云器Lakehouse完全兼容Hive的分区语法,同时提供了更强大的功能:
|
|
188
|
-
|
|
189
|
-
**传统Hive建表**:
|
|
190
|
-
|
|
191
|
-
```sql
|
|
192
|
-
-- Hive风格(完全支持)
|
|
193
|
-
CREATE TABLE IF NOT EXISTS sales_fact (
|
|
194
|
-
order_id BIGINT,
|
|
195
|
-
product_id INT,
|
|
196
|
-
quantity INT,
|
|
197
|
-
price DECIMAL(10,2)
|
|
198
|
-
) PARTITIONED BY (
|
|
199
|
-
dt STRING,
|
|
200
|
-
region STRING
|
|
201
|
-
)
|
|
202
|
-
STORED AS PARQUET
|
|
203
|
-
TBLPROPERTIES ('transactional'='true');
|
|
204
|
-
```
|
|
205
|
-
|
|
206
|
-
**Lakehouse增强版**:
|
|
207
|
-
|
|
208
|
-
```sql
|
|
209
|
-
-- 相同语法,更强性能
|
|
210
|
-
CREATE TABLE IF NOT EXISTS sales_fact (
|
|
211
|
-
order_id BIGINT,
|
|
212
|
-
product_id INT,
|
|
213
|
-
quantity INT,
|
|
214
|
-
price DECIMAL(10,2),
|
|
215
|
-
order_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP -- 新增:默认值
|
|
216
|
-
) PARTITIONED BY (
|
|
217
|
-
dt STRING,
|
|
218
|
-
region STRING
|
|
219
|
-
)
|
|
220
|
-
COMMENT 'Sales fact table with enhanced features'
|
|
221
|
-
PROPERTIES (
|
|
222
|
-
'data_lifecycle' = '1095', -- 新增:3年生命周期管理
|
|
223
|
-
'change_tracking' = 'false' -- 新增:CDC能力预留
|
|
224
|
-
);
|
|
225
|
-
```
|
|
226
|
-
|
|
227
|
-
### 分区策略升级
|
|
228
|
-
|
|
229
|
-
**静态分区到智能分区的进化**:
|
|
230
|
-
|
|
231
|
-
```sql
|
|
232
|
-
-- Hive传统方式:需要手动管理分区
|
|
233
|
-
INSERT OVERWRITE TABLE sales_fact PARTITION(dt='2024-06-20', region='CN')
|
|
234
|
-
SELECT ...;
|
|
235
|
-
|
|
236
|
-
-- Lakehouse智能方式:自动分区管理
|
|
237
|
-
CREATE TABLE sales_fact_smart (
|
|
238
|
-
order_id BIGINT,
|
|
239
|
-
order_time TIMESTAMP,
|
|
240
|
-
region_code STRING,
|
|
241
|
-
amount DECIMAL(10,2),
|
|
242
|
-
-- 自动生成分区字段
|
|
243
|
-
dt STRING GENERATED ALWAYS AS (date_format(order_time, 'yyyy-MM-dd'))
|
|
244
|
-
) PARTITIONED BY (dt, region_code);
|
|
245
|
-
|
|
246
|
-
-- 插入时自动处理分区
|
|
247
|
-
INSERT INTO sales_fact_smart (order_id, order_time, region_code, amount)
|
|
248
|
-
VALUES (1001, CURRENT_TIMESTAMP, 'CN', 99.99);
|
|
249
|
-
```
|
|
250
|
-
|
|
251
|
-
### 事务表能力增强
|
|
252
|
-
|
|
253
|
-
```sql
|
|
254
|
-
-- Hive事务表限制多,Lakehouse原生支持
|
|
255
|
-
CREATE TABLE transaction_table (
|
|
256
|
-
id BIGINT PRIMARY KEY, -- 原生主键支持
|
|
257
|
-
data STRING,
|
|
258
|
-
version INT,
|
|
259
|
-
updated_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
|
260
|
-
)
|
|
261
|
-
CLUSTERED BY (id) INTO 16 BUCKETS -- 必需的分桶优化
|
|
262
|
-
PROPERTIES (
|
|
263
|
-
'data_retention_days' = '7' -- Time Travel能力
|
|
264
|
-
);
|
|
265
|
-
```
|
|
266
|
-
|
|
267
|
-
### 性能提升对比
|
|
268
|
-
|
|
269
|
-
| 操作类型 | Hive (MapReduce) | Lakehouse | 性能提升 |
|
|
270
|
-
| -------- | ---------------- | --------- | ---- |
|
|
271
|
-
| 建表速度 | 秒级 | 毫秒级 | 10x |
|
|
272
|
-
| 分区裁剪 | 文件级扫描 | 元数据裁剪 | 100x |
|
|
273
|
-
| Schema变更 | 需重建 | 在线变更 | ∞ |
|
|
274
|
-
| 小文件合并 | 手动维护 | 自动优化 | 自动化 |
|
|
275
|
-
|
|
276
|
-
***
|
|
277
|
-
|
|
278
|
-
## MaxCompute用户迁移指南
|
|
279
|
-
|
|
280
|
-
### 语法对照与增强
|
|
281
|
-
|
|
282
|
-
MaxCompute用户会发现云器Lakehouse的语法非常熟悉,同时功能更加强大:
|
|
283
|
-
|
|
284
|
-
**MaxCompute建表**:
|
|
285
|
-
|
|
286
|
-
```sql
|
|
287
|
-
-- MaxCompute语法
|
|
288
|
-
CREATE TABLE IF NOT EXISTS sale_detail(
|
|
289
|
-
shop_name STRING,
|
|
290
|
-
customer_id STRING,
|
|
291
|
-
total_price DOUBLE
|
|
292
|
-
)
|
|
293
|
-
PARTITIONED BY (sale_date STRING, region STRING)
|
|
294
|
-
LIFECYCLE 730;
|
|
295
|
-
```
|
|
296
|
-
|
|
297
|
-
**Lakehouse对应语法**:
|
|
298
|
-
|
|
299
|
-
```sql
|
|
300
|
-
-- 几乎相同的语法,更多功能
|
|
301
|
-
CREATE TABLE IF NOT EXISTS sale_detail(
|
|
302
|
-
shop_name STRING,
|
|
303
|
-
customer_id STRING,
|
|
304
|
-
total_price DOUBLE,
|
|
305
|
-
-- 新增能力
|
|
306
|
-
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
|
307
|
-
row_id BIGINT IDENTITY(1) -- 自增主键
|
|
308
|
-
)
|
|
309
|
-
PARTITIONED BY (sale_date STRING, region STRING)
|
|
310
|
-
PROPERTIES (
|
|
311
|
-
'data_lifecycle' = '730', -- 生命周期(天)
|
|
312
|
-
'data_retention_days' = '7' -- Time Travel保留期
|
|
313
|
-
);
|
|
314
|
-
```
|
|
315
|
-
|
|
316
|
-
### 函数兼容性
|
|
317
|
-
|
|
318
|
-
```sql
|
|
319
|
-
-- MaxCompute函数 → Lakehouse函数映射
|
|
320
|
-
CREATE TABLE datetime_example (
|
|
321
|
-
id INT,
|
|
322
|
-
-- MaxCompute: GETDATE() → Lakehouse: CURRENT_TIMESTAMP
|
|
323
|
-
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
|
324
|
-
|
|
325
|
-
-- 日期函数完全兼容
|
|
326
|
-
year_part INT GENERATED ALWAYS AS (YEAR(created_at)),
|
|
327
|
-
month_part INT GENERATED ALWAYS AS (MONTH(created_at)),
|
|
328
|
-
|
|
329
|
-
-- 字符串函数相同
|
|
330
|
-
user_name STRING,
|
|
331
|
-
name_length INT GENERATED ALWAYS AS (LENGTH(user_name))
|
|
332
|
-
);
|
|
333
|
-
```
|
|
334
|
-
|
|
335
|
-
### 资源管理对比
|
|
336
|
-
|
|
337
|
-
| 特性 | MaxCompute | Lakehouse | 优势 |
|
|
338
|
-
| ---- | ---------- | ---------- | ---- |
|
|
339
|
-
| 计算资源 | 预付费CU | 弹性VCLUSTER | 按需付费 |
|
|
340
|
-
| 存储限制 | 项目配额 | 无限扩展 | 更灵活 |
|
|
341
|
-
| 并发控制 | 作业队列 | 动态调度 | 更高效 |
|
|
342
|
-
| 跨地域 | 需要迁移 | 原生支持 | 全球化 |
|
|
343
|
-
|
|
344
|
-
***
|
|
345
|
-
|
|
346
|
-
## Snowflake用户迁移指南
|
|
347
|
-
|
|
348
|
-
### 架构理念对比
|
|
349
|
-
|
|
350
|
-
两者都是云原生数据仓库,但Lakehouse提供了更多的控制权:
|
|
351
|
-
|
|
352
|
-
**Snowflake风格建表**:
|
|
353
|
-
|
|
354
|
-
```sql
|
|
355
|
-
-- Snowflake
|
|
356
|
-
CREATE OR REPLACE TABLE customer_transactions (
|
|
357
|
-
transaction_id NUMBER AUTOINCREMENT,
|
|
358
|
-
customer_id VARCHAR,
|
|
359
|
-
amount NUMBER(18,2),
|
|
360
|
-
transaction_date TIMESTAMP_NTZ,
|
|
361
|
-
status VARCHAR DEFAULT 'PENDING'
|
|
362
|
-
) CLUSTER BY (customer_id);
|
|
363
|
-
```
|
|
364
|
-
|
|
365
|
-
**Lakehouse增强版**:
|
|
366
|
-
|
|
367
|
-
```sql
|
|
368
|
-
-- Lakehouse:更明确的优化控制
|
|
369
|
-
CREATE TABLE IF NOT EXISTS customer_transactions (
|
|
370
|
-
transaction_id BIGINT IDENTITY(1), -- 对应AUTOINCREMENT
|
|
371
|
-
customer_id VARCHAR(100),
|
|
372
|
-
amount DECIMAL(18,2),
|
|
373
|
-
transaction_date TIMESTAMP_NTZ,
|
|
374
|
-
status VARCHAR(20) DEFAULT 'PENDING',
|
|
375
|
-
|
|
376
|
-
-- 额外优化字段
|
|
377
|
-
tx_date STRING GENERATED ALWAYS AS (date_format(transaction_date, 'yyyy-MM-dd')),
|
|
378
|
-
INDEX idx_customer (customer_id) BLOOMFILTER -- 显式索引
|
|
379
|
-
)
|
|
380
|
-
PARTITIONED BY (tx_date) -- 显式分区策略
|
|
381
|
-
CLUSTERED BY (customer_id) INTO 128 BUCKETS -- 明确分桶数
|
|
382
|
-
COMMENT 'Customer transaction table with explicit optimizations';
|
|
383
|
-
```
|
|
384
|
-
|
|
385
|
-
### 时间旅行与克隆
|
|
386
|
-
|
|
387
|
-
```sql
|
|
388
|
-
-- Snowflake Time Travel → Lakehouse Time Travel
|
|
389
|
-
CREATE TABLE orders_backup AS
|
|
390
|
-
SELECT * FROM orders; -- 立即复制
|
|
391
|
-
|
|
392
|
-
-- Lakehouse还支持:
|
|
393
|
-
ALTER TABLE orders SET PROPERTIES ('data_retention_days' = '30'); -- 30天历史
|
|
394
|
-
-- 查询历史数据
|
|
395
|
-
SELECT * FROM orders TIMESTAMP AS OF '2024-06-01 00:00:00';
|
|
396
|
-
```
|
|
397
|
-
|
|
398
|
-
### 性能调优差异
|
|
399
|
-
|
|
400
|
-
```sql
|
|
401
|
-
-- Snowflake:自动优化
|
|
402
|
-
-- Lakehouse:提供更多调优选项
|
|
403
|
-
|
|
404
|
-
CREATE TABLE large_fact_table (
|
|
405
|
-
-- 列定义
|
|
406
|
-
fact_id BIGINT,
|
|
407
|
-
dim1_id INT,
|
|
408
|
-
dim2_id INT,
|
|
409
|
-
measure1 DECIMAL(18,4),
|
|
410
|
-
measure2 DECIMAL(18,4),
|
|
411
|
-
fact_time TIMESTAMP,
|
|
412
|
-
|
|
413
|
-
-- 性能优化
|
|
414
|
-
fact_date STRING GENERATED ALWAYS AS (date_format(fact_time, 'yyyy-MM-dd'))
|
|
415
|
-
)
|
|
416
|
-
PARTITIONED BY (fact_date)
|
|
417
|
-
CLUSTERED BY (dim1_id, dim2_id)
|
|
418
|
-
SORTED BY (fact_time DESC) -- 额外的排序优化
|
|
419
|
-
INTO 256 BUCKETS -- 精确控制并行度
|
|
420
|
-
PROPERTIES (
|
|
421
|
-
'partition.cache.policy.latest.count' = '30' -- 缓存策略
|
|
422
|
-
);
|
|
423
|
-
```
|
|
424
|
-
|
|
425
|
-
***
|
|
426
|
-
|
|
427
|
-
## Databricks用户迁移指南
|
|
428
|
-
|
|
429
|
-
### Delta Lake理念的深度融合
|
|
430
|
-
|
|
431
|
-
Lakehouse借鉴了Delta Lake的设计理念,提供类似但更简洁的语法:
|
|
432
|
-
|
|
433
|
-
**Databricks Delta表**:
|
|
434
|
-
|
|
435
|
-
```python
|
|
436
|
-
# Databricks Python API
|
|
437
|
-
(spark.sql("""
|
|
438
|
-
CREATE TABLE IF NOT EXISTS events (
|
|
439
|
-
event_id LONG,
|
|
440
|
-
event_time TIMESTAMP,
|
|
441
|
-
user_id STRING,
|
|
442
|
-
event_type STRING,
|
|
443
|
-
properties MAP<STRING, STRING>
|
|
444
|
-
) USING DELTA
|
|
445
|
-
PARTITIONED BY (date(event_time))
|
|
446
|
-
TBLPROPERTIES (
|
|
447
|
-
'delta.deletedFileRetentionDuration' = '7 days',
|
|
448
|
-
'delta.optimizeWrite' = 'true'
|
|
449
|
-
)
|
|
450
|
-
"""))
|
|
451
|
-
```
|
|
452
|
-
|
|
453
|
-
**Lakehouse原生SQL**:
|
|
454
|
-
|
|
455
|
-
```sql
|
|
456
|
-
-- 纯SQL实现,无需Python包装
|
|
457
|
-
CREATE TABLE IF NOT EXISTS events (
|
|
458
|
-
event_id BIGINT,
|
|
459
|
-
event_time TIMESTAMP,
|
|
460
|
-
user_id STRING,
|
|
461
|
-
event_type STRING,
|
|
462
|
-
properties MAP<STRING, STRING>,
|
|
463
|
-
-- 自动分区字段
|
|
464
|
-
event_date DATE GENERATED ALWAYS AS (CAST(event_time AS DATE))
|
|
465
|
-
)
|
|
466
|
-
PARTITIONED BY (event_date)
|
|
467
|
-
PROPERTIES (
|
|
468
|
-
'data_retention_days' = '7', -- 对应deletedFileRetentionDuration
|
|
469
|
-
'data_lifecycle' = '365' -- 数据生命周期管理
|
|
470
|
-
);
|
|
471
|
-
```
|
|
472
|
-
|
|
473
|
-
### 流批一体架构
|
|
474
|
-
|
|
475
|
-
```sql
|
|
476
|
-
-- 支持实时写入的表设计
|
|
477
|
-
CREATE TABLE streaming_events (
|
|
478
|
-
event_id BIGINT PRIMARY KEY, -- 支持实时去重
|
|
479
|
-
event_data JSON,
|
|
480
|
-
received_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
|
481
|
-
processed_at TIMESTAMP,
|
|
482
|
-
|
|
483
|
-
-- 分区设计支持流式写入
|
|
484
|
-
event_hour INT GENERATED ALWAYS AS (hour(received_at)),
|
|
485
|
-
event_date STRING GENERATED ALWAYS AS (date_format(received_at, 'yyyy-MM-dd'))
|
|
486
|
-
)
|
|
487
|
-
PARTITIONED BY (event_date, event_hour)
|
|
488
|
-
CLUSTERED BY (event_id) INTO 32 BUCKETS
|
|
489
|
-
PROPERTIES (
|
|
490
|
-
'change_tracking' = 'false' -- 为Table Stream预留
|
|
491
|
-
);
|
|
492
|
-
```
|
|
493
|
-
|
|
494
|
-
### Z-Order优化对应
|
|
495
|
-
|
|
496
|
-
```sql
|
|
497
|
-
-- Databricks: OPTIMIZE table ZORDER BY (col1, col2)
|
|
498
|
-
-- Lakehouse: 通过CLUSTERED BY + SORTED BY实现类似效果
|
|
499
|
-
|
|
500
|
-
CREATE TABLE optimized_table (
|
|
501
|
-
col1 INT,
|
|
502
|
-
col2 STRING,
|
|
503
|
-
col3 DECIMAL(10,2),
|
|
504
|
-
col4 TIMESTAMP
|
|
505
|
-
)
|
|
506
|
-
CLUSTERED BY (col1, col2) -- 数据聚集
|
|
507
|
-
SORTED BY (col1, col2) -- 排序优化
|
|
508
|
-
INTO 64 BUCKETS;
|
|
509
|
-
```
|
|
510
|
-
|
|
511
|
-
***
|
|
512
|
-
|
|
513
|
-
## 传统数据库用户迁移指南
|
|
514
|
-
|
|
515
|
-
### 思维模式转变
|
|
516
|
-
|
|
517
|
-
从OLTP到OLAP的转变需要调整表设计思路:
|
|
518
|
-
|
|
519
|
-
**传统OLTP设计**:
|
|
520
|
-
|
|
521
|
-
```sql
|
|
522
|
-
-- MySQL/PostgreSQL/Oracle风格
|
|
523
|
-
CREATE TABLE orders (
|
|
524
|
-
order_id INT PRIMARY KEY AUTO_INCREMENT,
|
|
525
|
-
customer_id INT NOT NULL,
|
|
526
|
-
order_date DATETIME DEFAULT NOW(),
|
|
527
|
-
status VARCHAR(20) DEFAULT 'NEW',
|
|
528
|
-
FOREIGN KEY (customer_id) REFERENCES customers(id),
|
|
529
|
-
INDEX idx_date (order_date),
|
|
530
|
-
INDEX idx_customer (customer_id)
|
|
531
|
-
);
|
|
532
|
-
```
|
|
533
|
-
|
|
534
|
-
**Lakehouse OLAP设计**:
|
|
535
|
-
|
|
536
|
-
```sql
|
|
537
|
-
-- 面向分析优化的设计
|
|
538
|
-
CREATE TABLE orders (
|
|
539
|
-
order_id BIGINT IDENTITY(1), -- 自增主键
|
|
540
|
-
customer_id INT NOT NULL,
|
|
541
|
-
order_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
|
542
|
-
status VARCHAR(20) DEFAULT 'NEW',
|
|
543
|
-
|
|
544
|
-
-- 分析优化字段
|
|
545
|
-
order_year INT GENERATED ALWAYS AS (year(order_date)),
|
|
546
|
-
order_month INT GENERATED ALWAYS AS (month(order_date)),
|
|
547
|
-
order_day INT GENERATED ALWAYS AS (day(order_date)),
|
|
548
|
-
|
|
549
|
-
-- 索引定义
|
|
550
|
-
INDEX bloom_customer (customer_id) BLOOMFILTER,
|
|
551
|
-
INDEX bloom_status (status) BLOOMFILTER
|
|
552
|
-
)
|
|
553
|
-
PARTITIONED BY (order_year, order_month) -- 按月分区
|
|
554
|
-
CLUSTERED BY (customer_id) INTO 256 BUCKETS -- 客户维度优化
|
|
555
|
-
PROPERTIES (
|
|
556
|
-
'data_lifecycle' = '2555' -- 7年数据保留
|
|
557
|
-
);
|
|
558
|
-
```
|
|
559
|
-
|
|
560
|
-
### 数据类型映射
|
|
561
|
-
|
|
562
|
-
| 传统数据库 | Lakehouse | 迁移建议 |
|
|
563
|
-
| ------------------- | ------------------ | ------------ |
|
|
564
|
-
| INT AUTO\_INCREMENT | BIGINT IDENTITY(1) | 使用BIGINT避免溢出 |
|
|
565
|
-
| DATETIME | TIMESTAMP | 统一时间类型 |
|
|
566
|
-
| TEXT | STRING | 默认16MB,可调整 |
|
|
567
|
-
| ENUM | VARCHAR + CHECK | 使用约束替代 |
|
|
568
|
-
| JSON (MySQL) | JSON | 原生JSON支持 |
|
|
569
|
-
| SERIAL (PG) | BIGINT IDENTITY(1) | 完全兼容 |
|
|
570
|
-
|
|
571
|
-
### 索引策略转换
|
|
572
|
-
|
|
573
|
-
```sql
|
|
574
|
-
-- 传统B-Tree索引 → 列式存储优化
|
|
575
|
-
CREATE TABLE user_activity (
|
|
576
|
-
user_id BIGINT,
|
|
577
|
-
activity_time TIMESTAMP,
|
|
578
|
-
activity_type VARCHAR(50),
|
|
579
|
-
details JSON,
|
|
580
|
-
|
|
581
|
-
-- 布隆过滤器替代B-Tree(点查询)
|
|
582
|
-
INDEX bloom_user (user_id) BLOOMFILTER,
|
|
583
|
-
|
|
584
|
-
-- 倒排索引替代全文索引
|
|
585
|
-
INDEX inv_details (details) INVERTED PROPERTIES ('analyzer' = 'english'),
|
|
586
|
-
|
|
587
|
-
-- 生成列优化时间查询
|
|
588
|
-
activity_date STRING GENERATED ALWAYS AS (date_format(activity_time, 'yyyy-MM-dd'))
|
|
589
|
-
)
|
|
590
|
-
PARTITIONED BY (activity_date) -- 时间分区加速范围查询
|
|
591
|
-
CLUSTERED BY (user_id) INTO 128 BUCKETS; -- 用户维度聚集
|
|
592
|
-
```
|
|
593
|
-
|
|
594
|
-
***
|
|
595
|
-
|
|
596
|
-
## 高级特性详解
|
|
597
|
-
|
|
598
|
-
### 1. 自增列(IDENTITY)
|
|
599
|
-
|
|
600
|
-
```sql
|
|
601
|
-
-- 完整示例:订单表with自增主键
|
|
602
|
-
CREATE TABLE order_master (
|
|
603
|
-
order_id BIGINT IDENTITY(1000), -- 从1000开始
|
|
604
|
-
order_no VARCHAR(50) NOT NULL,
|
|
605
|
-
customer_id BIGINT NOT NULL,
|
|
606
|
-
total_amount DECIMAL(18,2),
|
|
607
|
-
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
|
608
|
-
) COMMENT '订单主表';
|
|
609
|
-
|
|
610
|
-
-- 注意事项:
|
|
611
|
-
-- 1. 仅支持BIGINT类型
|
|
612
|
-
-- 2. 不保证连续性(高并发下可能跳号)
|
|
613
|
-
-- 3. 不支持ALTER TABLE添加
|
|
614
|
-
```
|
|
615
|
-
|
|
616
|
-
**2. 生成列(GENERATED ALWAYS AS)**
|
|
617
|
-
|
|
618
|
-
```sql
|
|
619
|
-
-- 时间维度自动生成
|
|
620
|
-
CREATE TABLE sales_detail (
|
|
621
|
-
sale_time TIMESTAMP,
|
|
622
|
-
product_id INT,
|
|
623
|
-
quantity INT,
|
|
624
|
-
unit_price DECIMAL(10,2),
|
|
625
|
-
|
|
626
|
-
-- 自动计算字段
|
|
627
|
-
total_amount DECIMAL(18,2) GENERATED ALWAYS AS (quantity * unit_price),
|
|
628
|
-
|
|
629
|
-
-- 时间维度展开
|
|
630
|
-
sale_date STRING GENERATED ALWAYS AS (date_format(sale_time, 'yyyy-MM-dd')),
|
|
631
|
-
sale_year INT GENERATED ALWAYS AS (year(sale_time)),
|
|
632
|
-
sale_month INT GENERATED ALWAYS AS (month(sale_time)),
|
|
633
|
-
sale_week INT GENERATED ALWAYS AS (weekofyear(sale_time)),
|
|
634
|
-
sale_hour INT GENERATED ALWAYS AS (hour(sale_time))
|
|
635
|
-
)
|
|
636
|
-
PARTITIONED BY (sale_date) -- 可以用生成列作为分区
|
|
637
|
-
COMMENT '销售明细表with自动计算字段';
|
|
638
|
-
```
|
|
639
|
-
|
|
640
|
-
**生成列使用限制**:
|
|
641
|
-
|
|
642
|
-
* 生成列不能用于 `CLUSTERED BY` 或 `SORTED BY`
|
|
643
|
-
* 主键表不能使用生成列作为分区键
|
|
644
|
-
* 只支持确定性函数,不支持 `CURRENT_DATE`、`RANDOM` 等非确定性函数
|
|
645
|
-
|
|
646
|
-
### 3. 默认值(DEFAULT)
|
|
647
|
-
|
|
648
|
-
```sql
|
|
649
|
-
-- 审计表设计
|
|
650
|
-
CREATE TABLE audit_log (
|
|
651
|
-
log_id BIGINT IDENTITY(1),
|
|
652
|
-
table_name VARCHAR(100) NOT NULL,
|
|
653
|
-
operation VARCHAR(20) NOT NULL,
|
|
654
|
-
user_id VARCHAR(50) DEFAULT CURRENT_USER(), -- 当前用户
|
|
655
|
-
operation_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP, -- 当前时间
|
|
656
|
-
client_ip VARCHAR(50) DEFAULT '0.0.0.0',
|
|
657
|
-
status VARCHAR(20) DEFAULT 'SUCCESS',
|
|
658
|
-
details JSON
|
|
659
|
-
)
|
|
660
|
-
PARTITIONED BY (date_format(operation_time, 'yyyy-MM-dd'))
|
|
661
|
-
COMMENT '统一审计日志表';
|
|
662
|
-
```
|
|
663
|
-
|
|
664
|
-
### 4. 主键与唯一约束
|
|
665
|
-
|
|
666
|
-
```sql
|
|
667
|
-
-- CDC场景的主键表设计
|
|
668
|
-
CREATE TABLE customer_snapshot (
|
|
669
|
-
customer_id BIGINT,
|
|
670
|
-
snapshot_date DATE,
|
|
671
|
-
customer_name VARCHAR(200),
|
|
672
|
-
customer_level VARCHAR(20),
|
|
673
|
-
total_purchase DECIMAL(18,2),
|
|
674
|
-
last_update TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
|
675
|
-
|
|
676
|
-
-- 复合主键
|
|
677
|
-
PRIMARY KEY (customer_id, snapshot_date)
|
|
678
|
-
)
|
|
679
|
-
PARTITIONED BY (snapshot_date)
|
|
680
|
-
CLUSTERED BY (customer_id, snapshot_date)
|
|
681
|
-
SORTED BY (customer_id, snapshot_date) INTO 64 BUCKETS -- 注意:主键表必须使用ASC排序
|
|
682
|
-
COMMENT '客户快照表for CDC';
|
|
683
|
-
```
|
|
684
|
-
|
|
685
|
-
**主键表的重要限制**:
|
|
686
|
-
|
|
687
|
-
* 主键列必须包含在 `CLUSTERED BY` 和 `SORTED BY` 中
|
|
688
|
-
* `SORTED BY` 必须使用升序(ASC),不能使用降序(DESC)
|
|
689
|
-
* 分区列必须是主键的子集
|
|
690
|
-
* 如果使用生成列,不能将其作为主键表的分区列
|
|
691
|
-
|
|
692
|
-
### 5. 复杂索引策略
|
|
693
|
-
|
|
694
|
-
```sql
|
|
695
|
-
-- 多维度查询优化表
|
|
696
|
-
CREATE TABLE product_search (
|
|
697
|
-
product_id BIGINT PRIMARY KEY,
|
|
698
|
-
product_name VARCHAR(500),
|
|
699
|
-
description STRING,
|
|
700
|
-
category_path VARCHAR(200),
|
|
701
|
-
brand VARCHAR(100),
|
|
702
|
-
price DECIMAL(10,2),
|
|
703
|
-
tags ARRAY<STRING>,
|
|
704
|
-
attributes MAP<STRING, STRING>,
|
|
705
|
-
|
|
706
|
-
-- 多种索引组合(注意:索引名必须全局唯一)
|
|
707
|
-
INDEX bloom_prod_brand (brand) BLOOMFILTER, -- 品牌快速过滤
|
|
708
|
-
INDEX bloom_prod_category (category_path) BLOOMFILTER, -- 类目过滤
|
|
709
|
-
INDEX inv_prod_name (product_name) INVERTED PROPERTIES ('analyzer' = 'chinese'), -- 商品名搜索
|
|
710
|
-
INDEX inv_prod_desc (description) INVERTED PROPERTIES ('analyzer' = 'chinese') -- 描述搜索
|
|
711
|
-
)
|
|
712
|
-
CLUSTERED BY (product_id) SORTED BY (product_id) INTO 128 BUCKETS -- 主键表限制
|
|
713
|
-
COMMENT '商品搜索优化表';
|
|
714
|
-
```
|
|
715
|
-
|
|
716
|
-
**索引命名最佳实践**:
|
|
717
|
-
|
|
718
|
-
* 索引名必须在整个数据库中唯一
|
|
719
|
-
* 建议使用 `表名_列名` 或 `idx_表名_列名` 格式
|
|
720
|
-
* 避免使用过于通用的名称如 `idx_id`
|
|
721
|
-
|
|
722
|
-
### 6. 向量索引(VECTOR)
|
|
723
|
-
|
|
724
|
-
```sql
|
|
725
|
-
-- 向量搜索场景表设计
|
|
726
|
-
CREATE TABLE embeddings_search (
|
|
727
|
-
doc_id BIGINT PRIMARY KEY,
|
|
728
|
-
content STRING,
|
|
729
|
-
embedding VECTOR(512), -- 512维向量,默认float类型
|
|
730
|
-
vec_small VECTOR(128), -- 128维向量
|
|
731
|
-
vec_int VECTOR(int, 256), -- 指定int类型的256维向量
|
|
732
|
-
|
|
733
|
-
-- 向量索引
|
|
734
|
-
INDEX vec_idx (embedding) USING VECTOR PROPERTIES (
|
|
735
|
-
'scalar.type' = 'f32',
|
|
736
|
-
'distance.function' = 'cosine_distance', -- 余弦距离
|
|
737
|
-
'm' = '16', -- HNSW算法参数
|
|
738
|
-
'ef.construction' = '200'
|
|
739
|
-
)
|
|
740
|
-
)
|
|
741
|
-
CLUSTERED BY (doc_id) SORTED BY (doc_id) INTO 64 BUCKETS
|
|
742
|
-
COMMENT '向量搜索优化表';
|
|
743
|
-
```
|
|
744
|
-
|
|
745
|
-
**向量类型使用限制**:
|
|
746
|
-
|
|
747
|
-
* 不支持在ORDER BY或GROUP BY中使用
|
|
748
|
-
* 支持的元素类型:tinyint、int、float(默认)
|
|
749
|
-
* 可与数组类型相互转换
|
|
750
|
-
|
|
751
|
-
***
|
|
752
|
-
|
|
753
|
-
## 分区策略最佳实践
|
|
754
|
-
|
|
755
|
-
### 1. 时间分区设计
|
|
756
|
-
|
|
757
|
-
```sql
|
|
758
|
-
-- 多粒度时间分区
|
|
759
|
-
CREATE TABLE event_log (
|
|
760
|
-
event_id BIGINT,
|
|
761
|
-
event_time TIMESTAMP,
|
|
762
|
-
event_type VARCHAR(50),
|
|
763
|
-
event_data JSON,
|
|
764
|
-
|
|
765
|
-
-- 多层分区字段生成
|
|
766
|
-
event_date STRING GENERATED ALWAYS AS (date_format(event_time, 'yyyy-MM-dd')),
|
|
767
|
-
event_hour INT GENERATED ALWAYS AS (hour(event_time))
|
|
768
|
-
)
|
|
769
|
-
PARTITIONED BY (event_date, event_hour) -- 双层分区
|
|
770
|
-
COMMENT '事件日志表with小时级分区';
|
|
771
|
-
|
|
772
|
-
-- 转换分区函数示例
|
|
773
|
-
CREATE TABLE metric_data (
|
|
774
|
-
metric_time TIMESTAMP,
|
|
775
|
-
metric_name VARCHAR(100),
|
|
776
|
-
metric_value DOUBLE
|
|
777
|
-
)
|
|
778
|
-
PARTITIONED BY (
|
|
779
|
-
days(metric_time) -- 按天数分区(从1970-01-01开始)
|
|
780
|
-
);
|
|
781
|
-
```
|
|
782
|
-
|
|
783
|
-
### 2. 业务维度分区
|
|
784
|
-
|
|
785
|
-
```sql
|
|
786
|
-
-- 多维度组合分区
|
|
787
|
-
CREATE TABLE transaction_fact (
|
|
788
|
-
tx_id BIGINT IDENTITY(1),
|
|
789
|
-
tx_time TIMESTAMP,
|
|
790
|
-
region_code VARCHAR(10),
|
|
791
|
-
channel_code VARCHAR(10),
|
|
792
|
-
amount DECIMAL(18,2),
|
|
793
|
-
|
|
794
|
-
tx_date STRING GENERATED ALWAYS AS (date_format(tx_time, 'yyyy-MM-dd'))
|
|
795
|
-
)
|
|
796
|
-
PARTITIONED BY (tx_date, region_code, channel_code) -- 三维分区
|
|
797
|
-
CLUSTERED BY (tx_id) INTO 256 BUCKETS
|
|
798
|
-
COMMENT '交易事实表with多维分区';
|
|
799
|
-
```
|
|
800
|
-
|
|
801
|
-
### 3. 分区数量控制
|
|
802
|
-
|
|
803
|
-
```sql
|
|
804
|
-
-- 合理控制分区粒度
|
|
805
|
-
CREATE TABLE log_archive (
|
|
806
|
-
log_time TIMESTAMP,
|
|
807
|
-
log_level VARCHAR(10),
|
|
808
|
-
log_content STRING,
|
|
809
|
-
|
|
810
|
-
-- 按月分区,避免过多分区
|
|
811
|
-
log_month STRING GENERATED ALWAYS AS (date_format(log_time, 'yyyy-MM'))
|
|
812
|
-
)
|
|
813
|
-
PARTITIONED BY (log_month)
|
|
814
|
-
PROPERTIES (
|
|
815
|
-
'data_lifecycle' = '1095' -- 3年后自动清理
|
|
816
|
-
);
|
|
817
|
-
```
|
|
818
|
-
|
|
819
|
-
***
|
|
820
|
-
|
|
821
|
-
## 分桶优化指南
|
|
822
|
-
|
|
823
|
-
### 1. 分桶数量选择
|
|
824
|
-
|
|
825
|
-
```sql
|
|
826
|
-
-- 分桶数量计算公式:总数据量 / 128MB~1GB
|
|
827
|
-
|
|
828
|
-
-- 小表(<10GB):少量分桶
|
|
829
|
-
CREATE TABLE small_dim (
|
|
830
|
-
dim_id INT,
|
|
831
|
-
dim_name VARCHAR(100)
|
|
832
|
-
) CLUSTERED BY (dim_id) INTO 8 BUCKETS;
|
|
833
|
-
|
|
834
|
-
-- 中表(10GB~1TB):适度分桶
|
|
835
|
-
CREATE TABLE medium_fact (
|
|
836
|
-
fact_id BIGINT,
|
|
837
|
-
measure DECIMAL(18,4)
|
|
838
|
-
) CLUSTERED BY (fact_id) INTO 128 BUCKETS;
|
|
839
|
-
|
|
840
|
-
-- 大表(>1TB):大量分桶
|
|
841
|
-
CREATE TABLE large_fact (
|
|
842
|
-
id BIGINT,
|
|
843
|
-
data STRING
|
|
844
|
-
) CLUSTERED BY (id) INTO 1024 BUCKETS;
|
|
845
|
-
```
|
|
846
|
-
|
|
847
|
-
### 2. 分桶键选择策略
|
|
848
|
-
|
|
849
|
-
```sql
|
|
850
|
-
-- JOIN优化:使用JOIN键作为分桶键
|
|
851
|
-
CREATE TABLE order_items (
|
|
852
|
-
order_id BIGINT,
|
|
853
|
-
item_id INT,
|
|
854
|
-
quantity INT,
|
|
855
|
-
price DECIMAL(10,2)
|
|
856
|
-
) CLUSTERED BY (order_id) INTO 256 BUCKETS; -- 与orders表相同分桶
|
|
857
|
-
|
|
858
|
-
CREATE TABLE orders (
|
|
859
|
-
order_id BIGINT,
|
|
860
|
-
customer_id INT,
|
|
861
|
-
order_date DATE
|
|
862
|
-
) CLUSTERED BY (order_id) INTO 256 BUCKETS; -- 相同分桶策略
|
|
863
|
-
```
|
|
864
|
-
|
|
865
|
-
### 3. 排序优化
|
|
866
|
-
|
|
867
|
-
```sql
|
|
868
|
-
-- SORTED BY加速范围查询
|
|
869
|
-
CREATE TABLE time_series_data (
|
|
870
|
-
device_id VARCHAR(50),
|
|
871
|
-
metric_time TIMESTAMP,
|
|
872
|
-
metric_value DOUBLE
|
|
873
|
-
)
|
|
874
|
-
CLUSTERED BY (device_id)
|
|
875
|
-
SORTED BY (metric_time DESC) -- 最新数据优先
|
|
876
|
-
INTO 128 BUCKETS;
|
|
877
|
-
```
|
|
878
|
-
|
|
879
|
-
***
|
|
880
|
-
|
|
881
|
-
## 表属性(PROPERTIES)深度解析
|
|
882
|
-
|
|
883
|
-
### 官方支持的属性
|
|
884
|
-
|
|
885
|
-
```sql
|
|
886
|
-
CREATE TABLE data_management (
|
|
887
|
-
id BIGINT,
|
|
888
|
-
data STRING,
|
|
889
|
-
create_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP
|
|
890
|
-
)
|
|
891
|
-
PROPERTIES (
|
|
892
|
-
-- 生命周期管理
|
|
893
|
-
'data_lifecycle' = '1095', -- 3年后自动删除(天)
|
|
894
|
-
'data_retention_days' = '30', -- 30天Time Travel历史
|
|
895
|
-
|
|
896
|
-
-- 缓存策略
|
|
897
|
-
'partition.cache.policy.latest.count' = '7', -- 缓存最近7个分区
|
|
898
|
-
|
|
899
|
-
-- 变更跟踪
|
|
900
|
-
'change_tracking' = 'true', -- 启用Table Stream功能
|
|
901
|
-
|
|
902
|
-
-- 字段长度限制(字节)
|
|
903
|
-
'cz.storage.write.max.string.bytes' = '33554432', -- STRING最大32MB
|
|
904
|
-
'cz.storage.write.max.binary.bytes' = '33554432', -- BINARY最大32MB
|
|
905
|
-
'cz.storage.write.max.json.bytes' = '33554432' -- JSON最大32MB
|
|
906
|
-
);
|
|
907
|
-
```
|
|
908
|
-
|
|
909
|
-
### 属性使用说明
|
|
910
|
-
|
|
911
|
-
| 属性名 | 说明 | 取值范围 | 默认值 |
|
|
912
|
-
| ----------------------------------- | -------------- | ---------- | --------------- |
|
|
913
|
-
| data\_lifecycle | 数据生命周期(天) | >0或-1(不启用) | -1 |
|
|
914
|
-
| data\_retention\_days | Time Travel保留期 | 0-90 | 1 |
|
|
915
|
-
| partition.cache.policy.latest.count | 缓存最近N个分区 | >=0 | 0 |
|
|
916
|
-
| change\_tracking | 是否启用变更跟踪 | true/false | false |
|
|
917
|
-
| cz.storage.write.max.string.bytes | STRING最大长度 | >0 | 16777216 (16MB) |
|
|
918
|
-
| cz.storage.write.max.binary.bytes | BINARY最大长度 | >0 | 16777216 (16MB) |
|
|
919
|
-
| cz.storage.write.max.json.bytes | JSON最大长度 | >0 | 16777216 (16MB) |
|
|
920
|
-
|
|
921
|
-
***
|
|
922
|
-
|
|
923
|
-
## 建表模式推荐
|
|
924
|
-
|
|
925
|
-
### 1. 维度表模式
|
|
926
|
-
|
|
927
|
-
```sql
|
|
928
|
-
-- 标准维度表设计
|
|
929
|
-
CREATE TABLE dim_product (
|
|
930
|
-
product_id INT PRIMARY KEY,
|
|
931
|
-
product_code VARCHAR(50) NOT NULL,
|
|
932
|
-
product_name VARCHAR(200) NOT NULL,
|
|
933
|
-
category_id INT,
|
|
934
|
-
brand_id INT,
|
|
935
|
-
status VARCHAR(20) DEFAULT 'ACTIVE',
|
|
936
|
-
created_date DATE,
|
|
937
|
-
modified_date DATE,
|
|
938
|
-
|
|
939
|
-
-- 审计字段
|
|
940
|
-
created_by VARCHAR(50),
|
|
941
|
-
modified_by VARCHAR(50),
|
|
942
|
-
|
|
943
|
-
-- 索引优化
|
|
944
|
-
INDEX bloom_code (product_code) BLOOMFILTER,
|
|
945
|
-
INDEX bloom_category (category_id) BLOOMFILTER,
|
|
946
|
-
INDEX inv_name (product_name) INVERTED PROPERTIES ('analyzer' = 'chinese')
|
|
947
|
-
)
|
|
948
|
-
CLUSTERED BY (product_id) INTO 32 BUCKETS -- 维度表通常较小
|
|
949
|
-
COMMENT '产品维度表';
|
|
950
|
-
```
|
|
951
|
-
|
|
952
|
-
### 2. 事实表模式
|
|
953
|
-
|
|
954
|
-
```sql
|
|
955
|
-
-- 大型事实表设计
|
|
956
|
-
CREATE TABLE fact_sales (
|
|
957
|
-
-- 业务主键
|
|
958
|
-
sale_id BIGINT IDENTITY(1),
|
|
959
|
-
|
|
960
|
-
-- 维度外键
|
|
961
|
-
date_id INT NOT NULL,
|
|
962
|
-
product_id INT NOT NULL,
|
|
963
|
-
customer_id BIGINT NOT NULL,
|
|
964
|
-
store_id INT NOT NULL,
|
|
965
|
-
|
|
966
|
-
-- 度量值
|
|
967
|
-
quantity INT NOT NULL,
|
|
968
|
-
unit_price DECIMAL(10,2) NOT NULL,
|
|
969
|
-
discount_amount DECIMAL(10,2) DEFAULT 0,
|
|
970
|
-
tax_amount DECIMAL(10,2) DEFAULT 0,
|
|
971
|
-
total_amount DECIMAL(18,2) GENERATED ALWAYS AS
|
|
972
|
-
(quantity * unit_price - discount_amount + tax_amount),
|
|
973
|
-
|
|
974
|
-
-- 时间戳
|
|
975
|
-
sale_time TIMESTAMP NOT NULL,
|
|
976
|
-
|
|
977
|
-
-- 分区字段
|
|
978
|
-
sale_date STRING GENERATED ALWAYS AS (date_format(sale_time, 'yyyy-MM-dd')),
|
|
979
|
-
|
|
980
|
-
-- 索引
|
|
981
|
-
INDEX bloom_product (product_id) BLOOMFILTER,
|
|
982
|
-
INDEX bloom_customer (customer_id) BLOOMFILTER
|
|
983
|
-
)
|
|
984
|
-
PARTITIONED BY (sale_date)
|
|
985
|
-
CLUSTERED BY (customer_id) SORTED BY (sale_time DESC) INTO 256 BUCKETS
|
|
986
|
-
PROPERTIES (
|
|
987
|
-
'data_lifecycle' = '2555', -- 7年保留
|
|
988
|
-
'partition.cache.policy.latest.count' = '30' -- 缓存30天
|
|
989
|
-
)
|
|
990
|
-
COMMENT '销售事实表';
|
|
991
|
-
```
|
|
992
|
-
|
|
993
|
-
### 3. 宽表模式
|
|
994
|
-
|
|
995
|
-
```sql
|
|
996
|
-
-- 宽表设计(星型模式去规范化)
|
|
997
|
-
CREATE TABLE user_behavior_wide (
|
|
998
|
-
-- 用户维度
|
|
999
|
-
user_id BIGINT,
|
|
1000
|
-
user_name VARCHAR(100),
|
|
1001
|
-
user_level VARCHAR(20),
|
|
1002
|
-
register_date DATE,
|
|
1003
|
-
|
|
1004
|
-
-- 行为事实
|
|
1005
|
-
behavior_id BIGINT IDENTITY(1),
|
|
1006
|
-
behavior_type VARCHAR(50),
|
|
1007
|
-
behavior_time TIMESTAMP,
|
|
1008
|
-
|
|
1009
|
-
-- 商品维度(冗余)
|
|
1010
|
-
product_id INT,
|
|
1011
|
-
product_name VARCHAR(200),
|
|
1012
|
-
category_name VARCHAR(100),
|
|
1013
|
-
brand_name VARCHAR(100),
|
|
1014
|
-
|
|
1015
|
-
-- 计算字段
|
|
1016
|
-
behavior_date STRING GENERATED ALWAYS AS (date_format(behavior_time, 'yyyy-MM-dd')),
|
|
1017
|
-
behavior_hour INT GENERATED ALWAYS AS (hour(behavior_time))
|
|
1018
|
-
)
|
|
1019
|
-
PARTITIONED BY (behavior_date, behavior_hour)
|
|
1020
|
-
CLUSTERED BY (user_id) INTO 512 BUCKETS
|
|
1021
|
-
COMMENT '用户行为宽表';
|
|
1022
|
-
```
|
|
1023
|
-
|
|
1024
|
-
***
|
|
1025
|
-
|
|
1026
|
-
## 性能调优检查清单
|
|
1027
|
-
|
|
1028
|
-
### 建表前评估
|
|
1029
|
-
|
|
1030
|
-
* [ ] **数据量评估**:预估表的总大小和增长速度
|
|
1031
|
-
* [ ] **查询模式**:明确主要的查询维度和过滤条件
|
|
1032
|
-
* [ ] **更新频率**:确定是只追加还是需要更新删除
|
|
1033
|
-
* [ ] **并发需求**:评估查询并发数和响应时间要求
|
|
1034
|
-
|
|
1035
|
-
### 分区设计检查
|
|
1036
|
-
|
|
1037
|
-
* [ ] **分区键选择**:选择查询中最常用的过滤字段
|
|
1038
|
-
* [ ] **分区粒度**:确保单分区大小在100MB-1GB之间
|
|
1039
|
-
* [ ] **分区数量**:避免产生过多分区(建议<10000)
|
|
1040
|
-
* [ ] **转换分区**:考虑使用转换函数优化分区
|
|
1041
|
-
|
|
1042
|
-
### 分桶优化检查
|
|
1043
|
-
|
|
1044
|
-
* [ ] **分桶键选择**:优先选择JOIN键或高基数列
|
|
1045
|
-
* [ ] **分桶数量**:根据数据量选择(总量/128MB-1GB)
|
|
1046
|
-
* [ ] **排序策略**:为范围查询添加SORTED BY
|
|
1047
|
-
* [ ] **数据倾斜**:避免选择倾斜严重的列作为分桶键
|
|
1048
|
-
|
|
1049
|
-
### 索引策略检查
|
|
1050
|
-
|
|
1051
|
-
* [ ] **布隆过滤器**:为高基数点查询列创建
|
|
1052
|
-
* [ ] **倒排索引**:为文本搜索列创建
|
|
1053
|
-
* [ ] **向量索引**:为向量搜索场景创建
|
|
1054
|
-
* [ ] **索引维护**:定期执行BUILD INDEX
|
|
1055
|
-
* [ ] **索引评估**:监控索引使用率和效果
|
|
1056
|
-
|
|
1057
|
-
***
|
|
1058
|
-
|
|
1059
|
-
## 常见问题与解决方案
|
|
1060
|
-
|
|
1061
|
-
### Q1: 如何处理超大表(>10TB)。
|
|
1062
|
-
|
|
1063
|
-
```sql
|
|
1064
|
-
-- 多级分区策略
|
|
1065
|
-
CREATE TABLE huge_table (
|
|
1066
|
-
id BIGINT,
|
|
1067
|
-
event_time TIMESTAMP,
|
|
1068
|
-
region VARCHAR(10),
|
|
1069
|
-
data STRING,
|
|
1070
|
-
|
|
1071
|
-
-- 三级分区
|
|
1072
|
-
year INT GENERATED ALWAYS AS (year(event_time)),
|
|
1073
|
-
month INT GENERATED ALWAYS AS (month(event_time)),
|
|
1074
|
-
day INT GENERATED ALWAYS AS (day(event_time))
|
|
1075
|
-
)
|
|
1076
|
-
PARTITIONED BY (year, month, day, region)
|
|
1077
|
-
CLUSTERED BY (id) INTO 2048 BUCKETS;
|
|
1078
|
-
```
|
|
1079
|
-
|
|
1080
|
-
### Q2: 如何优化实时写入?
|
|
1081
|
-
|
|
1082
|
-
```sql
|
|
1083
|
-
-- 实时写入优化表设计
|
|
1084
|
-
CREATE TABLE realtime_events (
|
|
1085
|
-
event_id BIGINT PRIMARY KEY, -- 支持去重
|
|
1086
|
-
event_data JSON,
|
|
1087
|
-
ingest_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
|
|
1088
|
-
|
|
1089
|
-
-- 小时级分区减少写入冲突
|
|
1090
|
-
ingest_hour INT GENERATED ALWAYS AS (hour(ingest_time)),
|
|
1091
|
-
ingest_date STRING GENERATED ALWAYS AS (date_format(ingest_time, 'yyyy-MM-dd'))
|
|
1092
|
-
)
|
|
1093
|
-
PARTITIONED BY (ingest_date, ingest_hour)
|
|
1094
|
-
CLUSTERED BY (event_id) INTO 64 BUCKETS; -- 适度分桶
|
|
1095
|
-
```
|
|
1096
|
-
|
|
1097
|
-
### Q3: 如何设计SCD(缓慢变化维度)?
|
|
1098
|
-
|
|
1099
|
-
```sql
|
|
1100
|
-
-- Type 2 SCD设计
|
|
1101
|
-
CREATE TABLE dim_customer_scd (
|
|
1102
|
-
customer_id BIGINT,
|
|
1103
|
-
customer_name VARCHAR(200),
|
|
1104
|
-
customer_level VARCHAR(20),
|
|
1105
|
-
effective_date DATE,
|
|
1106
|
-
expiry_date DATE,
|
|
1107
|
-
is_current BOOLEAN,
|
|
1108
|
-
|
|
1109
|
-
PRIMARY KEY (customer_id, effective_date)
|
|
1110
|
-
)
|
|
1111
|
-
CLUSTERED BY (customer_id, effective_date)
|
|
1112
|
-
SORTED BY (customer_id, effective_date) -- 主键表必须使用ASC排序
|
|
1113
|
-
INTO 128 BUCKETS
|
|
1114
|
-
COMMENT 'Customer dimension with SCD Type 2';
|
|
1115
|
-
```
|
|
1116
|
-
|
|
1117
|
-
### Q4: 如何调整字段长度限制?
|
|
1118
|
-
|
|
1119
|
-
```sql
|
|
1120
|
-
-- 调整STRING/BINARY/JSON字段的最大长度
|
|
1121
|
-
ALTER TABLE large_content_table SET PROPERTIES (
|
|
1122
|
-
'cz.storage.write.max.string.bytes' = '67108864', -- 64MB
|
|
1123
|
-
'cz.storage.write.max.json.bytes' = '33554432' -- 32MB
|
|
1124
|
-
);
|
|
1125
|
-
```
|
|
1126
|
-
|
|
1127
|
-
***
|
|
1128
|
-
|
|
1129
|
-
## 迁移成功要素总结
|
|
1130
|
-
|
|
1131
|
-
### 技术栈迁移快速参考
|
|
1132
|
-
|
|
1133
|
-
| 源系统 | 关键迁移点 | Lakehouse优势 |
|
|
1134
|
-
| -------------- | ------------------- | ----------- |
|
|
1135
|
-
| **Spark** | DataFrame → SQL DDL | 标准SQL降低门槛 |
|
|
1136
|
-
| **Hive** | 分区语法完全兼容 | 性能提升100x |
|
|
1137
|
-
| **MaxCompute** | 函数基本一致 | 弹性资源更灵活 |
|
|
1138
|
-
| **Snowflake** | 增加显式优化 | 成本可控 |
|
|
1139
|
-
| **Databricks** | Delta理念相通 | 纯SQL更简洁 |
|
|
1140
|
-
| **传统DB** | OLTP → OLAP思维 | 扩展性无限 |
|
|
1141
|
-
|
|
1142
|
-
### 建表最佳实践总结
|
|
1143
|
-
|
|
1144
|
-
1. **合理分区**:选择低基数、查询常用的字段
|
|
1145
|
-
2. **适度分桶**:根据数据量选择,避免过度分桶
|
|
1146
|
-
3. **索引精准**:只为必要的列创建索引
|
|
1147
|
-
4. **生成列巧用**:减少ETL复杂度
|
|
1148
|
-
5. **生命周期管理**:设置合理的保留期
|
|
1149
|
-
6. **主键谨慎**:仅在CDC场景使用
|
|
1150
|
-
7. **测试先行**:小数据集验证后再大规模应用
|
|
1151
|
-
|
|
1152
|
-
### 性能优化效果预期
|
|
1153
|
-
|
|
1154
|
-
通过遵循本指南的建表最佳实践:
|
|
1155
|
-
|
|
1156
|
-
* **查询性能**:相比Hive提升10-100倍
|
|
1157
|
-
* **存储效率**:列式压缩节省60-80%空间
|
|
1158
|
-
* **维护成本**:自动化管理降低90%人工
|
|
1159
|
-
* **扩展能力**:支持PB级数据规模
|
|
1160
|
-
|
|
1161
|
-
***
|
|
1162
|
-
|
|
1163
|
-
## 重要约束与限制总结
|
|
1164
|
-
|
|
1165
|
-
### 主键表约束
|
|
1166
|
-
|
|
1167
|
-
* **CLUSTERED BY**: 必须包含所有主键列
|
|
1168
|
-
* **SORTED BY**: 必须包含所有主键列且只能使用升序(ASC)
|
|
1169
|
-
* **PARTITIONED BY**: 分区列必须是主键的子集
|
|
1170
|
-
* **生成列限制**: 主键表不能使用生成列作为分区键
|
|
1171
|
-
|
|
1172
|
-
### 生成列限制
|
|
1173
|
-
|
|
1174
|
-
* 不能用于 `CLUSTERED BY` 或 `SORTED BY`
|
|
1175
|
-
* 不支持非确定性函数(如 `CURRENT_DATE`、`RANDOM`、`CURRENT_TIMESTAMP`)
|
|
1176
|
-
* 不支持聚合函数、窗口函数或表函数
|
|
1177
|
-
* 插入时不能为生成列指定值
|
|
1178
|
-
|
|
1179
|
-
### 索引约束
|
|
1180
|
-
|
|
1181
|
-
* 索引名必须在整个数据库中唯一
|
|
1182
|
-
* BLOOMFILTER索引创建后不支持 `BUILD INDEX`
|
|
1183
|
-
* 倒排索引必须指定分析器(analyzer)
|
|
1184
|
-
* 向量索引不支持在ORDER BY或GROUP BY中使用
|
|
1185
|
-
|
|
1186
|
-
### 数据类型限制
|
|
1187
|
-
|
|
1188
|
-
* 自增列(IDENTITY)只支持 `BIGINT` 类型
|
|
1189
|
-
* VARCHAR最大长度为1048576(约1MB)
|
|
1190
|
-
* STRING/BINARY/JSON默认最大16MB,可通过属性调整
|
|
1191
|
-
* 分区列不支持 `FLOAT`、`DOUBLE`、`DECIMAL` 等浮点类型
|
|
1192
|
-
* VECTOR类型元素支持tinyint、int、float
|
|
1193
|
-
|
|
1194
|
-
### 分区限制
|
|
1195
|
-
|
|
1196
|
-
* 单个任务最多写入2048个分区(可通过参数调整)
|
|
1197
|
-
* 转换分区函数使用 `years`、`months`、`days`、`hours`(注意复数形式)
|
|
1198
|
-
* 分区列不支持复杂数据类型(ARRAY、MAP、STRUCT)
|
|
1199
|
-
|
|
1200
|
-
***
|
|
1201
|
-
|
|
1202
|
-
## 总结
|
|
1203
|
-
|
|
1204
|
-
云器Lakehouse的CREATE TABLE功能为企业提供了强大、灵活、高性能的表管理能力。无论您来自哪种技术背景,都能快速上手并发挥系统的最大价值。通过本指南的详细说明和丰富示例,相信您已经掌握了在Lakehouse中创建高效数据表的全部技能。
|
|
1205
|
-
|
|
1206
|
-
立即开始您的Lakehouse之旅,体验下一代数据仓库的强大威力!
|
|
1207
|
-
|
|
1208
|
-
***
|
|
1209
|
-
|
|
1210
|
-
**注意**:本文档基于Lakehouse 2025年6月的产品文档整理,建议定期查看官方文档获取最新更新。在生产环境中使用前,请务必在测试环境中验证所有操作的正确性和性能影响。
|