@clickzetta/cz-cli-darwin-x64 0.3.1
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/cz-cli/SKILL.md +58 -0
- package/bin/skills/cz-cli/references/profile-setup.md +88 -0
- package/bin/skills/cz-cli-inner/SKILL.md +96 -0
- package/bin/skills/dt-creator/SKILL.md +15 -0
- package/bin/skills/dt-creator/references/dt-declaration-strategy.md +185 -0
- package/bin/skills/dt-creator/references/incremental-config-reference.md +429 -0
- package/bin/skills/dt-creator/references/refresh-history-guide.md +268 -0
- package/bin/skills/dt-creator/references/sql-limitations.md +80 -0
- package/bin/skills/dynamic-table-alter/SKILL.md +190 -0
- package/bin/skills/lakehouse-doc/SKILL.md +107 -0
- package/bin/skills/lakehouse-doc/references/.gitattributes +1 -0
- package/bin/skills/lakehouse-doc/references/.gitlab-ci.yml +11 -0
- package/bin/skills/lakehouse-doc/references/702bc8f656.md +387 -0
- package/bin/skills/lakehouse-doc/references/774c65e217.md +136 -0
- package/bin/skills/lakehouse-doc/references/9164fed65a.md +1 -0
- package/bin/skills/lakehouse-doc/references/AIGateway.md +3 -0
- package/bin/skills/lakehouse-doc/references/AI_COMPLETE.md +157 -0
- package/bin/skills/lakehouse-doc/references/AI_EMBEDDING.md +70 -0
- package/bin/skills/lakehouse-doc/references/AI_Gateway.md +255 -0
- package/bin/skills/lakehouse-doc/references/AI_eco.md +1 -0
- package/bin/skills/lakehouse-doc/references/AI_function_in_SQL.md +25 -0
- package/bin/skills/lakehouse-doc/references/AI_function_overview.md +25 -0
- package/bin/skills/lakehouse-doc/references/ALTER-EXTERNAL-TABLE.md +78 -0
- package/bin/skills/lakehouse-doc/references/ALTER-SCHEMA.md +85 -0
- package/bin/skills/lakehouse-doc/references/ALTER-TABLE-COLUMN.md +223 -0
- package/bin/skills/lakehouse-doc/references/ALTERTABLE.md +92 -0
- package/bin/skills/lakehouse-doc/references/ARRAY.md +99 -0
- package/bin/skills/lakehouse-doc/references/Account.md +2 -0
- package/bin/skills/lakehouse-doc/references/Analysis.md +1 -0
- package/bin/skills/lakehouse-doc/references/AnalyticsModernDataStack.md +390 -0
- package/bin/skills/lakehouse-doc/references/Application_list.md +26 -0
- package/bin/skills/lakehouse-doc/references/Approval.md +1 -0
- package/bin/skills/lakehouse-doc/references/Approval_list.md +61 -0
- package/bin/skills/lakehouse-doc/references/BIGINT.md +49 -0
- package/bin/skills/lakehouse-doc/references/BINARY.md +104 -0
- package/bin/skills/lakehouse-doc/references/BOOLEAN.md +47 -0
- package/bin/skills/lakehouse-doc/references/BP_AI_Function_Image2text.md +203 -0
- package/bin/skills/lakehouse-doc/references/BluepipeOracleLakehouse_DataSync.md +244 -0
- package/bin/skills/lakehouse-doc/references/CHAR.md +38 -0
- package/bin/skills/lakehouse-doc/references/CONNECTION.md +1 -0
- package/bin/skills/lakehouse-doc/references/COPY-INTO-Location.md +404 -0
- package/bin/skills/lakehouse-doc/references/COPY_INTO_Location.md +371 -0
- package/bin/skills/lakehouse-doc/references/CREAREUSER.md +42 -0
- package/bin/skills/lakehouse-doc/references/CREATE-BLOOMFILTER-INDEX.md +138 -0
- package/bin/skills/lakehouse-doc/references/CREATECONNECTION.md +11 -0
- package/bin/skills/lakehouse-doc/references/CREATEEXTERNAlLSCHEMA.md +290 -0
- package/bin/skills/lakehouse-doc/references/CREATEMATERIALIZEDVIEW.md +518 -0
- package/bin/skills/lakehouse-doc/references/CREATEROLE.md +71 -0
- package/bin/skills/lakehouse-doc/references/CREATESCHEMA.md +40 -0
- package/bin/skills/lakehouse-doc/references/CREATEVIEW.md +63 -0
- package/bin/skills/lakehouse-doc/references/CREATE_EXTERNATL_FUNCTION.md +219 -0
- package/bin/skills/lakehouse-doc/references/CTERevenueCohort.md +275 -0
- package/bin/skills/lakehouse-doc/references/ComputeResourceDDL.md +1 -0
- package/bin/skills/lakehouse-doc/references/Concepts.md +1 -0
- package/bin/skills/lakehouse-doc/references/Create_Embeding_Function.md +236 -0
- package/bin/skills/lakehouse-doc/references/Create_LLM_Function.md +242 -0
- package/bin/skills/lakehouse-doc/references/CreditScoringwithZettaparkandPythonMLlibraryNew.md +873 -0
- package/bin/skills/lakehouse-doc/references/DATE.md +50 -0
- package/bin/skills/lakehouse-doc/references/DDL.md +1 -0
- package/bin/skills/lakehouse-doc/references/DECIMAL.md +27 -0
- package/bin/skills/lakehouse-doc/references/DELETE.md +48 -0
- package/bin/skills/lakehouse-doc/references/DESC-INDEX.md +41 -0
- package/bin/skills/lakehouse-doc/references/DESC-JOB.md +31 -0
- package/bin/skills/lakehouse-doc/references/DESCCONNECTION.md +39 -0
- package/bin/skills/lakehouse-doc/references/DESCMATERIALIZEDVIEW.md +31 -0
- package/bin/skills/lakehouse-doc/references/DESCSCHEMAS.md +59 -0
- package/bin/skills/lakehouse-doc/references/DESCTABLE.md +105 -0
- package/bin/skills/lakehouse-doc/references/DESCVIEW.md +66 -0
- package/bin/skills/lakehouse-doc/references/DOUBLE.md +58 -0
- package/bin/skills/lakehouse-doc/references/DQL.md +1 -0
- package/bin/skills/lakehouse-doc/references/DROP-INDEX.md +29 -0
- package/bin/skills/lakehouse-doc/references/DROPCONNECTION.md +32 -0
- package/bin/skills/lakehouse-doc/references/DROPMATERIALIZEDVIEW.md +42 -0
- package/bin/skills/lakehouse-doc/references/DROPROLE.md +56 -0
- package/bin/skills/lakehouse-doc/references/DROPSCHEMA.md +37 -0
- package/bin/skills/lakehouse-doc/references/DROPTABLE.md +46 -0
- package/bin/skills/lakehouse-doc/references/DROPUSER.md +34 -0
- package/bin/skills/lakehouse-doc/references/DROPVIEW.md +33 -0
- package/bin/skills/lakehouse-doc/references/DataQuality.md +99 -0
- package/bin/skills/lakehouse-doc/references/DataSourceConfigGuide.md +1 -0
- package/bin/skills/lakehouse-doc/references/DataSource_ADBMySQL.md +35 -0
- package/bin/skills/lakehouse-doc/references/DataSource_ADB_PostgreSQL.md +36 -0
- package/bin/skills/lakehouse-doc/references/DataSource_AMQP.md +37 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Amazon_DocumentDB.md +115 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Amazon_OpenSearch.md +42 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Aurora_MySQL.md +35 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Aurora_PostgreSQL.md +36 -0
- package/bin/skills/lakehouse-doc/references/DataSource_AutoMQ.md +124 -0
- package/bin/skills/lakehouse-doc/references/DataSource_COS.md +31 -0
- package/bin/skills/lakehouse-doc/references/DataSource_ClickHouse.md +36 -0
- package/bin/skills/lakehouse-doc/references/DataSource_DB2.md +36 -0
- package/bin/skills/lakehouse-doc/references/DataSource_DM.md +35 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Databricks.md +38 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Doris.md +34 -0
- package/bin/skills/lakehouse-doc/references/DataSource_DynamoDB.md +37 -0
- package/bin/skills/lakehouse-doc/references/DataSource_ElasticSearch.md +30 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Greenplum.md +36 -0
- package/bin/skills/lakehouse-doc/references/DataSource_HANA.md +53 -0
- package/bin/skills/lakehouse-doc/references/DataSource_HBase.md +29 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Hive.md +52 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Hologres.md +36 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Kafka.md +32 -0
- package/bin/skills/lakehouse-doc/references/DataSource_MariaDB.md +36 -0
- package/bin/skills/lakehouse-doc/references/DataSource_MaxCompute.md +32 -0
- package/bin/skills/lakehouse-doc/references/DataSource_MongoDB.md +36 -0
- package/bin/skills/lakehouse-doc/references/DataSource_MySQL.md +36 -0
- package/bin/skills/lakehouse-doc/references/DataSource_OSS.md +31 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Oracle.md +35 -0
- package/bin/skills/lakehouse-doc/references/DataSource_PorarDB.md +37 -0
- package/bin/skills/lakehouse-doc/references/DataSource_PostgreSQL.md +36 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Redis.md +55 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Redshift.md +49 -0
- package/bin/skills/lakehouse-doc/references/DataSource_RestApi.md +30 -0
- package/bin/skills/lakehouse-doc/references/DataSource_S3.md +25 -0
- package/bin/skills/lakehouse-doc/references/DataSource_SLS.md +31 -0
- package/bin/skills/lakehouse-doc/references/DataSource_StarRocks.md +35 -0
- package/bin/skills/lakehouse-doc/references/DataSource_TiDB.md +36 -0
- package/bin/skills/lakehouse-doc/references/Datalake_StorageConnection.md +12 -0
- package/bin/skills/lakehouse-doc/references/Datasource_SQLServer.md +36 -0
- package/bin/skills/lakehouse-doc/references/Datus_Lakehouse_Integrated_Guide.md +3 -0
- package/bin/skills/lakehouse-doc/references/Datus_Lakehouse_MCPServer.md +111 -0
- package/bin/skills/lakehouse-doc/references/Dify_Integreated_with_LakehouseMCPServer.md +71 -0
- package/bin/skills/lakehouse-doc/references/ELTModernDataStack.md +497 -0
- package/bin/skills/lakehouse-doc/references/ELT_practice.md +1 -0
- package/bin/skills/lakehouse-doc/references/EXPLAIN.md +92 -0
- package/bin/skills/lakehouse-doc/references/EXTERNALFUNCITON.md +1 -0
- 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 +142 -0
- package/bin/skills/lakehouse-doc/references/EXTERNALSCHEMA.md +1 -0
- package/bin/skills/lakehouse-doc/references/EXTERNALSCHMEA.md +94 -0
- package/bin/skills/lakehouse-doc/references/ExternalFunctionDevGuideJava.md +556 -0
- package/bin/skills/lakehouse-doc/references/FLOAT.md +33 -0
- package/bin/skills/lakehouse-doc/references/FeatureEngineeringForExpandingCustomerFeatureswithZettapark.md +427 -0
- package/bin/skills/lakehouse-doc/references/FileCommand.md +1 -0
- package/bin/skills/lakehouse-doc/references/FileFunction.md +1 -0
- package/bin/skills/lakehouse-doc/references/FineBI.md +195 -0
- package/bin/skills/lakehouse-doc/references/Full_Text_Search.md +1 -0
- package/bin/skills/lakehouse-doc/references/GET.md +63 -0
- package/bin/skills/lakehouse-doc/references/GET_PRESIGNED_URL.md +91 -0
- package/bin/skills/lakehouse-doc/references/GrantPriveleges.md +113 -0
- package/bin/skills/lakehouse-doc/references/Hive_connection.md +50 -0
- package/bin/skills/lakehouse-doc/references/IDENTITY-Column.md +74 -0
- package/bin/skills/lakehouse-doc/references/INSERT.md +186 -0
- package/bin/skills/lakehouse-doc/references/INT.md +36 -0
- package/bin/skills/lakehouse-doc/references/INTERVAL.md +143 -0
- package/bin/skills/lakehouse-doc/references/Ingesting_Data_from_Alibaba_Cloud_Data_Lake_into_Lakehouse.md +976 -0
- package/bin/skills/lakehouse-doc/references/Ingestion.md +1 -0
- package/bin/skills/lakehouse-doc/references/JDBC-Driver.md +67 -0
- package/bin/skills/lakehouse-doc/references/JDBC_MindsDB_ML_LLM.md +237 -0
- package/bin/skills/lakehouse-doc/references/JOIN.md +204 -0
- package/bin/skills/lakehouse-doc/references/JSON.md +423 -0
- package/bin/skills/lakehouse-doc/references/JSON_DataType.md +49 -0
- package/bin/skills/lakehouse-doc/references/KAFKA_Storage_connection.md +1 -0
- package/bin/skills/lakehouse-doc/references/Kafka_connection.md +36 -0
- package/bin/skills/lakehouse-doc/references/Key_Concepts.md +112 -0
- package/bin/skills/lakehouse-doc/references/LATERALVIEW.md +78 -0
- package/bin/skills/lakehouse-doc/references/Lakehouse-client-repository.md +11 -0
- package/bin/skills/lakehouse-doc/references/LakehouseAI.md +0 -0
- package/bin/skills/lakehouse-doc/references/LakehouseAI_overview.md +16 -0
- package/bin/skills/lakehouse-doc/references/LakehouseAI/346/246/202/350/277/260.md +0 -0
- package/bin/skills/lakehouse-doc/references/LakehouseDataGPTTour.md +64 -0
- package/bin/skills/lakehouse-doc/references/LakehouseMCPServer.md +1 -0
- package/bin/skills/lakehouse-doc/references/LakehouseMCPServer_intro.md +493 -0
- package/bin/skills/lakehouse-doc/references/LakehousePythonZettapark.md +1 -0
- package/bin/skills/lakehouse-doc/references/LakehouseStudioTour.md +185 -0
- package/bin/skills/lakehouse-doc/references/Lakehouse_Index_Best_Practice.md +681 -0
- package/bin/skills/lakehouse-doc/references/Lakehouse_Insight.md +104 -0
- package/bin/skills/lakehouse-doc/references/Lakehouse_Platform_Release_Note.md +1 -0
- package/bin/skills/lakehouse-doc/references/Lakehouse_Studio_101.md +1 -0
- package/bin/skills/lakehouse-doc/references/Lakehouse_Studio_Release_Note.md +1 -0
- package/bin/skills/lakehouse-doc/references/Lakehouse_Zilliz_MakeDataReadyforBIandAI.md +228 -0
- package/bin/skills/lakehouse-doc/references/Langchain_plug_installation.md +244 -0
- package/bin/skills/lakehouse-doc/references/Langchain_plug_quick_start.md +225 -0
- package/bin/skills/lakehouse-doc/references/Langchain_plugins_overview.md +406 -0
- package/bin/skills/lakehouse-doc/references/Limitation.md +8 -0
- package/bin/skills/lakehouse-doc/references/LoggingIn.md +67 -0
- package/bin/skills/lakehouse-doc/references/Logstash.md +172 -0
- package/bin/skills/lakehouse-doc/references/MAP.md +42 -0
- package/bin/skills/lakehouse-doc/references/MATERIALIZEDVIEW.md +112 -0
- package/bin/skills/lakehouse-doc/references/MCPServers.md +267 -0
- package/bin/skills/lakehouse-doc/references/MERGE.md +498 -0
- package/bin/skills/lakehouse-doc/references/ManageAccounts.md +184 -0
- package/bin/skills/lakehouse-doc/references/ManagingFilesonDatalakeVolumewithZettapark.md +145 -0
- package/bin/skills/lakehouse-doc/references/MigrateSnowflakeRealtimeETLPipelinetoClickzettaLakehouse.md +865 -0
- package/bin/skills/lakehouse-doc/references/Migrate_Spark_DataEngineeringBestPractices_Project_to_Lakehouse.md +292 -0
- package/bin/skills/lakehouse-doc/references/ModernDataStackWithEcosystemTools.md +1 -0
- package/bin/skills/lakehouse-doc/references/N8N_AI_Workflow_Integration.md +1 -0
- package/bin/skills/lakehouse-doc/references/N8N_Integrated_with_LakehouseMCPServer.md +128 -0
- package/bin/skills/lakehouse-doc/references/Notebook.md +109 -0
- package/bin/skills/lakehouse-doc/references/NotesandGuidelinesforUsingPartitionTables.md +1627 -0
- package/bin/skills/lakehouse-doc/references/OPTIMIZE.md +80 -0
- package/bin/skills/lakehouse-doc/references/OptimizingComputingResources.md +1 -0
- package/bin/skills/lakehouse-doc/references/Overview.md +1 -0
- package/bin/skills/lakehouse-doc/references/PUT.md +70 -0
- package/bin/skills/lakehouse-doc/references/PerformingVectorandScalarRetrievalinheSameTableinLakehouse.md +84 -0
- package/bin/skills/lakehouse-doc/references/Permission_application.md +43 -0
- package/bin/skills/lakehouse-doc/references/PowerBI.md +113 -0
- package/bin/skills/lakehouse-doc/references/PythonSDKVersionHistory.md +24 -0
- package/bin/skills/lakehouse-doc/references/PythonSample_put_gharchive2oss.md +153 -0
- package/bin/skills/lakehouse-doc/references/PythonSample_put_github_rt_events.md +336 -0
- package/bin/skills/lakehouse-doc/references/PythonSqlAlchemyVersionHistory.md +23 -0
- package/bin/skills/lakehouse-doc/references/PythonTaskDev.md +1 -0
- package/bin/skills/lakehouse-doc/references/Python_Task.md +28 -0
- package/bin/skills/lakehouse-doc/references/Query_SnowflakeOpenCatalog_Icebergtable.md +114 -0
- package/bin/skills/lakehouse-doc/references/QuickStartwithCopycommand.md +79 -0
- package/bin/skills/lakehouse-doc/references/README.md +1 -0
- package/bin/skills/lakehouse-doc/references/REFRESH.md +37 -0
- package/bin/skills/lakehouse-doc/references/REMOTEFUNCTION.md +1 -0
- package/bin/skills/lakehouse-doc/references/RN_2023-08-07.md +67 -0
- package/bin/skills/lakehouse-doc/references/RN_2023-09-05.md +75 -0
- package/bin/skills/lakehouse-doc/references/RN_2023-09-18.md +50 -0
- package/bin/skills/lakehouse-doc/references/RN_2023-09-20.md +55 -0
- package/bin/skills/lakehouse-doc/references/RN_2023-10-25.md +102 -0
- package/bin/skills/lakehouse-doc/references/RN_2023-11-09.md +84 -0
- package/bin/skills/lakehouse-doc/references/RN_2023-12-25.md +84 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-01-05.md +78 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-02-05.md +87 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-03-22.md +76 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-04-10.md +61 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-04-16.md +38 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-05-10.md +47 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-05-15.md +43 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-05-24.md +143 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-06-06.md +59 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-06-07.md +71 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-06-27.md +55 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-07-22.md +121 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-07-24.md +58 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-08-07.md +42 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-09-26.md +106 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-10-15.md +49 -0
- package/bin/skills/lakehouse-doc/references/RN_2024_11_11.md +50 -0
- package/bin/skills/lakehouse-doc/references/RN_2024_12_12.md +52 -0
- package/bin/skills/lakehouse-doc/references/RN_2024_12_25.md +40 -0
- package/bin/skills/lakehouse-doc/references/RN_2025-03-05.md +68 -0
- package/bin/skills/lakehouse-doc/references/RN_2025-04-01.md +74 -0
- package/bin/skills/lakehouse-doc/references/RN_2025-05-20.md +90 -0
- package/bin/skills/lakehouse-doc/references/RN_2025-07-03.md +100 -0
- package/bin/skills/lakehouse-doc/references/RN_2025-08-25.md +106 -0
- package/bin/skills/lakehouse-doc/references/RN_2025_03_03.md +141 -0
- package/bin/skills/lakehouse-doc/references/RN_2025_04_22.md +110 -0
- package/bin/skills/lakehouse-doc/references/RN_2025_07_15.md +60 -0
- package/bin/skills/lakehouse-doc/references/RN_2025_10_23.md +85 -0
- package/bin/skills/lakehouse-doc/references/RN_2025_10_30.md +68 -0
- package/bin/skills/lakehouse-doc/references/RN_2025_12_17.md +71 -0
- package/bin/skills/lakehouse-doc/references/RN_2026_1_30-2.0.0.md +43 -0
- package/bin/skills/lakehouse-doc/references/RN_LH_2025_12_30.md +73 -0
- package/bin/skills/lakehouse-doc/references/RN_LH_2026_03_13.md +47 -0
- package/bin/skills/lakehouse-doc/references/Refactor_ELT_practice.md +241 -0
- package/bin/skills/lakehouse-doc/references/RemoteFunctionAsUDF.md +1 -0
- package/bin/skills/lakehouse-doc/references/RemoteFunctionBestPractice.md +350 -0
- package/bin/skills/lakehouse-doc/references/RemoteFunctionDevGuidePython3.md +571 -0
- package/bin/skills/lakehouse-doc/references/RemoteFunctionOnACR.md +249 -0
- package/bin/skills/lakehouse-doc/references/RemoteFunctionintro.md +54 -0
- package/bin/skills/lakehouse-doc/references/RemoteFunction/344/273/213/347/273/215.md +1 -0
- package/bin/skills/lakehouse-doc/references/RemoteFunction/345/274/200/345/217/221/346/214/207/345/215/227Python3.md +1 -0
- package/bin/skills/lakehouse-doc/references/RemoteFunction/346/234/200/344/275/263/345/256/236/350/267/265.md +1 -0
- package/bin/skills/lakehouse-doc/references/RevokePriveleges.md +98 -0
- package/bin/skills/lakehouse-doc/references/SCHEMA.md +48 -0
- package/bin/skills/lakehouse-doc/references/SCHEMADDL.md +0 -0
- package/bin/skills/lakehouse-doc/references/SHOW-INDEX.md +22 -0
- package/bin/skills/lakehouse-doc/references/SHOWCONNECTIONS.md +44 -0
- package/bin/skills/lakehouse-doc/references/SHOWFUNCTIONS.md +38 -0
- package/bin/skills/lakehouse-doc/references/SHOWGRANTS.md +62 -0
- package/bin/skills/lakehouse-doc/references/SHOWROLES.md +59 -0
- package/bin/skills/lakehouse-doc/references/SHOWTABLES.md +46 -0
- package/bin/skills/lakehouse-doc/references/SHOWUSERS.md +26 -0
- package/bin/skills/lakehouse-doc/references/SMALLINT.md +48 -0
- package/bin/skills/lakehouse-doc/references/SQL_CREATE_TABLE_GUIDE.md +1210 -0
- package/bin/skills/lakehouse-doc/references/SQL_DML_Considerations.md +601 -0
- package/bin/skills/lakehouse-doc/references/SQL_Join_Guide.md +655 -0
- package/bin/skills/lakehouse-doc/references/SQL_SELECT_Considerations.md +1818 -0
- package/bin/skills/lakehouse-doc/references/SQL_With_CTE_Guide.md +1510 -0
- package/bin/skills/lakehouse-doc/references/SQL_customers.md +74 -0
- package/bin/skills/lakehouse-doc/references/SQL_revenue.md +31 -0
- package/bin/skills/lakehouse-doc/references/STRING.md +80 -0
- package/bin/skills/lakehouse-doc/references/STRUCT.md +33 -0
- package/bin/skills/lakehouse-doc/references/SUMMARY.md +1279 -0
- package/bin/skills/lakehouse-doc/references/Security_system_inventory_and_optimization_based_Information_Schema.md +412 -0
- package/bin/skills/lakehouse-doc/references/Server_data_for_AI.md +15 -0
- package/bin/skills/lakehouse-doc/references/SlowlyChangingDimensionsInLakehouseUsingStreamsandTasks.md +616 -0
- package/bin/skills/lakehouse-doc/references/Spark_Lakehouse_iceberg_REST.md +151 -0
- package/bin/skills/lakehouse-doc/references/StudioDI_PrivateLinkVPC_fromRDS.md +105 -0
- package/bin/skills/lakehouse-doc/references/Supported_Cloud_Platforms.md +40 -0
- package/bin/skills/lakehouse-doc/references/TABLE.md +49 -0
- package/bin/skills/lakehouse-doc/references/TIMESTAMP.md +56 -0
- package/bin/skills/lakehouse-doc/references/TIMETRAVEL.md +207 -0
- package/bin/skills/lakehouse-doc/references/TINYINT.md +63 -0
- package/bin/skills/lakehouse-doc/references/TPC-H100G_experience.md +49 -0
- package/bin/skills/lakehouse-doc/references/TRUNCATE.md +144 -0
- package/bin/skills/lakehouse-doc/references/TableDesign.md +270 -0
- package/bin/skills/lakehouse-doc/references/TableauConnectToLakehouse.md +64 -0
- package/bin/skills/lakehouse-doc/references/Tutorials.md +1 -0
- package/bin/skills/lakehouse-doc/references/UNDROP-TABLE.md +163 -0
- package/bin/skills/lakehouse-doc/references/UPDATE.md +70 -0
- package/bin/skills/lakehouse-doc/references/USESCHEMA.md +53 -0
- package/bin/skills/lakehouse-doc/references/UnifiedWorkflowIntro.md +31 -0
- package/bin/skills/lakehouse-doc/references/UnifiedWorkflow_demo.md +175 -0
- package/bin/skills/lakehouse-doc/references/Unstructured_io.md +735 -0
- package/bin/skills/lakehouse-doc/references/VARCHARleghth.md +42 -0
- package/bin/skills/lakehouse-doc/references/VIEW.md +47 -0
- package/bin/skills/lakehouse-doc/references/Volume_LIST.md +52 -0
- package/bin/skills/lakehouse-doc/references/WINDOWFUNCTION.md +561 -0
- package/bin/skills/lakehouse-doc/references/WITH.md +41 -0
- package/bin/skills/lakehouse-doc/references/ZettaparkQuickStart.md +453 -0
- package/bin/skills/lakehouse-doc/references/Zettapark_Data_Engineering_Demo.md +348 -0
- package/bin/skills/lakehouse-doc/references/a_comprehensive_guide_to_ingesting_data_into_clickzetta_lakehouse.md +66 -0
- package/bin/skills/lakehouse-doc/references/access-control-configration.md +249 -0
- package/bin/skills/lakehouse-doc/references/access-control-general.md +82 -0
- package/bin/skills/lakehouse-doc/references/access-control.md +240 -0
- package/bin/skills/lakehouse-doc/references/account_user_management.md +105 -0
- package/bin/skills/lakehouse-doc/references/accountfunds.md +87 -0
- package/bin/skills/lakehouse-doc/references/agg_function.md +1 -0
- package/bin/skills/lakehouse-doc/references/ai_ready_data_overview.md +13 -0
- package/bin/skills/lakehouse-doc/references/airbyte.md +95 -0
- package/bin/skills/lakehouse-doc/references/alert.md +143 -0
- package/bin/skills/lakehouse-doc/references/alicloud-arn-externalid.md +51 -0
- package/bin/skills/lakehouse-doc/references/alicloud_byos_configration.md +129 -0
- package/bin/skills/lakehouse-doc/references/aliyun_storage_connection.md +135 -0
- package/bin/skills/lakehouse-doc/references/alter-dynamic-table.md +375 -0
- package/bin/skills/lakehouse-doc/references/alter-external-schema.md +20 -0
- package/bin/skills/lakehouse-doc/references/alter-materialzied-view.md +238 -0
- package/bin/skills/lakehouse-doc/references/alter-share.md +43 -0
- package/bin/skills/lakehouse-doc/references/alter-user.md +13 -0
- package/bin/skills/lakehouse-doc/references/alter-vcluster.md +134 -0
- package/bin/skills/lakehouse-doc/references/alter-worksapce.md +55 -0
- package/bin/skills/lakehouse-doc/references/alter.md +35 -0
- package/bin/skills/lakehouse-doc/references/analysis_internet_data_nyc_green_data.md +449 -0
- package/bin/skills/lakehouse-doc/references/analytics_cluster_best_practices.md +377 -0
- package/bin/skills/lakehouse-doc/references/analyze-table.md +58 -0
- package/bin/skills/lakehouse-doc/references/array_size.md +34 -0
- package/bin/skills/lakehouse-doc/references/authentication.md +53 -0
- package/bin/skills/lakehouse-doc/references/authoritymanagement.md +1 -0
- package/bin/skills/lakehouse-doc/references/auto-index.md +57 -0
- package/bin/skills/lakehouse-doc/references/aws_storage_connection.md +114 -0
- package/bin/skills/lakehouse-doc/references/backfilling_data.md +60 -0
- package/bin/skills/lakehouse-doc/references/batch_sync.md +54 -0
- package/bin/skills/lakehouse-doc/references/batch_sync_Sop.md +135 -0
- package/bin/skills/lakehouse-doc/references/batchloadparquertfileintoLakehouse.md +79 -0
- package/bin/skills/lakehouse-doc/references/bestpractice_bazhuanyu.md +1 -0
- package/bin/skills/lakehouse-doc/references/billing.md +62 -0
- package/bin/skills/lakehouse-doc/references/bitmap-type.md +524 -0
- package/bin/skills/lakehouse-doc/references/bitmap_uba_guide.md +1190 -0
- package/bin/skills/lakehouse-doc/references/bloomfilter-summary.md +164 -0
- package/bin/skills/lakehouse-doc/references/book.json +17 -0
- package/bin/skills/lakehouse-doc/references/bring_your_own_storage.md +1 -0
- package/bin/skills/lakehouse-doc/references/build-inverted-index.md +27 -0
- package/bin/skills/lakehouse-doc/references/build_rag_with_langchain.md +616 -0
- package/bin/skills/lakehouse-doc/references/bulkload-summary.md +37 -0
- package/bin/skills/lakehouse-doc/references/bulkloadv1-java-sdk.md +178 -0
- package/bin/skills/lakehouse-doc/references/bulkloadv1-python-sdk.md +169 -0
- package/bin/skills/lakehouse-doc/references/byos_general.md +165 -0
- package/bin/skills/lakehouse-doc/references/byos_tencentcloud_configration.md +138 -0
- package/bin/skills/lakehouse-doc/references/cache-command.md +39 -0
- package/bin/skills/lakehouse-doc/references/cancel-job.md +51 -0
- package/bin/skills/lakehouse-doc/references/cardinality_array.md +45 -0
- package/bin/skills/lakehouse-doc/references/charge_analysis_with_lakehouse_mcp_server.md +393 -0
- package/bin/skills/lakehouse-doc/references/clone-doc.md +111 -0
- package/bin/skills/lakehouse-doc/references/cloud_object_storage.md +1 -0
- package/bin/skills/lakehouse-doc/references/cluster-table-guide.md +68 -0
- package/bin/skills/lakehouse-doc/references/cluster-table.md +64 -0
- package/bin/skills/lakehouse-doc/references/composite_task.md +178 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_3rd_tools.md +11 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_dbv_sql_put.md +48 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_environment_and_data_generate.md +627 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_javasdk_buckload_realtime.md +740 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_kafka_realtime_sync.md +71 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_local_file_into_table_by_studio.md +64 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_overview.md +66 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_pipe_kafka.md +7 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_pipe_oss.md +7 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_studio_batchload_public_network.md +52 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_studio_python_node.md +111 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_studio_realtime_cdc_public_network.md +249 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_studio_sql_insert.md +180 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_zettapark_put_file_to_lake.md +206 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_zettapark_save_as_table.md +79 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_zettapark_sql_insert.md +113 -0
- package/bin/skills/lakehouse-doc/references/computation.md +6 -0
- package/bin/skills/lakehouse-doc/references/concurrency_scaling.md +57 -0
- package/bin/skills/lakehouse-doc/references/config-datasource.md +79 -0
- package/bin/skills/lakehouse-doc/references/config_volume_dify_storage.md +254 -0
- package/bin/skills/lakehouse-doc/references/connect-with-cli.md +155 -0
- package/bin/skills/lakehouse-doc/references/connect_to_Lakehouse.md +1 -0
- package/bin/skills/lakehouse-doc/references/connection-guide.md +61 -0
- package/bin/skills/lakehouse-doc/references/continue-job.md +260 -0
- package/bin/skills/lakehouse-doc/references/conversational_analytics_datagpt.md +1 -0
- package/bin/skills/lakehouse-doc/references/copy-into-table.md +398 -0
- package/bin/skills/lakehouse-doc/references/cos_storage_connection.md +73 -0
- package/bin/skills/lakehouse-doc/references/cos_volume_creation.md +39 -0
- package/bin/skills/lakehouse-doc/references/cost_management.md +1 -0
- package/bin/skills/lakehouse-doc/references/create-api-connection.md +363 -0
- package/bin/skills/lakehouse-doc/references/create-catalog-connection.md +220 -0
- package/bin/skills/lakehouse-doc/references/create-dynamic-table.md +910 -0
- package/bin/skills/lakehouse-doc/references/create-external-catalog.md +305 -0
- package/bin/skills/lakehouse-doc/references/create-external-table.md +78 -0
- package/bin/skills/lakehouse-doc/references/create-hive-catalog.md +77 -0
- package/bin/skills/lakehouse-doc/references/create-inverted-index.md +163 -0
- package/bin/skills/lakehouse-doc/references/create-kafka-external.md +300 -0
- package/bin/skills/lakehouse-doc/references/create-schema-from-share.md +45 -0
- package/bin/skills/lakehouse-doc/references/create-share.md +46 -0
- package/bin/skills/lakehouse-doc/references/create-sql-function.md +120 -0
- package/bin/skills/lakehouse-doc/references/create-storage-connection.md +346 -0
- package/bin/skills/lakehouse-doc/references/create-synonym.md +75 -0
- package/bin/skills/lakehouse-doc/references/create-table-ddl.md +405 -0
- package/bin/skills/lakehouse-doc/references/create-table-stream.md +226 -0
- package/bin/skills/lakehouse-doc/references/create-vector-index.md +115 -0
- package/bin/skills/lakehouse-doc/references/create.md +46 -0
- package/bin/skills/lakehouse-doc/references/create_cluster.md +121 -0
- package/bin/skills/lakehouse-doc/references/creating_alicloud_privatelinkendpoint.md +37 -0
- package/bin/skills/lakehouse-doc/references/creating_alicloud_privatelinkservice.md +31 -0
- package/bin/skills/lakehouse-doc/references/creating_tencentcloud_privatelinkendpoint.md +33 -0
- package/bin/skills/lakehouse-doc/references/creating_tencentcloud_privatelinkservice.md +19 -0
- package/bin/skills/lakehouse-doc/references/czguide-intro-to-cdc-using-clickzetta-rtsync-dynamic-tables.md +717 -0
- package/bin/skills/lakehouse-doc/references/data-catalog.md +1 -0
- package/bin/skills/lakehouse-doc/references/data-integration-intro.md +60 -0
- package/bin/skills/lakehouse-doc/references/data-integration.md +10 -0
- package/bin/skills/lakehouse-doc/references/data-lifecycle.md +46 -0
- package/bin/skills/lakehouse-doc/references/data-load-summary.md +71 -0
- package/bin/skills/lakehouse-doc/references/data-mamager-tool.md +1 -0
- package/bin/skills/lakehouse-doc/references/data-recover.md +52 -0
- package/bin/skills/lakehouse-doc/references/data-type.md +1 -0
- package/bin/skills/lakehouse-doc/references/data-types-timestamp-ntz.md +139 -0
- package/bin/skills/lakehouse-doc/references/data.md +1 -0
- package/bin/skills/lakehouse-doc/references/data_catalog.md +106 -0
- package/bin/skills/lakehouse-doc/references/data_clean_with_sql.md +406 -0
- package/bin/skills/lakehouse-doc/references/data_ecosystem.md +1 -0
- package/bin/skills/lakehouse-doc/references/data_ops.md +7 -0
- package/bin/skills/lakehouse-doc/references/data_org.md +1 -0
- package/bin/skills/lakehouse-doc/references/data_privacy.md +50 -0
- package/bin/skills/lakehouse-doc/references/data_result_profile.md +22 -0
- package/bin/skills/lakehouse-doc/references/data_security.md +1 -0
- package/bin/skills/lakehouse-doc/references/data_sharing_between_accounts_guide.md +331 -0
- package/bin/skills/lakehouse-doc/references/data_transfer_datalake.md +1 -0
- package/bin/skills/lakehouse-doc/references/data_visualization.md +96 -0
- package/bin/skills/lakehouse-doc/references/databricks_yunqi_integration_guide_v2.md +811 -0
- package/bin/skills/lakehouse-doc/references/datagpt_bestpractice.md +1 -0
- package/bin/skills/lakehouse-doc/references/datagpt_data_source.md +58 -0
- package/bin/skills/lakehouse-doc/references/datagpt_get_accurate_answers.md +34 -0
- package/bin/skills/lakehouse-doc/references/datagpt_intro.md +1 -0
- package/bin/skills/lakehouse-doc/references/datagpt_quickstart.md +94 -0
- package/bin/skills/lakehouse-doc/references/datagpt_tutorial.md +1 -0
- package/bin/skills/lakehouse-doc/references/datalake_FAQ.md +54 -0
- package/bin/skills/lakehouse-doc/references/datalake_overview.md +17 -0
- package/bin/skills/lakehouse-doc/references/datalake_privilege.md +55 -0
- package/bin/skills/lakehouse-doc/references/datalake_query_ingest.md +18 -0
- package/bin/skills/lakehouse-doc/references/datalake_unstructure_data.md +3 -0
- package/bin/skills/lakehouse-doc/references/datalake_volume.md +92 -0
- package/bin/skills/lakehouse-doc/references/datalake_volume_anlytics.md +1 -0
- package/bin/skills/lakehouse-doc/references/datalake_volume_object.md +1 -0
- package/bin/skills/lakehouse-doc/references/dataops_practice.md +105 -0
- package/bin/skills/lakehouse-doc/references/datasharing.md +322 -0
- package/bin/skills/lakehouse-doc/references/datasharing_catalog.md +1 -0
- package/bin/skills/lakehouse-doc/references/datasource_ip_whitelist.md +93 -0
- package/bin/skills/lakehouse-doc/references/datasources.md +62 -0
- package/bin/skills/lakehouse-doc/references/datatype-cast.md +105 -0
- package/bin/skills/lakehouse-doc/references/datatype-conversion.md +85 -0
- package/bin/skills/lakehouse-doc/references/datetime_patterns.md +61 -0
- package/bin/skills/lakehouse-doc/references/datus_lakehouse_installation.md +376 -0
- package/bin/skills/lakehouse-doc/references/datus_lakehouse_solution_overview.md +148 -0
- package/bin/skills/lakehouse-doc/references/db_dw_connection.md +1 -0
- package/bin/skills/lakehouse-doc/references/default-value.md +89 -0
- package/bin/skills/lakehouse-doc/references/delta-lake.md +185 -0
- package/bin/skills/lakehouse-doc/references/desc-catalog-table.md +33 -0
- package/bin/skills/lakehouse-doc/references/desc-catalog.md +31 -0
- package/bin/skills/lakehouse-doc/references/desc-dynamic-table.md +62 -0
- package/bin/skills/lakehouse-doc/references/desc-external-schemas.md +66 -0
- package/bin/skills/lakehouse-doc/references/desc-external-table.md +70 -0
- package/bin/skills/lakehouse-doc/references/desc-function.md +16 -0
- package/bin/skills/lakehouse-doc/references/desc-history-dynamic-table.md +50 -0
- package/bin/skills/lakehouse-doc/references/desc-history-table.md +73 -0
- package/bin/skills/lakehouse-doc/references/desc-history.md +73 -0
- package/bin/skills/lakehouse-doc/references/desc-share.md +59 -0
- package/bin/skills/lakehouse-doc/references/desc-table-stream.md +44 -0
- package/bin/skills/lakehouse-doc/references/desc-vcluster.md +42 -0
- package/bin/skills/lakehouse-doc/references/describe.md +38 -0
- package/bin/skills/lakehouse-doc/references/dify_config_lakehouse_as_vectordb.md +286 -0
- package/bin/skills/lakehouse-doc/references/dify_yunqilakehouse_integration_overview.md +188 -0
- package/bin/skills/lakehouse-doc/references/discovery_analysis_data_in_json_file_on_external_volume.md +625 -0
- package/bin/skills/lakehouse-doc/references/discovery_analysis_data_in_parquert_file_on_external_volume.md +599 -0
- package/bin/skills/lakehouse-doc/references/download-data.md +1 -0
- package/bin/skills/lakehouse-doc/references/drop-dynamic-table.md +46 -0
- package/bin/skills/lakehouse-doc/references/drop-external-schema.md +44 -0
- package/bin/skills/lakehouse-doc/references/drop-external-table.md +43 -0
- package/bin/skills/lakehouse-doc/references/drop-function.md +36 -0
- package/bin/skills/lakehouse-doc/references/drop-share.md +43 -0
- package/bin/skills/lakehouse-doc/references/drop-synonym.md +35 -0
- package/bin/skills/lakehouse-doc/references/drop-table-stream.md +42 -0
- package/bin/skills/lakehouse-doc/references/drop-vcluster.md +52 -0
- package/bin/skills/lakehouse-doc/references/drop.md +32 -0
- package/bin/skills/lakehouse-doc/references/dynamic-mask.md +201 -0
- package/bin/skills/lakehouse-doc/references/dynamic-table-incre.md +62 -0
- package/bin/skills/lakehouse-doc/references/dynamic-table-introduce.md +339 -0
- package/bin/skills/lakehouse-doc/references/dynamicTable-DML-sql.md +52 -0
- package/bin/skills/lakehouse-doc/references/dynamicTable-dml.md +48 -0
- package/bin/skills/lakehouse-doc/references/dynamicTable-parmaters.md +425 -0
- package/bin/skills/lakehouse-doc/references/dynamic_table_summary.md +366 -0
- package/bin/skills/lakehouse-doc/references/dynamic_table_task.md +73 -0
- package/bin/skills/lakehouse-doc/references/dynamic_table_using_studio.md +159 -0
- package/bin/skills/lakehouse-doc/references/dynamictable.md +56 -0
- package/bin/skills/lakehouse-doc/references/eco_integration/Zeppelin.md +84 -0
- package/bin/skills/lakehouse-doc/references/eco_integration/airbyte.md +75 -0
- package/bin/skills/lakehouse-doc/references/eco_integration/datagrip-lakehouse.md +56 -0
- package/bin/skills/lakehouse-doc/references/eco_integration/datax.md +154 -0
- package/bin/skills/lakehouse-doc/references/eco_integration/dbeaver-lakehouse.md +67 -0
- package/bin/skills/lakehouse-doc/references/eco_integration/dbt.md +139 -0
- package/bin/skills/lakehouse-doc/references/eco_integration/rath.md +87 -0
- package/bin/skills/lakehouse-doc/references/eco_integration/sqlline.md +82 -0
- package/bin/skills/lakehouse-doc/references/eco_integration/sqlworkbench-j-lakehouse.md +54 -0
- package/bin/skills/lakehouse-doc/references/eco_integration/streamlit.md +117 -0
- package/bin/skills/lakehouse-doc/references/eco_integration/superset.md +109 -0
- package/bin/skills/lakehouse-doc/references/eco_integration/trino.md +75 -0
- package/bin/skills/lakehouse-doc/references/ecosystem-all.md +24 -0
- package/bin/skills/lakehouse-doc/references/export_data_with_data-integration.md +3 -0
- package/bin/skills/lakehouse-doc/references/external-Volume.md +10 -0
- package/bin/skills/lakehouse-doc/references/external-catalog-summary.md +42 -0
- package/bin/skills/lakehouse-doc/references/external-function-summary.md +0 -0
- package/bin/skills/lakehouse-doc/references/external-hudi-table.md +187 -0
- package/bin/skills/lakehouse-doc/references/external-table-guide.md +96 -0
- package/bin/skills/lakehouse-doc/references/external_object_user_guide.md +298 -0
- package/bin/skills/lakehouse-doc/references/external_volume.md +1 -0
- package/bin/skills/lakehouse-doc/references/f6fc6447ee.md +151 -0
- package/bin/skills/lakehouse-doc/references/federation-query.md +1 -0
- package/bin/skills/lakehouse-doc/references/finebi-mysql.md +104 -0
- package/bin/skills/lakehouse-doc/references/flink-write-connector.md +695 -0
- package/bin/skills/lakehouse-doc/references/from_lakehouse_to_volume.md +98 -0
- package/bin/skills/lakehouse-doc/references/from_volume_to_table.md +45 -0
- package/bin/skills/lakehouse-doc/references/fulltext_indexes_guide.md +1180 -0
- package/bin/skills/lakehouse-doc/references/generated-column.md +113 -0
- package/bin/skills/lakehouse-doc/references/generated_columns_guide.md +847 -0
- package/bin/skills/lakehouse-doc/references/geospatial_analysis.md +558 -0
- package/bin/skills/lakehouse-doc/references/get-started-with-sample-data.md +83 -0
- package/bin/skills/lakehouse-doc/references/getting_started_with_vcluster_for_processing_analytics.md +471 -0
- package/bin/skills/lakehouse-doc/references/grant-to-share.md +55 -0
- package/bin/skills/lakehouse-doc/references/grant-user-privileges.md +100 -0
- package/bin/skills/lakehouse-doc/references/groupby.md +1260 -0
- package/bin/skills/lakehouse-doc/references/guides-overview-connecting.md +46 -0
- package/bin/skills/lakehouse-doc/references/ide.md +2 -0
- package/bin/skills/lakehouse-doc/references/ifnull.md +72 -0
- package/bin/skills/lakehouse-doc/references/ilike.md +89 -0
- package/bin/skills/lakehouse-doc/references/import_data_with_data-integration.md +3 -0
- package/bin/skills/lakehouse-doc/references/importdatabypythonintoLakehouse.md +134 -0
- package/bin/skills/lakehouse-doc/references/index2.md +1 -0
- package/bin/skills/lakehouse-doc/references/instance-informaiton-schema-summary.md +51 -0
- package/bin/skills/lakehouse-doc/references/instance-informaiton-schema.md +278 -0
- package/bin/skills/lakehouse-doc/references/instance-information_schema.md +1 -0
- package/bin/skills/lakehouse-doc/references/internal_volume.md +271 -0
- package/bin/skills/lakehouse-doc/references/intro-supported-features.md +48 -0
- package/bin/skills/lakehouse-doc/references/inverted-index.md +445 -0
- package/bin/skills/lakehouse-doc/references/inverted_idx_bm25_param.md +251 -0
- package/bin/skills/lakehouse-doc/references/inverted_idx_multi-match.md +89 -0
- package/bin/skills/lakehouse-doc/references/is-null.md +59 -0
- package/bin/skills/lakehouse-doc/references/it-operation-management.md +1 -0
- package/bin/skills/lakehouse-doc/references/java_reference/client.md +49 -0
- package/bin/skills/lakehouse-doc/references/java_reference/java-sdk-release-notes.md +32 -0
- package/bin/skills/lakehouse-doc/references/java_reference/java-sdk-summary.md +138 -0
- package/bin/skills/lakehouse-doc/references/java_reference/jdbc.md +211 -0
- package/bin/skills/lakehouse-doc/references/java_reference/realtime-upload.md +295 -0
- package/bin/skills/lakehouse-doc/references/jdbc_task.md +37 -0
- package/bin/skills/lakehouse-doc/references/job-manage.md +1 -0
- package/bin/skills/lakehouse-doc/references/job_history_analysis_with_information_schema.md +597 -0
- package/bin/skills/lakehouse-doc/references/jobprofile-bestpractices.md +104 -0
- package/bin/skills/lakehouse-doc/references/json_analyze.md +422 -0
- package/bin/skills/lakehouse-doc/references/json_data_process_guide.md +881 -0
- package/bin/skills/lakehouse-doc/references/json_guide_for_complex_biz_cases.md +1899 -0
- package/bin/skills/lakehouse-doc/references/kafka-external-table.md +103 -0
- package/bin/skills/lakehouse-doc/references/lakehouse-ai.md +1 -0
- package/bin/skills/lakehouse-doc/references/lakehouse-quick-experience_guide.md +964 -0
- package/bin/skills/lakehouse-doc/references/lakehouse-table-stream-best-practices.md +500 -0
- package/bin/skills/lakehouse-doc/references/lakehouse_billing_anomaly_alert_configuration_guide.md +226 -0
- package/bin/skills/lakehouse-doc/references/lakehouse_instance_overview.md +39 -0
- package/bin/skills/lakehouse-doc/references/lakehouse_table_design_guide.md +2676 -0
- package/bin/skills/lakehouse-doc/references/langchain.md +71 -0
- package/bin/skills/lakehouse-doc/references/langchain_basic_samples.md +606 -0
- package/bin/skills/lakehouse-doc/references/langchain_integration.md +1 -0
- package/bin/skills/lakehouse-doc/references/left.md +51 -0
- package/bin/skills/lakehouse-doc/references/like.md +115 -0
- package/bin/skills/lakehouse-doc/references/list-partition.md +121 -0
- package/bin/skills/lakehouse-doc/references/llama-index.md +57 -0
- package/bin/skills/lakehouse-doc/references/llms-full.txt +1286 -0
- package/bin/skills/lakehouse-doc/references/llms.txt +71 -0
- package/bin/skills/lakehouse-doc/references/load-data-local.md +82 -0
- package/bin/skills/lakehouse-doc/references/load-data-oss.md +174 -0
- package/bin/skills/lakehouse-doc/references/management.md +5 -0
- package/bin/skills/lakehouse-doc/references/managing-instance.md +67 -0
- package/bin/skills/lakehouse-doc/references/mapjoin.md +62 -0
- package/bin/skills/lakehouse-doc/references/materialized_ddl.md +1 -0
- package/bin/skills/lakehouse-doc/references/meta-objects-and-privileges.md +271 -0
- package/bin/skills/lakehouse-doc/references/metabase.md +73 -0
- package/bin/skills/lakehouse-doc/references/metadata_show_desc_command_guide.md +711 -0
- package/bin/skills/lakehouse-doc/references/metrics_answer_build.md +46 -0
- package/bin/skills/lakehouse-doc/references/mindsdb.md +269 -0
- package/bin/skills/lakehouse-doc/references/monitoring_and_alerting.md +177 -0
- package/bin/skills/lakehouse-doc/references/monitoring_item_specification.md +44 -0
- package/bin/skills/lakehouse-doc/references/multi_cloud_instance_manage_with_mcp_server.md +281 -0
- package/bin/skills/lakehouse-doc/references/multitable_batch_sync.md +463 -0
- package/bin/skills/lakehouse-doc/references/multitable_realtime_sync.md +412 -0
- package/bin/skills/lakehouse-doc/references/multitable_realtime_sync_sop.md +593 -0
- package/bin/skills/lakehouse-doc/references/n8n_Integreated_with_lakehouse_mcp_server.md +494 -0
- package/bin/skills/lakehouse-doc/references/navicat-mysql.md +65 -0
- package/bin/skills/lakehouse-doc/references/network_policy.md +281 -0
- package/bin/skills/lakehouse-doc/references/nyc_green_taxi_data_clean_transform_with_mcp_server.md +315 -0
- package/bin/skills/lakehouse-doc/references/object-model-overview.md +70 -0
- package/bin/skills/lakehouse-doc/references/object_identifier.md +259 -0
- package/bin/skills/lakehouse-doc/references/object_model_design.md +1 -0
- package/bin/skills/lakehouse-doc/references/opensource/travel.md +134 -0
- package/bin/skills/lakehouse-doc/references/operation-maintenance.md +172 -0
- package/bin/skills/lakehouse-doc/references/oss_volume_creation.md +39 -0
- package/bin/skills/lakehouse-doc/references/partition_table.md +344 -0
- package/bin/skills/lakehouse-doc/references/partition_table_guide.md +340 -0
- package/bin/skills/lakehouse-doc/references/performance_optimization.md +1 -0
- package/bin/skills/lakehouse-doc/references/performence_test.md +1 -0
- package/bin/skills/lakehouse-doc/references/permissions-of-built-in-workspace-level-roles.md +131 -0
- package/bin/skills/lakehouse-doc/references/pipe-kafka-bestpractice-1.md +431 -0
- package/bin/skills/lakehouse-doc/references/pipe-kafka-table-stream.md +180 -0
- package/bin/skills/lakehouse-doc/references/pipe-kafka.md +210 -0
- package/bin/skills/lakehouse-doc/references/pipe-storage-object.md +247 -0
- package/bin/skills/lakehouse-doc/references/pipe-summary.md +114 -0
- package/bin/skills/lakehouse-doc/references/pipe-syntax.md +200 -0
- package/bin/skills/lakehouse-doc/references/practice_data_analysis.md +1 -0
- package/bin/skills/lakehouse-doc/references/practice_data_import_and_export.md +1 -0
- package/bin/skills/lakehouse-doc/references/practice_python_task.md +157 -0
- package/bin/skills/lakehouse-doc/references/pricing.md +225 -0
- package/bin/skills/lakehouse-doc/references/primary key.md +86 -0
- package/bin/skills/lakehouse-doc/references/primary-key.md +187 -0
- package/bin/skills/lakehouse-doc/references/privacy-policy.md +364 -0
- package/bin/skills/lakehouse-doc/references/private-link-general.md +68 -0
- package/bin/skills/lakehouse-doc/references/private_link.md +1 -0
- package/bin/skills/lakehouse-doc/references/product-trial-agreement.md +99 -0
- package/bin/skills/lakehouse-doc/references/product_concept.md +1 -0
- package/bin/skills/lakehouse-doc/references/put-get.md +1 -0
- package/bin/skills/lakehouse-doc/references/put_get_volume.md +3 -0
- package/bin/skills/lakehouse-doc/references/python-igs.md +297 -0
- package/bin/skills/lakehouse-doc/references/python_package_install_import_guide.md +53 -0
- package/bin/skills/lakehouse-doc/references/python_reference/connector.md +281 -0
- package/bin/skills/lakehouse-doc/references/python_reference/python-sdk-summary.md +13 -0
- package/bin/skills/lakehouse-doc/references/python_reference/sqlalchemy.md +77 -0
- package/bin/skills/lakehouse-doc/references/python_shell_datasource.md +334 -0
- package/bin/skills/lakehouse-doc/references/query-json-sy.md +47 -0
- package/bin/skills/lakehouse-doc/references/query-syntax.md +234 -0
- package/bin/skills/lakehouse-doc/references/quick_start_batch_sync_data.md +116 -0
- package/bin/skills/lakehouse-doc/references/quick_start_bi_analysis.md +589 -0
- package/bin/skills/lakehouse-doc/references/quick_start_create_workspace.md +58 -0
- package/bin/skills/lakehouse-doc/references/quick_start_data_quality.md +75 -0
- package/bin/skills/lakehouse-doc/references/quick_start_etl.md +131 -0
- package/bin/skills/lakehouse-doc/references/quick_start_monitoring_and_alerting.md +93 -0
- package/bin/skills/lakehouse-doc/references/quick_start_sql_query.md +93 -0
- package/bin/skills/lakehouse-doc/references/quick_start_upload_data.md +69 -0
- package/bin/skills/lakehouse-doc/references/quick_start_user_management.md +73 -0
- package/bin/skills/lakehouse-doc/references/quick_start_workspace.md +72 -0
- package/bin/skills/lakehouse-doc/references/quick_start_workspace_user.md +67 -0
- package/bin/skills/lakehouse-doc/references/quickstart_datashare_between_companies.md +249 -0
- package/bin/skills/lakehouse-doc/references/quickstart_envirment_for_team.md +271 -0
- package/bin/skills/lakehouse-doc/references/quickstart_local_csv.md +99 -0
- package/bin/skills/lakehouse-doc/references/realtime_sync.md +36 -0
- package/bin/skills/lakehouse-doc/references/realtime_sync_and_analysis_practice.md +187 -0
- package/bin/skills/lakehouse-doc/references/realtimesync_m.md +190 -0
- package/bin/skills/lakehouse-doc/references/refresh-history.md +63 -0
- package/bin/skills/lakehouse-doc/references/regexp-statement.md +80 -0
- package/bin/skills/lakehouse-doc/references/releasenotes.md +1 -0
- package/bin/skills/lakehouse-doc/references/releasenotesupdata.md +1 -0
- package/bin/skills/lakehouse-doc/references/remove-volume.md +32 -0
- package/bin/skills/lakehouse-doc/references/restore-dynamic-table.md +126 -0
- package/bin/skills/lakehouse-doc/references/restore.md +127 -0
- package/bin/skills/lakehouse-doc/references/result_cache.md +102 -0
- package/bin/skills/lakehouse-doc/references/revoke-from-share.md +48 -0
- package/bin/skills/lakehouse-doc/references/revoke-user-privileges.md +91 -0
- package/bin/skills/lakehouse-doc/references/right.md +84 -0
- package/bin/skills/lakehouse-doc/references/rlike.md +78 -0
- package/bin/skills/lakehouse-doc/references/rn_2024_11_12.md +63 -0
- package/bin/skills/lakehouse-doc/references/role-privlilige-manage.md +1 -0
- package/bin/skills/lakehouse-doc/references/roles.md +123 -0
- package/bin/skills/lakehouse-doc/references/rom_lakehouse_to_volume.md +1 -0
- package/bin/skills/lakehouse-doc/references/s3_volume_creation.md +37 -0
- package/bin/skills/lakehouse-doc/references/sample-data-using.md +768 -0
- package/bin/skills/lakehouse-doc/references/security_compliance_audit_guide.md +1 -0
- package/bin/skills/lakehouse-doc/references/security_overview.md +41 -0
- package/bin/skills/lakehouse-doc/references/select-catalog-table.md +26 -0
- package/bin/skills/lakehouse-doc/references/semantic_view.md +711 -0
- package/bin/skills/lakehouse-doc/references/setup.md +33 -0
- package/bin/skills/lakehouse-doc/references/share-ddl.md +1 -0
- package/bin/skills/lakehouse-doc/references/show-cached-status.md +34 -0
- package/bin/skills/lakehouse-doc/references/show-catalog-schema.md +48 -0
- package/bin/skills/lakehouse-doc/references/show-catalog-table.md +22 -0
- package/bin/skills/lakehouse-doc/references/show-catalog.md +26 -0
- package/bin/skills/lakehouse-doc/references/show-columns.md +75 -0
- package/bin/skills/lakehouse-doc/references/show-create-dynamic-table.md +44 -0
- package/bin/skills/lakehouse-doc/references/show-create-external-table.md +45 -0
- package/bin/skills/lakehouse-doc/references/show-create-materialized-view.md +43 -0
- package/bin/skills/lakehouse-doc/references/show-create-table.md +107 -0
- package/bin/skills/lakehouse-doc/references/show-dynamic-table.md +68 -0
- package/bin/skills/lakehouse-doc/references/show-external-schemas.md +35 -0
- package/bin/skills/lakehouse-doc/references/show-external-table.md +38 -0
- package/bin/skills/lakehouse-doc/references/show-finctions.md +25 -0
- package/bin/skills/lakehouse-doc/references/show-functions.md +44 -0
- package/bin/skills/lakehouse-doc/references/show-grants-user.md +41 -0
- package/bin/skills/lakehouse-doc/references/show-jobs.md +48 -0
- package/bin/skills/lakehouse-doc/references/show-materialized-view.md +42 -0
- package/bin/skills/lakehouse-doc/references/show-schemas.md +41 -0
- package/bin/skills/lakehouse-doc/references/show-shares.md +94 -0
- package/bin/skills/lakehouse-doc/references/show-synonyms.md +29 -0
- package/bin/skills/lakehouse-doc/references/show-table-streams.md +53 -0
- package/bin/skills/lakehouse-doc/references/show-tables-history.md +91 -0
- package/bin/skills/lakehouse-doc/references/show-tables.md +50 -0
- package/bin/skills/lakehouse-doc/references/show-users.md +46 -0
- package/bin/skills/lakehouse-doc/references/show-vclusters.md +59 -0
- package/bin/skills/lakehouse-doc/references/show-views.md +31 -0
- package/bin/skills/lakehouse-doc/references/show-volume.md +57 -0
- package/bin/skills/lakehouse-doc/references/show.md +168 -0
- package/bin/skills/lakehouse-doc/references/simpletosimple_bazhuayu_datagpt.md +152 -0
- package/bin/skills/lakehouse-doc/references/small_file_optimization.md +101 -0
- package/bin/skills/lakehouse-doc/references/spark-connector-summary.md +329 -0
- package/bin/skills/lakehouse-doc/references/spark-connector-use.md +233 -0
- package/bin/skills/lakehouse-doc/references/sql-parmaters.md +594 -0
- package/bin/skills/lakehouse-doc/references/sql-qualify.md +236 -0
- package/bin/skills/lakehouse-doc/references/sql-reference.md +1 -0
- package/bin/skills/lakehouse-doc/references/sql_data_transfom_NestedDataTypes.md +451 -0
- package/bin/skills/lakehouse-doc/references/sql_data_transform.md +1 -0
- package/bin/skills/lakehouse-doc/references/sql_data_transform_basic.md +576 -0
- package/bin/skills/lakehouse-doc/references/sql_data_transform_cte.md +177 -0
- package/bin/skills/lakehouse-doc/references/sql_data_transform_tips.md +407 -0
- package/bin/skills/lakehouse-doc/references/sql_data_transform_windows.md +430 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/any_value.md +64 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/approx_count_distinct.md +45 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/approx_histogram.md +56 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/approx_percentile.md +65 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/approx_top_k.md +62 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/avg.md +68 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/bit_and.md +81 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/bit_or.md +78 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/bit_xor.md +79 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/bool_and.md +85 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/bool_or.md +86 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/collect_list.md +95 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/collect_list_on_array.md +64 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/collect_set.md +85 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/collect_set_on_array.md +80 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/corr.md +103 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/count.md +96 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/count_distinct.md +96 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/count_if.md +62 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/covar_pop.md +89 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/covar_samp.md +113 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/first_value.md +122 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap.md +42 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_and.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_and_state.md +47 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_merge.md +37 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_merge_state.md +29 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_or.md +44 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_or_state.md +64 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_state.md +27 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_xor.md +45 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_xor_state.md +99 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_concat.md +53 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/last_value.md +100 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/map_agg.md +79 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/max.md +102 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/max_by.md +67 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/median.md +60 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/min.md +89 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/min_by.md +99 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/percentile.md +69 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/percentile_approx.md +33 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/percentile_rank.md +36 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/std.md +47 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/stddev.md +68 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/stddev_pop.md +67 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/stddev_samp.md +67 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/sum.md +67 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/var_pop.md +65 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/var_samp.md +65 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/variance.md +47 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/wm_concat.md +79 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_instance_id.md +16 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_schema.md +29 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_session_id.md +30 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_user.md +29 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_user_id.md +21 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_vcluster.md +40 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_workspace.md +19 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_workspace_id.md +24 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/binary_to_bitmap.md +29 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_and.md +39 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_and_cardinality.md +48 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_andnot.md +61 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_andnot_cardinality.md +60 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_build.md +58 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_cardinality.md +43 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_contains.md +50 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_count.md +45 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_empty.md +52 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_has_all.md +49 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_has_any.md +65 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_hash.md +52 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_max.md +26 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_min.md +33 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_or.md +61 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_or_cardinality.md +27 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_remove.md +42 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_subset_in_range.md +60 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_subset_limit.md +36 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_to_array.md +24 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_to_binary.md +28 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_to_string.md +41 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_transform.md +42 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_xor.md +59 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_xor_cardinality.md +30 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/string_to_bitmap.md +56 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/sub_bitmap.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/to_bitmap.md +78 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitwise_functions/bit_count.md +43 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitwise_functions/bitnot.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/assert_true.md +44 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/between.md +52 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/case_when.md +99 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/coalesce.md +51 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/decode.md +45 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/if.md +56 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/in.md +33 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/is_false.md +63 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/is_not_null.md +40 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/is_null.md +44 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/is_true.md +63 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/multiif.md +54 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/nvl.md +39 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/raise_error.md +52 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/add_days.md +65 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/add_months.md +38 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/add_years.md +61 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/adddate.md +53 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/convert_timezone.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/current_date.md +56 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/current_timestamp.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date.md +42 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date_add.md +35 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date_format.md +48 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date_format_mysql.md +58 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date_format_pg.md +54 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date_sub.md +58 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date_trunc.md +61 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/dateadd.md +60 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/datediff.md +50 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/datetime_patterns.md +61 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/day.md +53 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/dayofmonth.md +36 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/dayofweek.md +31 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/dayofweek_iso.md +56 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/dayofyear.md +40 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/days.md +21 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/extract.md +49 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/from_unixtime.md +43 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/from_utc_timestamp.md +45 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/hour.md +49 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/hours.md +21 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/last_day.md +35 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/localtimestamp.md +19 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/makde_date.md +20 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/make_date.md +20 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/make_dt_interval.md +66 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/make_ym_interval.md +53 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/minute.md +49 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/month.md +39 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/months.md +21 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/months_between.md +18 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/next_day.md +16 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/now.md +53 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/quarter.md +52 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/second.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/str_to_date_mysql.md +42 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/sub_days.md +66 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/timestamp_micros.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/timestamp_millis.md +54 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/timestamp_seconds.md +62 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/timestampadd.md +59 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/timestampdiff.md +78 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_date.md +43 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_start_of_interval.md +25 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_timestamp.md +66 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_timestamp_ntz.md +52 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_unix_timestamp.md +59 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_unix_timestamp_ms.md +45 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_unix_timestamp_us.md +40 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_utc_timestamp.md +62 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/toyyyymmdd.md +69 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/trunc.md +38 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/unix_timestamp.md +96 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/week.md +31 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/weekday.md +51 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/weekofyear.md +29 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/year.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/yearofweek.md +64 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/years.md +21 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/geo_functions/st_geohash.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/geo_functions/st_latfromgeohash.md +59 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/geo_functions/st_longfromgeohash.md +53 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/hash_functions/bucket.md +33 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/hash_functions/general_hash.md +49 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/hash_functions/hash_combine.md +37 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/hash_functions/hash_combine_commutative.md +54 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/hash_functions/murmurhash.md +36 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/array_sort_by_key.md +42 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/element_at.md +59 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/exists.md +48 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/filter.md +37 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/forall.md +68 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/high_order_functions.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/map_filter.md +25 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/map_zip_with.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/transform.md +48 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/transform_keys.md +48 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/transform_values.md +36 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/zip_with.md +38 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/ip_functions/get_ip_info.md +199 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/ip_functions/ipv4_num_to_string.md +29 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/ip_functions/ipv4_string_to_num.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/ip_functions/ipv6_num_to_string.md +35 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/ip_functions/ipv6_string_to_num.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/ip_functions/is_ip_address_in_range.md +42 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/from_json.md +86 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/get_json_object.md +83 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_array.md +30 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_contains.md +86 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_extract.md +64 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_minify.md +28 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_normalize.md +36 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_object.md +37 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_parse.md +59 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_remove.md +36 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_type.md +44 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_valid.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/schema_of_json.md +79 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/to_json.md +68 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/abs.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/acos.md +30 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/acosh.md +39 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/asin.md +39 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/asinh.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/atan.md +27 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/atan2.md +43 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/atanh.md +24 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/bround.md +43 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/cbrt.md +56 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/ceil.md +45 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/ceilling.md +47 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/cos.md +41 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/cosh.md +41 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/cot.md +49 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/csc.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/degrees.md +42 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/div.md +28 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/e.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/exp.md +32 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/exp2.md +36 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/expm1.md +54 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/floor.md +41 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/greatest.md +36 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/hypot.md +37 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/isnan.md +27 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/least.md +38 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/ln.md +57 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/log.md +39 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/log10.md +47 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/log1p.md +48 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/log2.md +28 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/median.md +25 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/mod.md +35 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/monotonically_increasing_id.md +81 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/negative.md +15 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/operators.md +427 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/pi.md +41 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/pmod.md +31 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/positive.md +15 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/pow.md +39 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/radians.md +30 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/rand.md +39 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/randn.md +26 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/random.md +67 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/round.md +48 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/shiftleft.md +67 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/shiftright.md +70 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/shiftrightunsigned.md +70 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/sign.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/sin.md +67 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/sinh.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/sqrt.md +40 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/tan.md +42 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/tanh.md +38 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_append.md +26 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_compact.md +29 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_contains.md +38 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_distinct.md +43 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_except.md +35 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_intersect.md +39 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_join.md +51 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_max.md +57 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_min.md +60 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_position.md +50 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_prepend.md +26 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_remove.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_repeat.md +51 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_size.md +32 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_sort.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_sort_reverse.md +31 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_union.md +36 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/arrays_overlap.md +41 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/arrays_zip.md +50 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/cardinality.md +45 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/concat.md +49 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/concat_ws.md +73 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/element_at.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/flatten.md +62 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map.md +44 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_concat.md +38 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_contains_key.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_entries.md +44 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_equal.md +33 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_except.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_from_arrays.md +28 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_from_entries.md +52 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_keys.md +37 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_values.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/multimap_from_entries.md +47 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/named_struct.md +55 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/sequence.md +35 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/size.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/slice.md +43 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/sort_array.md +22 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/struct.md +35 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/struct_insert.md +54 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/struct_update.md +42 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/trans_array.md +147 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/partition/max_pt.md +41 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/search_functions/match_all.md +56 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/search_functions/match_any.md +50 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/search_functions/match_phrase.md +65 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/search_functions/match_phrase_prefix.md +36 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/search_functions/match_regexp.md +30 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/search_functions/tokenize.md +57 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/aes_decrypt.md +40 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/aes_decrypt_mysql.md +30 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/aes_encrypt.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/aes_encrypt_mysql.md +53 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/ascii.md +36 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/base64.md +27 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/binary.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/btrim.md +38 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/char.md +55 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/char_length.md +52 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/character_length.md +52 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/chr.md +26 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/collation_sort_key.md +58 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/concat.md +75 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/concat_ws.md +72 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/contains.md +31 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/conv.md +50 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/endswith.md +70 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/find_in_set.md +19 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/format_string.md +53 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/hex.md +45 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/instr.md +41 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/is_ascii.md +27 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/is_utf8.md +27 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/lcase.md +45 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/left.md +35 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/length.md +33 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/lengthb.md +49 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/like.md +63 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/locate.md +42 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/lower.md +61 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/lpad.md +45 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/ltrim.md +48 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/mask.md +37 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/md5.md +71 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/octet_length.md +47 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/parse_url.md +78 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/position.md +35 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/regexp_count.md +115 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/regexp_extract.md +37 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/regexp_extract_all.md +31 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/regexp_instr.md +152 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/regexp_replace.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/repeat.md +44 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/replace.md +37 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/reverse.md +70 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/right.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/rlike.md +64 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/rpad.md +53 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/rtrim.md +37 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/sha1.md +67 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/space.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/split.md +61 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/split_part.md +42 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/startswith.md +70 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/str_to_map.md +60 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/strpos.md +60 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/substr.md +43 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/substring.md +53 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/substring_index.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/translate.md +43 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/trim.md +54 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/typeof.md +54 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/ucase.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/unbase64.md +54 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/unhex.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/upper.md +51 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/url_decode.md +32 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/url_encode.md +33 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/uuid.md +33 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/binary_quantize.md +51 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/cosine_distance.md +53 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/dot_product.md +54 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/hamming_distance.md +57 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/jaccard_distance.md +55 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/l2_distance.md +53 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/l2_norm.md +52 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/l2_normalize.md +54 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/print_vector_bits.md +56 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/vector.md +70 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/vector_add_scalar.md +57 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/explode.md +71 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/inline.md +48 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/json_tuple.md +44 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/load_history.md +17 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/posexplode.md +89 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/read_kafka.md +85 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/stack.md +69 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/table_changes.md +136 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/unnset.md +106 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/avg.md +91 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/count.md +88 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/cume_dist.md +104 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/dense_rank.md +119 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/first.md +159 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/first_value.md +133 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/lag.md +72 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/last.md +166 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/last_value.md +160 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/lead.md +49 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/max.md +167 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/min.md +138 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/nth_value.md +58 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/ntile.md +57 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/percent_rank.md +58 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/rank.md +139 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/row_number.md +141 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/sum.md +105 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/window_clause.md +91 -0
- package/bin/skills/lakehouse-doc/references/sql_practice.md +1 -0
- package/bin/skills/lakehouse-doc/references/sql_rfm.md +181 -0
- package/bin/skills/lakehouse-doc/references/sqlalchemy.md +82 -0
- package/bin/skills/lakehouse-doc/references/ssb-benchmark.md +224 -0
- package/bin/skills/lakehouse-doc/references/sso-configuration.md +157 -0
- package/bin/skills/lakehouse-doc/references/storage_encryption.md +81 -0
- package/bin/skills/lakehouse-doc/references/streaming_data_pipeline_overview.md +20 -0
- package/bin/skills/lakehouse-doc/references/streaming_data_pipeline_overview1.md +1 -0
- package/bin/skills/lakehouse-doc/references/streaming_pipeline_with_dynamic_table.md +66 -0
- package/bin/skills/lakehouse-doc/references/structure_data_analysis.md +229 -0
- package/bin/skills/lakehouse-doc/references/studio_manual.md +1 -0
- package/bin/skills/lakehouse-doc/references/studio_overview.md +71 -0
- package/bin/skills/lakehouse-doc/references/synonym.md +139 -0
- package/bin/skills/lakehouse-doc/references/table-stream-title.md +1 -0
- package/bin/skills/lakehouse-doc/references/table-stream.md +1 -0
- package/bin/skills/lakehouse-doc/references/table-summary.md +1 -0
- package/bin/skills/lakehouse-doc/references/table_funciotn.md +1 -0
- package/bin/skills/lakehouse-doc/references/table_stream.md +118 -0
- package/bin/skills/lakehouse-doc/references/tablesample.md +474 -0
- package/bin/skills/lakehouse-doc/references/tablestream_summary.md +515 -0
- package/bin/skills/lakehouse-doc/references/task-instance-maintenance.md +207 -0
- package/bin/skills/lakehouse-doc/references/task_development.md +56 -0
- package/bin/skills/lakehouse-doc/references/task_group.md +151 -0
- package/bin/skills/lakehouse-doc/references/task_param.md +978 -0
- package/bin/skills/lakehouse-doc/references/task_scheduling.md +1 -0
- package/bin/skills/lakehouse-doc/references/task_scheduling_dependency.md +74 -0
- package/bin/skills/lakehouse-doc/references/taskdevelop.md +268 -0
- package/bin/skills/lakehouse-doc/references/tencentcloud_arn_and_externalid.md +29 -0
- package/bin/skills/lakehouse-doc/references/time-function.md +67 -0
- package/bin/skills/lakehouse-doc/references/timetravel-summary.md +47 -0
- package/bin/skills/lakehouse-doc/references/tools_AI.md +1 -0
- package/bin/skills/lakehouse-doc/references/tools_BI.md +1 -0
- package/bin/skills/lakehouse-doc/references/tpcds-benchmark.md +754 -0
- package/bin/skills/lakehouse-doc/references/tpch-benchmark.md +887 -0
- package/bin/skills/lakehouse-doc/references/transformt-dt.md +291 -0
- package/bin/skills/lakehouse-doc/references/trial-account-quotas-and-limits.md +81 -0
- package/bin/skills/lakehouse-doc/references/tutorial_DataGPT.md +1 -0
- package/bin/skills/lakehouse-doc/references/tutorial_connect_to_lakehouse.md +1 -0
- package/bin/skills/lakehouse-doc/references/tutorial_data_transformation.md +1 -0
- package/bin/skills/lakehouse-doc/references/tutorial_migration.md +1 -0
- package/bin/skills/lakehouse-doc/references/tutorial_virtual_cluster.md +1 -0
- package/bin/skills/lakehouse-doc/references/tutorial_work_with_workspace.md +1 -0
- package/bin/skills/lakehouse-doc/references/tutorial_zettapark.md +1 -0
- package/bin/skills/lakehouse-doc/references/tutorials-streaming-data-pipeline-with_dynamic-table.md +124 -0
- package/bin/skills/lakehouse-doc/references/undrop-dynamic-table.md +79 -0
- package/bin/skills/lakehouse-doc/references/undrop-materialized-view.md +80 -0
- package/bin/skills/lakehouse-doc/references/unifiedWorkflow.md +1 -0
- package/bin/skills/lakehouse-doc/references/unloa-data-summary.md +17 -0
- package/bin/skills/lakehouse-doc/references/unload-data-local.md +72 -0
- package/bin/skills/lakehouse-doc/references/unstructure_data_analysis.md +1 -0
- package/bin/skills/lakehouse-doc/references/unstructured_etl_pipeline_notebook.md +12 -0
- package/bin/skills/lakehouse-doc/references/unstructured_etl_pipeline_user_guide.md +949 -0
- package/bin/skills/lakehouse-doc/references/unstructured_etl_python_api.md +896 -0
- package/bin/skills/lakehouse-doc/references/upload-data.md +1 -0
- package/bin/skills/lakehouse-doc/references/upload_data.md +123 -0
- package/bin/skills/lakehouse-doc/references/use-dbt-dev.md +441 -0
- package/bin/skills/lakehouse-doc/references/use-external-schema.md +42 -0
- package/bin/skills/lakehouse-doc/references/use-java-sdk-releatime-uploaddata.md +168 -0
- package/bin/skills/lakehouse-doc/references/use-java-sdk-upload-dta-local.md +140 -0
- package/bin/skills/lakehouse-doc/references/use-mysql-client.md +189 -0
- package/bin/skills/lakehouse-doc/references/use-python-sdk-upload-data.md +99 -0
- package/bin/skills/lakehouse-doc/references/use-schema.md +49 -0
- package/bin/skills/lakehouse-doc/references/use-vcluster.md +38 -0
- package/bin/skills/lakehouse-doc/references/user-aggrement.md +229 -0
- package/bin/skills/lakehouse-doc/references/user-external-funciton.md +1 -0
- package/bin/skills/lakehouse-doc/references/user-identification.md +58 -0
- package/bin/skills/lakehouse-doc/references/user_permission_grand_guide.md +322 -0
- package/bin/skills/lakehouse-doc/references/using-google-authenticator.md +48 -0
- package/bin/skills/lakehouse-doc/references/using-udf-in-dynamic-table.md +162 -0
- package/bin/skills/lakehouse-doc/references/using_mcp_solute_data_pipeline_issue.md +343 -0
- package/bin/skills/lakehouse-doc/references/uuid.md +47 -0
- package/bin/skills/lakehouse-doc/references/validate_schema_evolution.md +167 -0
- package/bin/skills/lakehouse-doc/references/vc-job.md +1 -0
- package/bin/skills/lakehouse-doc/references/vc_cache.md +71 -0
- package/bin/skills/lakehouse-doc/references/vcluster_size_description.md +98 -0
- package/bin/skills/lakehouse-doc/references/vector-search.md +144 -0
- package/bin/skills/lakehouse-doc/references/vector-type.md +52 -0
- package/bin/skills/lakehouse-doc/references/vector_data_process_guide.md +952 -0
- package/bin/skills/lakehouse-doc/references/vector_search_ai.md +423 -0
- package/bin/skills/lakehouse-doc/references/version-update.md +21 -0
- package/bin/skills/lakehouse-doc/references/virtual-cluster.md +221 -0
- package/bin/skills/lakehouse-doc/references/volume_best_practices.md +1141 -0
- package/bin/skills/lakehouse-doc/references/web-job-history.md +163 -0
- package/bin/skills/lakehouse-doc/references/what_is_clickzetta_lakehouse.md +92 -0
- package/bin/skills/lakehouse-doc/references/window-function-summary.md +134 -0
- package/bin/skills/lakehouse-doc/references/windowframe.md +139 -0
- package/bin/skills/lakehouse-doc/references/working_with_Vclusters.md +171 -0
- package/bin/skills/lakehouse-doc/references/working_with_cache.md +102 -0
- package/bin/skills/lakehouse-doc/references/worksapce-informaiton_schema-views.md +207 -0
- package/bin/skills/lakehouse-doc/references/worksheet.md +15 -0
- package/bin/skills/lakehouse-doc/references/workspace-introduction.md +41 -0
- package/bin/skills/lakehouse-doc/references/worskapce-infroamtionschema-summary.md +56 -0
- package/package.json +13 -0
|
@@ -0,0 +1,1141 @@
|
|
|
1
|
+
# 云器Lakehouse Volume最佳实践指南
|
|
2
|
+
|
|
3
|
+
## 📑 内容简介
|
|
4
|
+
|
|
5
|
+
本文档提供了云器Lakehouse Volume功能的最佳实践指南,帮助您高效管理数据文件、优化存储性能、降低成本并提高数据操作效率。主要内容包括:
|
|
6
|
+
|
|
7
|
+
* **Volume基础知识**:核心概念和不同类型Volume的适用场景与创建方法
|
|
8
|
+
* **日常操作指南**:常用文件管理命令和格式设置
|
|
9
|
+
* **性能优化策略**:存储效率提升和访问速度优化方法
|
|
10
|
+
* **自动化工作流**:使用PIPE和DIRECTORY等高级功能
|
|
11
|
+
* **安全与成本控制**:权限管理和成本优化策略
|
|
12
|
+
* **故障排除**:常见问题的解决方案和最佳实践
|
|
13
|
+
|
|
14
|
+
所有SQL示例均经过实际环境验证,可直接应用于生产环境。
|
|
15
|
+
|
|
16
|
+
***
|
|
17
|
+
|
|
18
|
+
## Volume概述
|
|
19
|
+
|
|
20
|
+
Volume是云器Lakehouse的核心存储抽象,提供了统一的文件管理和数据访问能力。通过Volume,您可以:
|
|
21
|
+
|
|
22
|
+
* 🗂️ **统一文件管理**: 跨不同存储系统的一致操作体验
|
|
23
|
+
* 🔒 **安全访问控制**: 基于权限的文件访问管理
|
|
24
|
+
* 🚀 **自动化数据管道**: 通过PIPE实现数据自动导入和清理
|
|
25
|
+
* 📊 **元数据查询**: 通过DIRECTORY函数获取详细文件信息
|
|
26
|
+
* 🔧 **智能优化**: 自动小文件合并和存储优化
|
|
27
|
+
* 💾 **多格式支持**: CSV、Parquet、JSON、TEXT等格式全支持
|
|
28
|
+
|
|
29
|
+
***
|
|
30
|
+
|
|
31
|
+
## Volume类型与选择
|
|
32
|
+
|
|
33
|
+
### User Volume(用户卷)
|
|
34
|
+
|
|
35
|
+
**适用场景**: 临时数据存储、中间结果、个人工作空间
|
|
36
|
+
|
|
37
|
+
```sql
|
|
38
|
+
-- 查看User Volume内容
|
|
39
|
+
SHOW USER VOLUME DIRECTORY;
|
|
40
|
+
|
|
41
|
+
-- 列出所有文件
|
|
42
|
+
LIST USER VOLUME;
|
|
43
|
+
|
|
44
|
+
-- 按正则表达式过滤
|
|
45
|
+
LIST USER VOLUME REGEXP = '.*\.csv';
|
|
46
|
+
|
|
47
|
+
-- 按子目录查看
|
|
48
|
+
LIST USER VOLUME SUBDIRECTORY 'temp/';
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
**特点**:
|
|
52
|
+
|
|
53
|
+
* ✅ 即开即用,无需配置
|
|
54
|
+
* ✅ 适合临时数据存储
|
|
55
|
+
* ✅ 用户默认具有管理权限
|
|
56
|
+
* ❌ 不支持DIRECTORY函数
|
|
57
|
+
* ❌ 不支持PIPE直接监控
|
|
58
|
+
|
|
59
|
+
### Table Volume(表卷)
|
|
60
|
+
|
|
61
|
+
**适用场景**: 表级数据管理、ETL中间结果、表相关文件存储
|
|
62
|
+
|
|
63
|
+
```sql
|
|
64
|
+
-- 查看Table Volume目录
|
|
65
|
+
SHOW TABLE VOLUME DIRECTORY table_name;
|
|
66
|
+
|
|
67
|
+
-- 列出Table Volume文件
|
|
68
|
+
LIST TABLE VOLUME table_name;
|
|
69
|
+
|
|
70
|
+
-- 按正则表达式过滤
|
|
71
|
+
LIST TABLE VOLUME table_name REGEXP = '.*\.parquet';
|
|
72
|
+
|
|
73
|
+
-- 查看特定子目录
|
|
74
|
+
LIST TABLE VOLUME table_name SUBDIRECTORY 'backup/';
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
**特点**:
|
|
78
|
+
|
|
79
|
+
* ✅ 每个表自动拥有独立Volume空间
|
|
80
|
+
* ✅ 与表生命周期和权限绑定
|
|
81
|
+
* ✅ 支持标准Volume操作
|
|
82
|
+
* ✅ 便于表级数据管理和备份
|
|
83
|
+
|
|
84
|
+
### External Volume(外部卷)
|
|
85
|
+
|
|
86
|
+
**适用场景**: 正式数据湖、生产数据存储、跨系统数据共享
|
|
87
|
+
|
|
88
|
+
#### 创建External Volume
|
|
89
|
+
|
|
90
|
+
```sql
|
|
91
|
+
-- 步骤1: 创建Storage Connection
|
|
92
|
+
CREATE STORAGE CONNECTION my_oss_connection
|
|
93
|
+
TYPE = 'OSS' -- 支持多种存储类型: OSS/S3/COS/GCS
|
|
94
|
+
PROPERTIES = (
|
|
95
|
+
'access_key' = 'your_access_key',
|
|
96
|
+
'secret_key' = 'your_secret_key',
|
|
97
|
+
'endpoint' = 'oss-region.aliyuncs.com'
|
|
98
|
+
);
|
|
99
|
+
|
|
100
|
+
-- 步骤2: 创建External Volume
|
|
101
|
+
CREATE VOLUME my_external_volume
|
|
102
|
+
WITH CONNECTION = my_oss_connection
|
|
103
|
+
LOCATION = 'oss://bucket-name/path/'
|
|
104
|
+
DIRECTORY = (enable = TRUE) -- 启用DIRECTORY功能
|
|
105
|
+
COMMENT = '外部存储卷';
|
|
106
|
+
|
|
107
|
+
-- 步骤3: 设置访问权限
|
|
108
|
+
GRANT READ VOLUME ON VOLUME my_schema.my_external_volume TO ROLE data_analyst;
|
|
109
|
+
GRANT WRITE VOLUME ON VOLUME my_schema.my_external_volume TO ROLE data_engineer;
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
#### 使用External Volume
|
|
113
|
+
|
|
114
|
+
```sql
|
|
115
|
+
-- 查看所有外部Volume
|
|
116
|
+
SHOW VOLUMES;
|
|
117
|
+
|
|
118
|
+
-- 检查Volume配置
|
|
119
|
+
DESC VOLUME schema_name.volume_name;
|
|
120
|
+
|
|
121
|
+
-- 列出Volume文件
|
|
122
|
+
LIST VOLUME schema_name.volume_name;
|
|
123
|
+
|
|
124
|
+
-- 高级过滤
|
|
125
|
+
LIST VOLUME schema_name.volume_name
|
|
126
|
+
SUBDIRECTORY 'data/2024/'
|
|
127
|
+
REGEXP = '.*\.parquet';
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
**特点**:
|
|
131
|
+
|
|
132
|
+
* ✅ 支持DIRECTORY函数(需启用)
|
|
133
|
+
* ✅ 支持PIPE自动监控
|
|
134
|
+
* ✅ 生产级数据管理
|
|
135
|
+
* ✅ 支持多云存储(OSS/COS/S3/GCS)
|
|
136
|
+
* ✅ 可与外部数据湖集成
|
|
137
|
+
|
|
138
|
+
> **💡 选型建议**: 对于个人临时数据,使用User Volume;对于与特定表关联的文件,使用Table Volume;对于企业级数据湖和生产环境数据存储,使用External Volume。
|
|
139
|
+
|
|
140
|
+
***
|
|
141
|
+
|
|
142
|
+
## 基础文件管理
|
|
143
|
+
|
|
144
|
+
### 🔍 文件列表查询
|
|
145
|
+
|
|
146
|
+
```sql
|
|
147
|
+
-- 基础列表查询
|
|
148
|
+
LIST USER VOLUME;
|
|
149
|
+
LIST TABLE VOLUME my_table;
|
|
150
|
+
LIST VOLUME mcp_demo.data_volume;
|
|
151
|
+
|
|
152
|
+
-- 子目录查询
|
|
153
|
+
LIST USER VOLUME SUBDIRECTORY 'reports/2024/';
|
|
154
|
+
LIST TABLE VOLUME my_table SUBDIRECTORY 'backups/';
|
|
155
|
+
LIST VOLUME mcp_demo.data_volume SUBDIRECTORY 'csv_data/';
|
|
156
|
+
|
|
157
|
+
-- 正则表达式过滤
|
|
158
|
+
LIST USER VOLUME REGEXP = '.*\.parquet';
|
|
159
|
+
LIST TABLE VOLUME my_table REGEXP = '.*backup.*';
|
|
160
|
+
LIST VOLUME mcp_demo.data_volume REGEXP = '.*month=0[1-5].*';
|
|
161
|
+
|
|
162
|
+
-- 组合查询:子目录+正则表达式
|
|
163
|
+
LIST VOLUME mcp_demo.data_volume
|
|
164
|
+
SUBDIRECTORY 't_search_log'
|
|
165
|
+
REGEXP = '.*c000';
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
### 🗑️ 文件删除管理(REMOVE命令)
|
|
169
|
+
|
|
170
|
+
```sql
|
|
171
|
+
-- 删除单个文件
|
|
172
|
+
REMOVE USER VOLUME FILE 'temp/data.csv';
|
|
173
|
+
REMOVE TABLE VOLUME my_table FILE 'backup/old_data.parquet';
|
|
174
|
+
REMOVE VOLUME my_external_vol FILE 'processed/result.json';
|
|
175
|
+
|
|
176
|
+
-- 删除多个文件(需要多次执行REMOVE命令)
|
|
177
|
+
-- 注意:当前版本不支持逗号分隔的多文件删除方式
|
|
178
|
+
REMOVE USER VOLUME FILE 'temp/file1.csv';
|
|
179
|
+
REMOVE USER VOLUME FILE 'temp/file2.csv';
|
|
180
|
+
|
|
181
|
+
-- 删除整个目录(递归删除)
|
|
182
|
+
REMOVE USER VOLUME SUBDIRECTORY 'temp/';
|
|
183
|
+
REMOVE TABLE VOLUME my_table SUBDIRECTORY 'old_backups/';
|
|
184
|
+
REMOVE VOLUME my_external_vol SUBDIRECTORY 'archive/2023/';
|
|
185
|
+
|
|
186
|
+
-- ⚠️ 注意:REMOVE会同时删除实际存储中的文件,不可恢复
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
### 📁 目录操作最佳实践
|
|
190
|
+
|
|
191
|
+
```sql
|
|
192
|
+
-- 1. 按业务场景组织目录结构
|
|
193
|
+
-- 推荐目录结构:
|
|
194
|
+
-- /raw/ # 原始数据
|
|
195
|
+
-- /processed/ # 处理后数据
|
|
196
|
+
-- /temp/ # 临时数据
|
|
197
|
+
-- /backup/ # 备份数据
|
|
198
|
+
-- /archive/ # 归档数据
|
|
199
|
+
|
|
200
|
+
-- 2. 按时间分区组织
|
|
201
|
+
LIST USER VOLUME REGEXP = '.*2024.*'; -- 按年份
|
|
202
|
+
LIST TABLE VOLUME my_table REGEXP = '.*202405.*'; -- 按年月
|
|
203
|
+
LIST VOLUME external_vol REGEXP = '.*daily_20240529.*'; -- 按日期
|
|
204
|
+
|
|
205
|
+
-- 3. 按文件类型分类
|
|
206
|
+
LIST USER VOLUME REGEXP = '.*\.csv'; -- CSV文件
|
|
207
|
+
LIST TABLE VOLUME my_table REGEXP = '.*\.parquet'; -- Parquet文件
|
|
208
|
+
LIST VOLUME external_vol REGEXP = '.*\.json'; -- JSON文件
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
### ⚠️ 文件管理注意事项
|
|
212
|
+
|
|
213
|
+
1. **PUT/GET命令限制**: 只能在SQLLine等客户端中执行,Studio WEB端不支持
|
|
214
|
+
2. **文件大小限制**: 单个文件不超过5GB
|
|
215
|
+
3. **文件覆盖风险**: 同名文件会被自动覆盖,务必谨慎
|
|
216
|
+
4. **权限依赖**: 操作权限与Volume类型相关(详见权限管理章节)
|
|
217
|
+
|
|
218
|
+
***
|
|
219
|
+
|
|
220
|
+
## 文件格式与压缩优化
|
|
221
|
+
|
|
222
|
+
### 📦 支持的文件格式
|
|
223
|
+
|
|
224
|
+
云器Lakehouse支持多种文件格式,每种格式都有其最佳使用场景:
|
|
225
|
+
|
|
226
|
+
```sql
|
|
227
|
+
-- CSV格式:适用于数据交换、人工可读
|
|
228
|
+
-- Parquet格式:适用于分析场景、列式存储
|
|
229
|
+
-- JSON格式:适用于半结构化数据(输出为JSON LINE格式)
|
|
230
|
+
-- TEXT格式:适用于纯文本数据
|
|
231
|
+
-- ORC格式:优化的行列混合格式
|
|
232
|
+
-- BSON格式:二进制JSON格式
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
### 🗜️ 压缩格式配置
|
|
236
|
+
|
|
237
|
+
> **注意**:根据验证测试,当前版本对于CSV格式的COMPRESSION参数可能存在限制。以下展示了推荐的语法:
|
|
238
|
+
|
|
239
|
+
```sql
|
|
240
|
+
-- Parquet导出(推荐,自带内置压缩)
|
|
241
|
+
COPY INTO USER VOLUME
|
|
242
|
+
SUBDIRECTORY 'parquet_data/'
|
|
243
|
+
FROM my_table
|
|
244
|
+
FILE_FORMAT = (TYPE = PARQUET); -- 自动应用最优压缩
|
|
245
|
+
|
|
246
|
+
-- TEXT格式导出(纯文本)
|
|
247
|
+
COPY INTO USER VOLUME
|
|
248
|
+
SUBDIRECTORY 'text_output/'
|
|
249
|
+
FROM my_table
|
|
250
|
+
FILE_FORMAT = (TYPE = TEXT);
|
|
251
|
+
|
|
252
|
+
-- 导入时的压缩参数设置(在OPTIONS中)
|
|
253
|
+
COPY INTO target_table
|
|
254
|
+
FROM USER VOLUME
|
|
255
|
+
USING CSV
|
|
256
|
+
OPTIONS('header'='true')
|
|
257
|
+
FILES ('data.csv');
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
### 🔧 文件格式参数说明
|
|
261
|
+
|
|
262
|
+
```sql
|
|
263
|
+
-- CSV导入时的参数设置
|
|
264
|
+
COPY INTO target_table
|
|
265
|
+
FROM USER VOLUME
|
|
266
|
+
USING CSV
|
|
267
|
+
OPTIONS(
|
|
268
|
+
'header'='true', -- 包含表头
|
|
269
|
+
'sep'='|' -- 分隔符
|
|
270
|
+
)
|
|
271
|
+
FILES ('special_format.csv');
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
### 💡 格式选择建议
|
|
275
|
+
|
|
276
|
+
| 格式 | 压缩比 | 查询性能 | 适用场景 |
|
|
277
|
+
| ---------------- | --- | ---- | ------------ |
|
|
278
|
+
| **Parquet** (推荐) | 高 | 最佳 | 分析查询、长期存储 |
|
|
279
|
+
| **CSV** | 中等 | 中等 | 数据交换、人工查看 |
|
|
280
|
+
| **JSON** | 中等 | 中等 | 半结构化数据、API接口 |
|
|
281
|
+
| **TEXT** | 低 | 低 | 日志文件、简单文本 |
|
|
282
|
+
|
|
283
|
+
> **📋 最佳实践**:生产环境下存储分析数据优先选择Parquet格式,可减少50-80%存储空间并提升3-5倍查询性能。数据交换场景可使用CSV格式。
|
|
284
|
+
|
|
285
|
+
***
|
|
286
|
+
|
|
287
|
+
## 错误处理与数据质量
|
|
288
|
+
|
|
289
|
+
### 🚫 错误处理策略
|
|
290
|
+
|
|
291
|
+
> **注意**:根据验证测试,当前版本的ON\_ERROR参数语法可能存在限制。以下是建议的替代方法:
|
|
292
|
+
|
|
293
|
+
```sql
|
|
294
|
+
-- 导入错误处理
|
|
295
|
+
-- 当遇到错误时,系统会默认返回详细的错误信息
|
|
296
|
+
COPY INTO target_table
|
|
297
|
+
FROM USER VOLUME
|
|
298
|
+
USING CSV
|
|
299
|
+
OPTIONS('header'='true')
|
|
300
|
+
FILES ('import_data.csv');
|
|
301
|
+
|
|
302
|
+
-- 对于可能的格式错误,建议先导入小样本进行验证
|
|
303
|
+
COPY INTO target_table
|
|
304
|
+
FROM USER VOLUME
|
|
305
|
+
USING CSV
|
|
306
|
+
OPTIONS('header'='true')
|
|
307
|
+
FILES ('sample_data.csv');
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
### 🧹 PURGE自动清理功能
|
|
311
|
+
|
|
312
|
+
PURGE功能可以在数据导入成功后自动删除源文件,节省存储空间:
|
|
313
|
+
|
|
314
|
+
```sql
|
|
315
|
+
-- 导入成功后自动删除源文件
|
|
316
|
+
COPY INTO target_table
|
|
317
|
+
FROM USER VOLUME
|
|
318
|
+
(id INT, name STRING, value DOUBLE)
|
|
319
|
+
USING CSV
|
|
320
|
+
FILES ('import_data.csv')
|
|
321
|
+
PURGE = TRUE; -- ⚠️ 导入成功后源文件将被永久删除
|
|
322
|
+
|
|
323
|
+
-- 完整导入示例
|
|
324
|
+
COPY INTO sales_data
|
|
325
|
+
FROM VOLUME data_lake_volume
|
|
326
|
+
(order_id BIGINT, customer_name STRING, amount DECIMAL(10,2), order_date DATE)
|
|
327
|
+
USING CSV
|
|
328
|
+
OPTIONS('header'='true', 'sep'=',')
|
|
329
|
+
SUBDIRECTORY 'daily_sales/'
|
|
330
|
+
PURGE = TRUE; -- 成功后清理
|
|
331
|
+
```
|
|
332
|
+
|
|
333
|
+
### ⚠️ 数据质量保障建议
|
|
334
|
+
|
|
335
|
+
1. **先小批量测试**: 使用小数据集验证格式和参数
|
|
336
|
+
2. **错误日志分析**: 仔细分析错误原因进行调整
|
|
337
|
+
3. **备份源文件**: 使用PURGE前确保有备份
|
|
338
|
+
4. **格式验证**: 导入前验证文件格式一致性
|
|
339
|
+
|
|
340
|
+
***
|
|
341
|
+
|
|
342
|
+
## 预签名URL最佳实践
|
|
343
|
+
|
|
344
|
+
### 🔗 基础URL生成
|
|
345
|
+
|
|
346
|
+
```sql
|
|
347
|
+
-- 为User Volume文件生成预签名URL
|
|
348
|
+
SELECT GET_PRESIGNED_URL(USER VOLUME, 'data/report.csv', 3600) AS url;
|
|
349
|
+
|
|
350
|
+
-- 为Table Volume文件生成预签名URL
|
|
351
|
+
SELECT GET_PRESIGNED_URL(TABLE VOLUME my_table, 'backup/data.parquet', 3600) AS url;
|
|
352
|
+
|
|
353
|
+
-- 为External Volume文件生成预签名URL
|
|
354
|
+
SELECT GET_PRESIGNED_URL(VOLUME mcp_demo.data_volume, 'path/file.csv', 3600) AS url;
|
|
355
|
+
|
|
356
|
+
-- 为Named Volume文件生成预签名URL
|
|
357
|
+
SELECT GET_PRESIGNED_URL(VOLUME my_schema.my_named_volume, 'shared/report.pdf', 7200) AS url;
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
### 🌐 外部URL控制
|
|
361
|
+
|
|
362
|
+
```sql
|
|
363
|
+
-- 设置强制生成外部可访问URL
|
|
364
|
+
SET cz.sql.function.get.presigned.url.force.external=true;
|
|
365
|
+
|
|
366
|
+
-- 生成外部URL(推荐用于分享)
|
|
367
|
+
SELECT GET_PRESIGNED_URL(USER VOLUME, 'report.pdf', 7200) AS external_url;
|
|
368
|
+
|
|
369
|
+
-- 批量生成URL(用于文件分享清单)
|
|
370
|
+
SELECT
|
|
371
|
+
relative_path,
|
|
372
|
+
size,
|
|
373
|
+
GET_PRESIGNED_URL(USER VOLUME, relative_path,
|
|
374
|
+
CASE
|
|
375
|
+
WHEN relative_path LIKE '%temp%' THEN 1800 -- 临时文件30分钟
|
|
376
|
+
WHEN relative_path LIKE '%archive%' THEN 86400 -- 归档文件24小时
|
|
377
|
+
ELSE 3600 -- 默认1小时
|
|
378
|
+
END
|
|
379
|
+
) AS access_url
|
|
380
|
+
FROM (SHOW USER VOLUME DIRECTORY)
|
|
381
|
+
WHERE relative_path LIKE '%.csv';
|
|
382
|
+
```
|
|
383
|
+
|
|
384
|
+
### ⏰ 有效期管理策略
|
|
385
|
+
|
|
386
|
+
```sql
|
|
387
|
+
-- 短期访问(30分钟)- 适用于临时下载
|
|
388
|
+
SELECT GET_PRESIGNED_URL(USER VOLUME, 'temp.csv', 1800) AS short_url;
|
|
389
|
+
|
|
390
|
+
-- 标准访问(1小时)- 适用于常规操作
|
|
391
|
+
SELECT GET_PRESIGNED_URL(USER VOLUME, 'data.csv', 3600) AS standard_url;
|
|
392
|
+
|
|
393
|
+
-- 长期访问(12小时)- 适用于大文件下载
|
|
394
|
+
SELECT GET_PRESIGNED_URL(USER VOLUME, 'large_archive.zip', 43200) AS long_url;
|
|
395
|
+
|
|
396
|
+
-- 超长期访问(7天)- 适用于跨时区协作
|
|
397
|
+
SELECT GET_PRESIGNED_URL(USER VOLUME, 'shared_report.xlsx', 604800) AS week_url;
|
|
398
|
+
```
|
|
399
|
+
|
|
400
|
+
### 🔐 安全最佳实践
|
|
401
|
+
|
|
402
|
+
1. **最小权限原则**: 设置尽可能短的有效期
|
|
403
|
+
2. **访问记录**: 生成URL时记录访问目的和有效期
|
|
404
|
+
3. **定期清理**: 定期清理过期的预签名URL记录
|
|
405
|
+
4. **监控异常**: 监控URL异常访问模式
|
|
406
|
+
5. **外部访问控制**: 仅在必要时启用外部访问
|
|
407
|
+
|
|
408
|
+
> **📋 最佳实践**:根据数据敏感程度分级设置URL有效期:公开数据≤7天,内部数据≤24小时,敏感数据≤1小时。
|
|
409
|
+
|
|
410
|
+
***
|
|
411
|
+
|
|
412
|
+
## DIRECTORY函数高级应用
|
|
413
|
+
|
|
414
|
+
### 📊 前提条件检查
|
|
415
|
+
|
|
416
|
+
```sql
|
|
417
|
+
-- 检查Volume是否启用DIRECTORY功能
|
|
418
|
+
DESC VOLUME schema_name.volume_name;
|
|
419
|
+
-- 确认返回结果中: directory_enabled: 'true'
|
|
420
|
+
|
|
421
|
+
-- 如未启用,需要在创建Volume时指定:
|
|
422
|
+
-- CREATE VOLUME my_volume ... DIRECTORY = (enable = TRUE);
|
|
423
|
+
```
|
|
424
|
+
|
|
425
|
+
### 🔍 基础元数据查询
|
|
426
|
+
|
|
427
|
+
```sql
|
|
428
|
+
-- 获取文件基本信息
|
|
429
|
+
SELECT relative_path, size, last_modified_time
|
|
430
|
+
FROM DIRECTORY(VOLUME mcp_demo.data_volume)
|
|
431
|
+
LIMIT 10;
|
|
432
|
+
|
|
433
|
+
-- 按文件类型统计分析
|
|
434
|
+
SELECT
|
|
435
|
+
CASE
|
|
436
|
+
WHEN relative_path LIKE '%.csv' THEN 'CSV'
|
|
437
|
+
WHEN relative_path LIKE '%.parquet' THEN 'Parquet'
|
|
438
|
+
WHEN relative_path LIKE '%.json' THEN 'JSON'
|
|
439
|
+
WHEN relative_path LIKE '%.txt' THEN 'TEXT'
|
|
440
|
+
ELSE 'Other'
|
|
441
|
+
END AS file_type,
|
|
442
|
+
COUNT(*) as file_count,
|
|
443
|
+
SUM(CAST(size AS BIGINT)) as total_size_bytes,
|
|
444
|
+
ROUND(SUM(CAST(size AS BIGINT))/1024/1024, 2) as total_size_mb,
|
|
445
|
+
AVG(CAST(size AS BIGINT)) as avg_size_bytes
|
|
446
|
+
FROM DIRECTORY(VOLUME mcp_demo.data_volume)
|
|
447
|
+
GROUP BY
|
|
448
|
+
CASE
|
|
449
|
+
WHEN relative_path LIKE '%.csv' THEN 'CSV'
|
|
450
|
+
WHEN relative_path LIKE '%.parquet' THEN 'Parquet'
|
|
451
|
+
WHEN relative_path LIKE '%.json' THEN 'JSON'
|
|
452
|
+
WHEN relative_path LIKE '%.txt' THEN 'TEXT'
|
|
453
|
+
ELSE 'Other'
|
|
454
|
+
END
|
|
455
|
+
ORDER BY total_size_bytes DESC;
|
|
456
|
+
```
|
|
457
|
+
|
|
458
|
+
### 🚀 高级组合应用
|
|
459
|
+
|
|
460
|
+
```sql
|
|
461
|
+
-- 结合预签名URL生成文件访问清单
|
|
462
|
+
SELECT
|
|
463
|
+
relative_path,
|
|
464
|
+
ROUND(CAST(size AS BIGINT)/1024/1024, 2) as size_mb,
|
|
465
|
+
last_modified_time,
|
|
466
|
+
GET_PRESIGNED_URL(VOLUME mcp_demo.data_volume, relative_path, 3600) AS access_url
|
|
467
|
+
FROM DIRECTORY(VOLUME mcp_demo.data_volume)
|
|
468
|
+
WHERE relative_path LIKE '%.csv'
|
|
469
|
+
AND CAST(size AS BIGINT) > 1000000 -- 过滤大于1MB的文件
|
|
470
|
+
ORDER BY last_modified_time DESC
|
|
471
|
+
LIMIT 10;
|
|
472
|
+
|
|
473
|
+
-- 生成数据目录报告
|
|
474
|
+
SELECT
|
|
475
|
+
CASE
|
|
476
|
+
WHEN instr(relative_path, '/') > 0
|
|
477
|
+
THEN substr(relative_path, 1, instr(relative_path, '/') - 1)
|
|
478
|
+
ELSE 'root'
|
|
479
|
+
END as directory,
|
|
480
|
+
COUNT(*) as file_count,
|
|
481
|
+
SUM(CAST(size AS BIGINT)) as total_size,
|
|
482
|
+
MAX(last_modified_time) as latest_modified
|
|
483
|
+
FROM DIRECTORY(VOLUME mcp_demo.data_volume)
|
|
484
|
+
WHERE relative_path LIKE '%/%'
|
|
485
|
+
GROUP BY
|
|
486
|
+
CASE
|
|
487
|
+
WHEN instr(relative_path, '/') > 0
|
|
488
|
+
THEN substr(relative_path, 1, instr(relative_path, '/') - 1)
|
|
489
|
+
ELSE 'root'
|
|
490
|
+
END
|
|
491
|
+
ORDER BY total_size DESC;
|
|
492
|
+
```
|
|
493
|
+
|
|
494
|
+
### 📈 数据治理与分析应用
|
|
495
|
+
|
|
496
|
+
```sql
|
|
497
|
+
-- 文件老化分析
|
|
498
|
+
SELECT
|
|
499
|
+
CASE
|
|
500
|
+
WHEN last_modified_time >= CURRENT_DATE - INTERVAL '7' DAY THEN 'Recent (7d)'
|
|
501
|
+
WHEN last_modified_time >= CURRENT_DATE - INTERVAL '30' DAY THEN 'Medium (30d)'
|
|
502
|
+
WHEN last_modified_time >= CURRENT_DATE - INTERVAL '90' DAY THEN 'Old (90d)'
|
|
503
|
+
ELSE 'Very Old (>90d)'
|
|
504
|
+
END AS age_category,
|
|
505
|
+
COUNT(*) as file_count,
|
|
506
|
+
ROUND(SUM(CAST(size AS BIGINT))/1024/1024, 2) as size_mb,
|
|
507
|
+
ROUND(AVG(CAST(size AS BIGINT))/1024, 2) as avg_size_kb
|
|
508
|
+
FROM DIRECTORY(VOLUME mcp_demo.data_volume)
|
|
509
|
+
GROUP BY
|
|
510
|
+
CASE
|
|
511
|
+
WHEN last_modified_time >= CURRENT_DATE - INTERVAL '7' DAY THEN 'Recent (7d)'
|
|
512
|
+
WHEN last_modified_time >= CURRENT_DATE - INTERVAL '30' DAY THEN 'Medium (30d)'
|
|
513
|
+
WHEN last_modified_time >= CURRENT_DATE - INTERVAL '90' DAY THEN 'Old (90d)'
|
|
514
|
+
ELSE 'Very Old (>90d)'
|
|
515
|
+
END
|
|
516
|
+
ORDER BY
|
|
517
|
+
CASE age_category
|
|
518
|
+
WHEN 'Recent (7d)' THEN 1
|
|
519
|
+
WHEN 'Medium (30d)' THEN 2
|
|
520
|
+
WHEN 'Old (90d)' THEN 3
|
|
521
|
+
ELSE 4
|
|
522
|
+
END;
|
|
523
|
+
|
|
524
|
+
-- 识别需要清理的文件
|
|
525
|
+
SELECT
|
|
526
|
+
relative_path,
|
|
527
|
+
ROUND(CAST(size AS BIGINT)/1024/1024, 2) as size_mb,
|
|
528
|
+
last_modified_time,
|
|
529
|
+
datediff(CURRENT_DATE, DATE(last_modified_time)) AS days_old
|
|
530
|
+
FROM DIRECTORY(VOLUME mcp_demo.data_volume)
|
|
531
|
+
WHERE last_modified_time < CURRENT_DATE - INTERVAL '90' DAY
|
|
532
|
+
AND (relative_path LIKE '%temp%' OR relative_path LIKE '%tmp%')
|
|
533
|
+
ORDER BY last_modified_time ASC;
|
|
534
|
+
``` **💡 应用场景**:使用DIRECTORY函数可以构建自动化存储报告、数据老化分析和文件生命周期管理系统,提高存储效率和降低成本。
|
|
535
|
+
|
|
536
|
+
***
|
|
537
|
+
|
|
538
|
+
## PIPE管道自动化
|
|
539
|
+
|
|
540
|
+
### 🔧 前提条件与环境准备
|
|
541
|
+
|
|
542
|
+
```sql
|
|
543
|
+
-- 1. 确认Virtual Cluster状态
|
|
544
|
+
SHOW VCLUSTERS;
|
|
545
|
+
|
|
546
|
+
-- 2. 启动Virtual Cluster(如需要)
|
|
547
|
+
ALTER VCLUSTER DEFAULT RESUME;
|
|
548
|
+
|
|
549
|
+
-- 3. 确认使用External Volume(仅External Volume支持PIPE)
|
|
550
|
+
SHOW VOLUMES;
|
|
551
|
+
DESC VOLUME schema_name.volume_name;
|
|
552
|
+
```
|
|
553
|
+
|
|
554
|
+
### 🚰 创建PIPE管道
|
|
555
|
+
|
|
556
|
+
```sql
|
|
557
|
+
-- 创建目标表
|
|
558
|
+
CREATE TABLE IF NOT EXISTS auto_import_target (
|
|
559
|
+
id INT,
|
|
560
|
+
name STRING,
|
|
561
|
+
data_content STRING,
|
|
562
|
+
ingestion_time TIMESTAMP_NTZ DEFAULT CURRENT_TIMESTAMP(),
|
|
563
|
+
source_file STRING -- 记录来源文件
|
|
564
|
+
);
|
|
565
|
+
|
|
566
|
+
-- 创建基础PIPE(仅支持External Volume)
|
|
567
|
+
CREATE PIPE IF NOT EXISTS data_auto_import_pipe
|
|
568
|
+
VIRTUAL_CLUSTER = 'DEFAULT'
|
|
569
|
+
INGEST_MODE = 'LIST_PURGE'
|
|
570
|
+
COMMENT 'External Volume自动数据导入管道'
|
|
571
|
+
AS COPY INTO auto_import_target (id, name, data_content)
|
|
572
|
+
FROM VOLUME mcp_demo.data_volume
|
|
573
|
+
(id INT, name STRING, data_content STRING)
|
|
574
|
+
USING CSV
|
|
575
|
+
OPTIONS('header'='false')
|
|
576
|
+
PURGE = true;
|
|
577
|
+
|
|
578
|
+
-- 创建优化PIPE(生产环境推荐)
|
|
579
|
+
CREATE PIPE optimized_auto_pipe
|
|
580
|
+
VIRTUAL_CLUSTER = 'DEFAULT'
|
|
581
|
+
BATCH_INTERVAL_IN_SECONDS = 60 -- 批处理间隔
|
|
582
|
+
BATCH_SIZE_PER_KAFKA_PARTITION = 10000 -- 批处理大小
|
|
583
|
+
INGEST_MODE = 'LIST_PURGE'
|
|
584
|
+
COMMENT '生产级自动导入管道'
|
|
585
|
+
AS COPY INTO auto_import_target (id, name, data_content)
|
|
586
|
+
FROM VOLUME mcp_demo.data_volume
|
|
587
|
+
(id INT, name STRING, data_content STRING)
|
|
588
|
+
USING CSV
|
|
589
|
+
OPTIONS('header'='true')
|
|
590
|
+
PURGE = true; -- 处理后清理
|
|
591
|
+
```
|
|
592
|
+
|
|
593
|
+
### 📊 PIPE管理与监控
|
|
594
|
+
|
|
595
|
+
```sql
|
|
596
|
+
-- 查看所有PIPE
|
|
597
|
+
SHOW PIPES;
|
|
598
|
+
|
|
599
|
+
-- 查看PIPE详细信息
|
|
600
|
+
DESC PIPE data_auto_import_pipe;
|
|
601
|
+
|
|
602
|
+
-- 暂停PIPE(正确语法)
|
|
603
|
+
ALTER PIPE data_auto_import_pipe SET PIPE_EXECUTION_PAUSED = true;
|
|
604
|
+
|
|
605
|
+
-- 恢复PIPE(正确语法)
|
|
606
|
+
ALTER PIPE data_auto_import_pipe SET PIPE_EXECUTION_PAUSED = false;
|
|
607
|
+
|
|
608
|
+
-- 删除PIPE
|
|
609
|
+
DROP PIPE IF EXISTS data_auto_import_pipe;
|
|
610
|
+
```
|
|
611
|
+
|
|
612
|
+
### ⚠️ PIPE使用限制与注意事项
|
|
613
|
+
|
|
614
|
+
1. **仅支持External Volume**: User Volume和Table Volume不支持PIPE监控
|
|
615
|
+
2. **新文件监控**: PIPE用于监控新增文件,不能指定现有文件
|
|
616
|
+
3. **Virtual Cluster依赖**: 需要可用的Virtual Cluster执行
|
|
617
|
+
4. **权限要求**: 需要对Volume和目标表的相应权限
|
|
618
|
+
5. **性能考虑**: 合理设置批处理参数避免资源浪费
|
|
619
|
+
|
|
620
|
+
> **🔄 自动化建议**:对于需要实时/准实时导入的数据流,推荐使用PIPE配合External Volume,可实现全自动的数据摄取流程。
|
|
621
|
+
|
|
622
|
+
***
|
|
623
|
+
|
|
624
|
+
## 数据导入导出进阶
|
|
625
|
+
|
|
626
|
+
### 📤 数据导出高级应用
|
|
627
|
+
|
|
628
|
+
```sql
|
|
629
|
+
-- 基础导出到User Volume
|
|
630
|
+
COPY INTO USER VOLUME
|
|
631
|
+
SUBDIRECTORY 'exports/2024/'
|
|
632
|
+
FROM my_table
|
|
633
|
+
FILE_FORMAT = (TYPE = CSV);
|
|
634
|
+
|
|
635
|
+
-- 导出到Table Volume(表专属空间)
|
|
636
|
+
COPY INTO TABLE VOLUME my_table
|
|
637
|
+
SUBDIRECTORY 'backups/'
|
|
638
|
+
FROM my_table
|
|
639
|
+
FILE_FORMAT = (TYPE = PARQUET);
|
|
640
|
+
|
|
641
|
+
-- 导出查询结果(复杂查询)
|
|
642
|
+
COPY INTO USER VOLUME
|
|
643
|
+
SUBDIRECTORY 'reports/'
|
|
644
|
+
FROM (
|
|
645
|
+
SELECT
|
|
646
|
+
customer_id,
|
|
647
|
+
customer_name,
|
|
648
|
+
SUM(order_amount) as total_amount,
|
|
649
|
+
COUNT(*) as order_count,
|
|
650
|
+
MAX(order_date) as last_order_date
|
|
651
|
+
FROM orders
|
|
652
|
+
WHERE order_date >= '2024-01-01'
|
|
653
|
+
GROUP BY customer_id, customer_name
|
|
654
|
+
HAVING SUM(order_amount) > 10000
|
|
655
|
+
)
|
|
656
|
+
FILE_FORMAT = (TYPE = CSV);
|
|
657
|
+
|
|
658
|
+
-- 使用Parquet格式导出(推荐)
|
|
659
|
+
COPY INTO USER VOLUME
|
|
660
|
+
SUBDIRECTORY 'compressed_exports/'
|
|
661
|
+
FROM my_table
|
|
662
|
+
FILE_FORMAT = (TYPE = PARQUET);
|
|
663
|
+
```
|
|
664
|
+
|
|
665
|
+
### 📥 数据导入高级应用
|
|
666
|
+
|
|
667
|
+
```sql
|
|
668
|
+
-- 从User Volume导入
|
|
669
|
+
COPY INTO target_table
|
|
670
|
+
FROM USER VOLUME
|
|
671
|
+
(id INT, name STRING, created_time TIMESTAMP_NTZ)
|
|
672
|
+
USING CSV
|
|
673
|
+
OPTIONS('header'='true')
|
|
674
|
+
FILES ('exports/data.csv')
|
|
675
|
+
PURGE = FALSE; -- 保留源文件用于错误分析
|
|
676
|
+
|
|
677
|
+
-- 从Table Volume导入(指定多个文件)
|
|
678
|
+
COPY INTO target_table
|
|
679
|
+
FROM TABLE VOLUME source_table
|
|
680
|
+
(id INT, name STRING, backup_time TIMESTAMP_NTZ)
|
|
681
|
+
USING PARQUET
|
|
682
|
+
FILES ('backups/backup_20240529.parquet');
|
|
683
|
+
|
|
684
|
+
-- 第二个文件需单独导入
|
|
685
|
+
COPY INTO target_table
|
|
686
|
+
FROM TABLE VOLUME source_table
|
|
687
|
+
(id INT, name STRING, backup_time TIMESTAMP_NTZ)
|
|
688
|
+
USING PARQUET
|
|
689
|
+
FILES ('backups/backup_20240530.parquet');
|
|
690
|
+
|
|
691
|
+
-- 从External Volume导入(使用子目录)
|
|
692
|
+
COPY INTO target_table
|
|
693
|
+
FROM VOLUME mcp_demo.data_volume
|
|
694
|
+
(id INT, name STRING, value DOUBLE, load_date DATE)
|
|
695
|
+
USING CSV
|
|
696
|
+
SUBDIRECTORY 'processed/' -- 处理整个目录
|
|
697
|
+
OPTIONS('header'='true');
|
|
698
|
+
|
|
699
|
+
-- JSON格式导入示例
|
|
700
|
+
COPY INTO json_target_table
|
|
701
|
+
FROM VOLUME data_volume
|
|
702
|
+
USING JSON
|
|
703
|
+
SUBDIRECTORY 'json_data/';
|
|
704
|
+
```
|
|
705
|
+
|
|
706
|
+
### 🔄 批量数据处理工作流
|
|
707
|
+
|
|
708
|
+
```sql
|
|
709
|
+
-- 完整的ETL工作流示例
|
|
710
|
+
|
|
711
|
+
-- Step 1: 导出原始数据进行处理
|
|
712
|
+
COPY INTO USER VOLUME
|
|
713
|
+
SUBDIRECTORY 'etl/raw/'
|
|
714
|
+
FROM (SELECT * FROM raw_table WHERE status = 'pending' AND created_date >= CURRENT_DATE)
|
|
715
|
+
FILE_FORMAT = (TYPE = CSV);
|
|
716
|
+
|
|
717
|
+
-- Step 2: 使用Table Volume进行表级备份
|
|
718
|
+
COPY INTO TABLE VOLUME important_table
|
|
719
|
+
SUBDIRECTORY 'daily_backup/2024-05-29/'
|
|
720
|
+
FROM important_table
|
|
721
|
+
FILE_FORMAT = (TYPE = PARQUET);
|
|
722
|
+
|
|
723
|
+
-- Step 3: 处理完成后导入(通常由外部ETL工具完成处理步骤)
|
|
724
|
+
COPY INTO processed_table
|
|
725
|
+
FROM USER VOLUME
|
|
726
|
+
(id INT, name STRING, processed_value DOUBLE, processed_time TIMESTAMP_NTZ)
|
|
727
|
+
USING CSV
|
|
728
|
+
OPTIONS('header'='true')
|
|
729
|
+
SUBDIRECTORY 'etl/processed/'
|
|
730
|
+
PURGE = TRUE; -- 导入成功后清理临时文件
|
|
731
|
+
|
|
732
|
+
-- Step 4: 验证数据质量
|
|
733
|
+
SELECT
|
|
734
|
+
COUNT(*) as total_rows,
|
|
735
|
+
COUNT(DISTINCT id) as unique_ids,
|
|
736
|
+
MAX(processed_time) as latest_processed,
|
|
737
|
+
MIN(processed_time) as earliest_processed
|
|
738
|
+
FROM processed_table
|
|
739
|
+
WHERE DATE(processed_time) = CURRENT_DATE;
|
|
740
|
+
```
|
|
741
|
+
|
|
742
|
+
> **💡 ETL流程优化**:使用User Volume作为临时处理区,Table Volume作为备份区,External Volume作为长期存储区,形成完整的数据生命周期管理。
|
|
743
|
+
|
|
744
|
+
***
|
|
745
|
+
|
|
746
|
+
## Volume小文件优化
|
|
747
|
+
|
|
748
|
+
### 📊 分析Volume存储使用情况
|
|
749
|
+
|
|
750
|
+
```sql
|
|
751
|
+
SELECT
|
|
752
|
+
'User Volume' as volume_type,
|
|
753
|
+
COUNT(*) as file_count,
|
|
754
|
+
SUM(CAST(size AS BIGINT)) / 1024 / 1024 as total_size_mb,
|
|
755
|
+
AVG(CAST(size AS BIGINT)) / 1024 as avg_file_size_kb,
|
|
756
|
+
MIN(CAST(size AS BIGINT)) as min_size,
|
|
757
|
+
MAX(CAST(size AS BIGINT)) as max_size
|
|
758
|
+
FROM (SHOW USER VOLUME DIRECTORY)
|
|
759
|
+
UNION ALL
|
|
760
|
+
SELECT
|
|
761
|
+
'External Volume' as volume_type,
|
|
762
|
+
COUNT(*) as file_count,
|
|
763
|
+
SUM(CAST(size AS BIGINT)) / 1024 / 1024 as total_size_mb,
|
|
764
|
+
AVG(CAST(size AS BIGINT)) / 1024 as avg_file_size_kb,
|
|
765
|
+
MIN(CAST(size AS BIGINT)) as min_size,
|
|
766
|
+
MAX(CAST(size AS BIGINT)) as max_size
|
|
767
|
+
FROM DIRECTORY(VOLUME mcp_demo.data_volume);
|
|
768
|
+
```
|
|
769
|
+
|
|
770
|
+
### 🔍 识别小文件问题
|
|
771
|
+
|
|
772
|
+
< 1048576 -- 小于1MB的文件
|
|
773
|
+
ORDER BY size_bytes ASC
|
|
774
|
+
LIMIT 20;
|
|
775
|
+
```
|
|
776
|
+
|
|
777
|
+
### 🔧 Volume文件合并策略
|
|
778
|
+
|
|
779
|
+
```sql
|
|
780
|
+
-- 1. 使用导出合并
|
|
781
|
+
-- 从多个小文件导入后再导出为单个大文件
|
|
782
|
+
COPY INTO consolidated_table
|
|
783
|
+
FROM VOLUME mcp_demo.data_volume
|
|
784
|
+
(id INT, name STRING, value DOUBLE)
|
|
785
|
+
USING CSV
|
|
786
|
+
SUBDIRECTORY 'small_files/';
|
|
787
|
+
|
|
788
|
+
COPY INTO VOLUME mcp_demo.data_volume
|
|
789
|
+
SUBDIRECTORY 'consolidated/'
|
|
790
|
+
FROM consolidated_table
|
|
791
|
+
FILE_FORMAT = (TYPE = PARQUET);
|
|
792
|
+
|
|
793
|
+
-- 2. 定期归档合并
|
|
794
|
+
-- 将旧数据合并为较大文件存档
|
|
795
|
+
COPY INTO archive_table
|
|
796
|
+
FROM VOLUME mcp_demo.data_volume
|
|
797
|
+
(id INT, name STRING, date_field DATE, value DOUBLE)
|
|
798
|
+
USING CSV
|
|
799
|
+
SUBDIRECTORY 'daily_data/'
|
|
800
|
+
FILES ('day_20240101.csv', 'day_20240102.csv', 'day_20240103.csv');
|
|
801
|
+
|
|
802
|
+
COPY INTO VOLUME mcp_demo.data_volume
|
|
803
|
+
SUBDIRECTORY 'archive/2024/01/'
|
|
804
|
+
FROM archive_table
|
|
805
|
+
FILE_FORMAT = (TYPE = PARQUET);
|
|
806
|
+
```
|
|
807
|
+
|
|
808
|
+
### 💡 Volume存储优化建议
|
|
809
|
+
|
|
810
|
+
1. **文件大小控制**: 单文件建议100MB-1GB之间
|
|
811
|
+
2. **合并策略**: 定期将同类小文件合并为大文件
|
|
812
|
+
3. **分层存储**: 将频繁访问文件和归档文件分开存储
|
|
813
|
+
4. **格式转换**: 将CSV等格式文件转换为Parquet格式
|
|
814
|
+
5. **定期清理**: 清理临时文件和过期数据
|
|
815
|
+
|
|
816
|
+
> **🔧 优化目标**:对于分析型工作负载,理想的Volume文件大小为128MB-1GB;对于频繁读写的操作型工作负载,文件大小可保持在32MB-128MB之间。
|
|
817
|
+
|
|
818
|
+
***
|
|
819
|
+
|
|
820
|
+
## 权限管理与安全控制
|
|
821
|
+
|
|
822
|
+
### 🔐 Volume权限体系
|
|
823
|
+
|
|
824
|
+
不同类型的Volume有不同的权限管理模式:
|
|
825
|
+
|
|
826
|
+
```sql
|
|
827
|
+
-- User Volume权限(用户默认拥有管理权限)
|
|
828
|
+
-- 无需额外授权,用户对自己的User Volume拥有完全控制权
|
|
829
|
+
|
|
830
|
+
-- Table Volume权限(与表权限联动)
|
|
831
|
+
-- 需要对应表的权限才能操作Table Volume:
|
|
832
|
+
-- SELECT 权限 → SHOW/LIST/GET 操作
|
|
833
|
+
-- INSERT/UPDATE/DELETE 权限 → PUT/REMOVE 操作
|
|
834
|
+
|
|
835
|
+
-- External Volume权限(需要显式授权)
|
|
836
|
+
GRANT READ VOLUME ON VOLUME schema_name.external_volume_name TO USER username;
|
|
837
|
+
GRANT WRITE VOLUME ON VOLUME schema_name.external_volume_name TO USER username;
|
|
838
|
+
GRANT ALL ON VOLUME schema_name.external_volume_name TO ROLE data_engineer;
|
|
839
|
+
```
|
|
840
|
+
|
|
841
|
+
### 👥 权限管理最佳实践
|
|
842
|
+
|
|
843
|
+
```sql
|
|
844
|
+
-- 创建角色化权限管理
|
|
845
|
+
CREATE ROLE data_reader;
|
|
846
|
+
CREATE ROLE data_writer;
|
|
847
|
+
CREATE ROLE data_admin;
|
|
848
|
+
|
|
849
|
+
-- 批量权限授予
|
|
850
|
+
GRANT READ VOLUME ON VOLUME schema_name.shared_volume TO ROLE data_reader;
|
|
851
|
+
GRANT READ VOLUME, WRITE VOLUME ON VOLUME schema_name.shared_volume TO ROLE data_writer;
|
|
852
|
+
GRANT ALL ON VOLUME schema_name.shared_volume TO ROLE data_admin;
|
|
853
|
+
|
|
854
|
+
-- 用户角色分配
|
|
855
|
+
GRANT ROLE data_reader TO USER analyst_team;
|
|
856
|
+
GRANT ROLE data_writer TO USER etl_team;
|
|
857
|
+
GRANT ROLE data_admin TO USER admin_user;
|
|
858
|
+
|
|
859
|
+
-- 查看Volume权限
|
|
860
|
+
SHOW GRANTS ON VOLUME schema_name.volume_name;
|
|
861
|
+
|
|
862
|
+
-- 查看用户权限
|
|
863
|
+
SHOW GRANTS TO USER username;
|
|
864
|
+
|
|
865
|
+
-- 回收权限
|
|
866
|
+
REVOKE WRITE VOLUME ON VOLUME schema_name.volume_name FROM USER username;
|
|
867
|
+
```
|
|
868
|
+
|
|
869
|
+
### 🛡️ 安全配置建议
|
|
870
|
+
|
|
871
|
+
```sql
|
|
872
|
+
-- 预签名URL安全设置
|
|
873
|
+
SET cz.sql.function.get.presigned.url.force.external=true; -- 仅在需要时启用
|
|
874
|
+
|
|
875
|
+
-- 定期权限审计
|
|
876
|
+
SHOW GRANTS ON VOLUME schema_name.volume_name;
|
|
877
|
+
```
|
|
878
|
+
|
|
879
|
+
> **🔒 安全原则**:对于生产环境,建议采用基于角色的权限管理模式,将Volume权限与用户角色绑定,避免直接对用户授权,便于后期权限维护。
|
|
880
|
+
|
|
881
|
+
***
|
|
882
|
+
|
|
883
|
+
## 成本优化建议
|
|
884
|
+
|
|
885
|
+
### 💰 存储成本优化
|
|
886
|
+
|
|
887
|
+
```sql
|
|
888
|
+
-- 存储空间分析
|
|
889
|
+
SELECT
|
|
890
|
+
volume_type,
|
|
891
|
+
file_format,
|
|
892
|
+
file_count,
|
|
893
|
+
ROUND(total_size_gb, 2) as size_gb,
|
|
894
|
+
ROUND(total_size_gb * 0.15, 2) as estimated_monthly_cost_usd -- 估算成本
|
|
895
|
+
FROM (
|
|
896
|
+
SELECT
|
|
897
|
+
'External Volume' as volume_type,
|
|
898
|
+
CASE
|
|
899
|
+
WHEN relative_path LIKE '%.parquet' THEN 'Parquet'
|
|
900
|
+
WHEN relative_path LIKE '%.csv' THEN 'CSV'
|
|
901
|
+
WHEN relative_path LIKE '%.json' THEN 'JSON'
|
|
902
|
+
ELSE 'Other'
|
|
903
|
+
END as file_format,
|
|
904
|
+
COUNT(*) as file_count,
|
|
905
|
+
SUM(CAST(size AS BIGINT)) / 1024 / 1024 / 1024 as total_size_gb
|
|
906
|
+
FROM DIRECTORY(VOLUME mcp_demo.data_volume)
|
|
907
|
+
GROUP BY
|
|
908
|
+
CASE
|
|
909
|
+
WHEN relative_path LIKE '%.parquet' THEN 'Parquet'
|
|
910
|
+
WHEN relative_path LIKE '%.csv' THEN 'CSV'
|
|
911
|
+
WHEN relative_path LIKE '%.json' THEN 'JSON'
|
|
912
|
+
ELSE 'Other'
|
|
913
|
+
END
|
|
914
|
+
) subq
|
|
915
|
+
ORDER BY total_size_gb DESC;
|
|
916
|
+
```
|
|
917
|
+
|
|
918
|
+
### 🌐 网络传输成本优化
|
|
919
|
+
|
|
920
|
+
1. **同Region部署**: 确保Lakehouse与Volume存储在同一区域
|
|
921
|
+
2. **内网传输**: 同云厂商同Region使用内网传输,避免公网费用
|
|
922
|
+
3. **批量操作**: 批量导入导出减少网络请求次数
|
|
923
|
+
|
|
924
|
+
### ⚡ 计算资源优化
|
|
925
|
+
|
|
926
|
+
```sql
|
|
927
|
+
-- 选择合适的计算集群类型
|
|
928
|
+
-- 批量数据处理:建议使用通用型计算集群 (GENERAL PURPOSE VIRTUAL CLUSTER)
|
|
929
|
+
-- 实时查询:使用分析型计算集群
|
|
930
|
+
|
|
931
|
+
-- 检查当前集群配置
|
|
932
|
+
SHOW VCLUSTERS;
|
|
933
|
+
|
|
934
|
+
-- 优化建议:
|
|
935
|
+
-- 1. 导入数据时使用通用型集群
|
|
936
|
+
-- 2. 启用自动小文件合并(仅通用型集群支持)
|
|
937
|
+
-- 3. 合理设置PIPE批处理参数
|
|
938
|
+
```
|
|
939
|
+
|
|
940
|
+
### 📊 成本监控建议
|
|
941
|
+
|
|
942
|
+
1. **定期存储审计**: 每月分析存储使用情况
|
|
943
|
+
2. **文件生命周期管理**: 设置数据归档和清理策略
|
|
944
|
+
3. **网络传输监控**: 监控跨Region数据传输量
|
|
945
|
+
|
|
946
|
+
> **💲 成本控制目标**:转换到Parquet格式可减少40-60%存储成本;合理的生命周期管理可减少20-30%的存储开销;使用内网传输可减少90%以上的网络传输费用。
|
|
947
|
+
|
|
948
|
+
***
|
|
949
|
+
|
|
950
|
+
## 常见问题与解决方案
|
|
951
|
+
|
|
952
|
+
### ❓ Volume访问问题
|
|
953
|
+
|
|
954
|
+
**问题**: 无法访问External Volume
|
|
955
|
+
|
|
956
|
+
```sql
|
|
957
|
+
-- 解决方案1:检查权限
|
|
958
|
+
SHOW GRANTS TO USER your_username;
|
|
959
|
+
|
|
960
|
+
-- 解决方案2:检查Volume状态
|
|
961
|
+
DESC VOLUME schema_name.volume_name;
|
|
962
|
+
|
|
963
|
+
-- 解决方案3:申请相应权限
|
|
964
|
+
-- 需要管理员执行:
|
|
965
|
+
-- GRANT READ VOLUME ON VOLUME schema_name.volume_name TO USER username;
|
|
966
|
+
```
|
|
967
|
+
|
|
968
|
+
**问题**: DIRECTORY函数不可用
|
|
969
|
+
|
|
970
|
+
```sql
|
|
971
|
+
-- 解决方案:检查Volume配置
|
|
972
|
+
DESC VOLUME schema_name.volume_name;
|
|
973
|
+
-- 确认 directory_enabled: 'true'
|
|
974
|
+
|
|
975
|
+
-- 如未启用,需要重新创建Volume时指定:
|
|
976
|
+
-- CREATE VOLUME ... DIRECTORY = (enable = TRUE);
|
|
977
|
+
```
|
|
978
|
+
|
|
979
|
+
### ❓ PIPE相关问题
|
|
980
|
+
|
|
981
|
+
**问题**: PIPE创建失败
|
|
982
|
+
|
|
983
|
+
```sql
|
|
984
|
+
-- 解决方案1:检查Virtual Cluster
|
|
985
|
+
SHOW VCLUSTERS;
|
|
986
|
+
ALTER VCLUSTER DEFAULT RESUME;
|
|
987
|
+
|
|
988
|
+
-- 解决方案2:确认使用External Volume
|
|
989
|
+
-- User Volume和Table Volume不支持PIPE
|
|
990
|
+
|
|
991
|
+
-- 解决方案3:检查权限
|
|
992
|
+
-- 需要对Volume和目标表的相应权限
|
|
993
|
+
```
|
|
994
|
+
|
|
995
|
+
**问题**: PIPE不工作或处理缓慢
|
|
996
|
+
|
|
997
|
+
```sql
|
|
998
|
+
-- 解决方案:优化PIPE参数
|
|
999
|
+
-- 注意:使用正确的语法暂停和恢复PIPE
|
|
1000
|
+
ALTER PIPE my_pipe SET PIPE_EXECUTION_PAUSED = true; -- 暂停
|
|
1001
|
+
ALTER PIPE my_pipe SET PIPE_EXECUTION_PAUSED = false; -- 恢复
|
|
1002
|
+
|
|
1003
|
+
-- 检查PIPE状态
|
|
1004
|
+
DESC PIPE my_pipe;
|
|
1005
|
+
```
|
|
1006
|
+
|
|
1007
|
+
### ❓ 性能相关问题
|
|
1008
|
+
|
|
1009
|
+
**问题**: LIST命令查询慢
|
|
1010
|
+
|
|
1011
|
+
```sql
|
|
1012
|
+
-- 解决方案1:使用正则表达式缩小范围
|
|
1013
|
+
LIST VOLUME mcp_demo.data_volume REGEXP = '.*2024.*\.csv';
|
|
1014
|
+
|
|
1015
|
+
-- 解决方案2:使用SUBDIRECTORY限定范围
|
|
1016
|
+
LIST VOLUME mcp_demo.data_volume SUBDIRECTORY 'recent_data/';
|
|
1017
|
+
|
|
1018
|
+
-- 解决方案3:限制返回结果(使用DIRECTORY函数)
|
|
1019
|
+
SELECT relative_path, size
|
|
1020
|
+
FROM DIRECTORY(VOLUME mcp_demo.data_volume)
|
|
1021
|
+
WHERE relative_path LIKE 'current_month/%'
|
|
1022
|
+
LIMIT 100;
|
|
1023
|
+
```
|
|
1024
|
+
|
|
1025
|
+
**问题**: 查询性能差,小文件过多
|
|
1026
|
+
|
|
1027
|
+
```sql
|
|
1028
|
+
-- 解决方案1:定期合并小文件
|
|
1029
|
+
-- 使用导入导出方式合并文件
|
|
1030
|
+
|
|
1031
|
+
-- 解决方案2:使用合适的文件格式
|
|
1032
|
+
-- 推荐使用Parquet格式存储分析数据
|
|
1033
|
+
```
|
|
1034
|
+
|
|
1035
|
+
### ❓ 数据质量问题
|
|
1036
|
+
|
|
1037
|
+
**问题**: 导入数据格式错误
|
|
1038
|
+
|
|
1039
|
+
```sql
|
|
1040
|
+
-- 解决方案:验证文件格式和表结构
|
|
1041
|
+
-- 1. 首先查看文件内容
|
|
1042
|
+
LIST USER VOLUME REGEXP = '.*\.csv';
|
|
1043
|
+
|
|
1044
|
+
-- 2. 使用小样本测试导入
|
|
1045
|
+
COPY INTO test_target
|
|
1046
|
+
FROM USER VOLUME
|
|
1047
|
+
USING CSV
|
|
1048
|
+
OPTIONS('header'='true')
|
|
1049
|
+
FILES ('sample.csv');
|
|
1050
|
+
```
|
|
1051
|
+
|
|
1052
|
+
**问题**: 文件意外被删除
|
|
1053
|
+
|
|
1054
|
+
```sql
|
|
1055
|
+
-- 预防方案:谨慎使用PURGE参数
|
|
1056
|
+
COPY INTO target_table
|
|
1057
|
+
FROM VOLUME my_volume
|
|
1058
|
+
USING CSV
|
|
1059
|
+
PURGE = FALSE; -- 保留源文件
|
|
1060
|
+
|
|
1061
|
+
-- 建议:重要数据使用备份策略
|
|
1062
|
+
COPY INTO TABLE VOLUME backup_table
|
|
1063
|
+
SUBDIRECTORY 'daily_backup/'
|
|
1064
|
+
FROM source_table
|
|
1065
|
+
FILE_FORMAT = (TYPE = PARQUET);
|
|
1066
|
+
```
|
|
1067
|
+
|
|
1068
|
+
***
|
|
1069
|
+
|
|
1070
|
+
## 核心操作速查表
|
|
1071
|
+
|
|
1072
|
+
### 基础命令
|
|
1073
|
+
|
|
1074
|
+
| 操作 | 命令示例 | 适用Volume类型 |
|
|
1075
|
+
| ----- | --------------------------------------------------------- | ---------- |
|
|
1076
|
+
| 列出文件 | `LIST USER VOLUME` | 所有 |
|
|
1077
|
+
| 过滤文件 | `LIST VOLUME vol_name REGEXP = '.*\.csv'` | 所有 |
|
|
1078
|
+
| 查看子目录 | `LIST VOLUME vol_name SUBDIRECTORY 'path/'` | 所有 |
|
|
1079
|
+
| 删除文件 | `REMOVE USER VOLUME FILE 'path/file.csv'` | 所有 |
|
|
1080
|
+
| 删除目录 | `REMOVE VOLUME vol_name SUBDIRECTORY 'path/'` | 所有 |
|
|
1081
|
+
| 生成URL | `SELECT GET_PRESIGNED_URL(USER VOLUME, 'file.csv', 3600)` | 所有 |
|
|
1082
|
+
|
|
1083
|
+
### 导入导出
|
|
1084
|
+
|
|
1085
|
+
| 操作 | 命令示例 | 说明 |
|
|
1086
|
+
| --------- | ---------------------------------------- | ------- |
|
|
1087
|
+
| 导出到Volume | `COPY INTO USER VOLUME FROM table_name` | 基础导出 |
|
|
1088
|
+
| 导出查询结果 | `COPY INTO USER VOLUME FROM (SELECT...)` | 支持复杂查询 |
|
|
1089
|
+
| 导入到表 | `COPY INTO table FROM USER VOLUME` | 基础导入 |
|
|
1090
|
+
| 清理源文件 | `COPY INTO table FROM vol PURGE = TRUE` | 导入后自动删除 |
|
|
1091
|
+
|
|
1092
|
+
### 权限管理
|
|
1093
|
+
|
|
1094
|
+
| 操作 | 命令示例 | 说明 |
|
|
1095
|
+
| ------ | -------------------------------------------- | ------ |
|
|
1096
|
+
| 授予读权限 | `GRANT READ VOLUME ON VOLUME vol TO USER u` | 允许读取文件 |
|
|
1097
|
+
| 授予写权限 | `GRANT WRITE VOLUME ON VOLUME vol TO USER u` | 允许写入文件 |
|
|
1098
|
+
| 授予全部权限 | `GRANT ALL ON VOLUME vol TO ROLE r` | 所有操作权限 |
|
|
1099
|
+
| 查看权限 | `SHOW GRANTS ON VOLUME vol_name` | 查看已授权 |
|
|
1100
|
+
|
|
1101
|
+
### 高级功能
|
|
1102
|
+
|
|
1103
|
+
| 操作 | 命令示例 | 前提条件 |
|
|
1104
|
+
| ------ | --------------------------------------------------- | ----------------------- |
|
|
1105
|
+
| 元数据查询 | `SELECT * FROM DIRECTORY(VOLUME vol)` | directory\_enabled=true |
|
|
1106
|
+
| 创建PIPE | `CREATE PIPE pipe_name AS COPY INTO...` | 使用External Volume |
|
|
1107
|
+
| 暂停PIPE | `ALTER PIPE pipe SET PIPE_EXECUTION_PAUSED = true` | PIPE已创建 |
|
|
1108
|
+
| 恢复PIPE | `ALTER PIPE pipe SET PIPE_EXECUTION_PAUSED = false` | PIPE已暂停 |
|
|
1109
|
+
|
|
1110
|
+
***
|
|
1111
|
+
|
|
1112
|
+
## 📚 文档总结
|
|
1113
|
+
|
|
1114
|
+
本文档全面介绍了云器Lakehouse Volume功能的最佳实践,从基础操作到高级应用,覆盖了不同使用场景下的优化策略和解决方案。主要收益包括:
|
|
1115
|
+
|
|
1116
|
+
* **简化数据管理**:统一的文件操作接口,跨存储系统的一致体验
|
|
1117
|
+
* **提高存储效率**:文件格式优化和小文件处理策略,大幅减少存储成本
|
|
1118
|
+
* **自动化数据流**:通过PIPE实现数据自动导入,无需人工干预
|
|
1119
|
+
* **增强数据安全**:精细化的权限控制和安全最佳实践
|
|
1120
|
+
* **性能优化**:提供查询性能优化和网络传输效率提升方案
|
|
1121
|
+
* **成本控制**:存储、计算和网络资源的成本优化建议
|
|
1122
|
+
|
|
1123
|
+
通过遵循本文档的建议,您可以构建高效、安全、经济的数据存储和处理系统,充分利用云器Lakehouse的强大功能。
|
|
1124
|
+
|
|
1125
|
+
> **🚀 实施建议**:从User Volume开始实践,掌握基本操作;然后配置External Volume实现与云存储的集成;最后实现自动化工作流和治理策略,构建完整的数据管理体系。
|
|
1126
|
+
|
|
1127
|
+
***
|
|
1128
|
+
|
|
1129
|
+
## 参考资料
|
|
1130
|
+
|
|
1131
|
+
* [COPY INTO Location参数说明](from_lakehouse_to_volume.md)
|
|
1132
|
+
* [COPY INTO Table参数说明](copy-into-table.md)
|
|
1133
|
+
* [GET\_PRESIGNED\_URL函数文档](GET_PRESIGNED_URL.md)
|
|
1134
|
+
* [数据湖JSON分析指南](discovery_analysis_data_in_json_file_on_external_volume.md)
|
|
1135
|
+
* [PIPE流式数据导入概述](pipe-summary.md)
|
|
1136
|
+
* [PIPE对象存储导入](pipe-storage-object.md)
|
|
1137
|
+
* [PIPE语法参考](pipe-syntax.md)
|
|
1138
|
+
|
|
1139
|
+
***
|
|
1140
|
+
|
|
1141
|
+
*注:本指南基于2025年5月的云器Lakehouse版本测试结果,后续版本可能有所变化。请定期检查官方文档以获取最新信息*。
|