@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,978 @@
|
|
|
1
|
+
# 任务参数
|
|
2
|
+
|
|
3
|
+
> 特别注意:参数功能目前处于灰度阶段,完整的功能仅对部分客户开放使用。可使用文末的方式来验证是否支持。
|
|
4
|
+
|
|
5
|
+
## 什么是任务参数
|
|
6
|
+
|
|
7
|
+
### 为什么需要参数?
|
|
8
|
+
|
|
9
|
+
在日常数据开发中,我们经常遇到这样的场景:
|
|
10
|
+
|
|
11
|
+
* 每天处理前一天的数据:`WHERE dt = '2023-09-21'`
|
|
12
|
+
* 每月统计上月数据:`WHERE month = '2023-08'`
|
|
13
|
+
* 查询特定城市数据:`WHERE city = 'Shanghai'`
|
|
14
|
+
|
|
15
|
+
如果把日期、城市等信息写死在代码中,任务运行时就无法动态适应变化。**任务参数**就是为了解决这个问题而设计的。
|
|
16
|
+
|
|
17
|
+
### 参数的核心价值
|
|
18
|
+
|
|
19
|
+
* **动态替换**:任务运行时自动替换参数值。
|
|
20
|
+
* **灵活配置**:支持常量、时间表达式、系统参数。
|
|
21
|
+
* **复用性强**:一次定义,多处使用。
|
|
22
|
+
* **易于维护**:修改参数无需改动代码逻辑。
|
|
23
|
+
|
|
24
|
+
### 基本概念
|
|
25
|
+
|
|
26
|
+
| 分类 | 概念名称 | 含义 | 示意 |
|
|
27
|
+
| ---- | -------- | -------------------------------------------------- | ------------------------------------ |
|
|
28
|
+
| 参数定义 | 自定义参数 | 指用户在代码中,自定义输入,引用的参数。其格式固定为 ${自定义参数名} | ${my\_param} |
|
|
29
|
+
| 参数赋值 | 常量 | 指固定不变的取值,比如字符串和数字,用于给自定义参数赋值 | abcd 或 1234 |
|
|
30
|
+
| 参数赋值 | 系统内置参数 | 指由系统内置的一系列参数表达式,用来方便用户获取需要通过计算获取的动态的信息,比如任务实例的计划时间 | sys\_plan\_datetime |
|
|
31
|
+
| 参数赋值 | 系统内置时间函数 | 指由系统内置的一系列函数表达式,用于对时间做一些常用的转换计算 | add\_months(yyyy-MM-dd HH\:mm\:ss,N) |
|
|
32
|
+
|
|
33
|
+
## 快速开始
|
|
34
|
+
|
|
35
|
+
### 三步快速上手
|
|
36
|
+
|
|
37
|
+
**第1步:在代码中使用参数**
|
|
38
|
+
|
|
39
|
+
```SQL
|
|
40
|
+
SELECT * FROM sales_table WHERE city = '${city}' AND dt = '${yesterday}';
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
**第2步:配置参数取值**
|
|
44
|
+
点击"参数"按钮,系统会自动识别出 `city` 和 `yesterday` 两个参数,为它们赋值:
|
|
45
|
+
|
|
46
|
+
* `city` = `Shanghai`
|
|
47
|
+
* `yesterday` = `$[yyyy-MM-dd, -1d]`
|
|
48
|
+
|
|
49
|
+
**第3步:运行验证**
|
|
50
|
+
点击“运行”,系统会将参数替换后执行:
|
|
51
|
+
|
|
52
|
+
```SQL
|
|
53
|
+
SELECT * FROM sales_table WHERE city = 'Shanghai' AND dt = '2023-09-21';
|
|
54
|
+
|
|
55
|
+
-- 假设今天是2023-09-22
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
### 关键要点
|
|
59
|
+
|
|
60
|
+
* 参数格式固定为:`${参数名}`。
|
|
61
|
+
* 参数名只能包含字母、数字、下划线。
|
|
62
|
+
* 参数要在定义中使用内置参数或时间表达式等赋值,然后在代码中引用。不能在代码中直接引用内置参数。
|
|
63
|
+
* 参数替换时,只替换 `${}` 内的内容。
|
|
64
|
+
* 如需在SQL中加引号,需自行添加,比如:`'${city}'`。
|
|
65
|
+
|
|
66
|
+
## 参数类型与作用域
|
|
67
|
+
|
|
68
|
+
系统提供两种参数类型,支持不同的使用场景:
|
|
69
|
+
|
|
70
|
+
### 任务参数
|
|
71
|
+
|
|
72
|
+
**特点**:
|
|
73
|
+
|
|
74
|
+
* 作用范围:仅当前任务
|
|
75
|
+
* 使用场景:任务特定的配置
|
|
76
|
+
|
|
77
|
+
**适用情况**:
|
|
78
|
+
|
|
79
|
+
* 单个任务独有的参数
|
|
80
|
+
* 需要精细控制的场景
|
|
81
|
+
* 临时性的参数配置
|
|
82
|
+
|
|
83
|
+
**创建方式**:
|
|
84
|
+
方式一:在脚本中输入 ${自定义参数} 后,系统会自动将自定义参数添加至「参数」弹窗内。
|
|
85
|
+
方式二:点击「参数」按钮,在弹窗内输入信息。
|
|
86
|
+
|
|
87
|
+

|
|
88
|
+
|
|
89
|
+
| 配置项 | 说明 | 示例 |
|
|
90
|
+
| ---- | ------------ | ---------------------------- |
|
|
91
|
+
| 参数名称 | 参数的唯一标识 | city、yesterday |
|
|
92
|
+
| 取值来源 | 选择"任务"或"任务组" | 任务 |
|
|
93
|
+
| 参数取值 | 参数的实际值 | Shanghai、$\[yyyy-MM-dd, -1d] |
|
|
94
|
+
| 加密取值 | 勾选后取值以密文显示 | 用于密码等敏感信息 |
|
|
95
|
+
| 是否忽略 | 勾选后不进行参数替换 | 将 ${var} 作为普通文本 |
|
|
96
|
+
|
|
97
|
+
**示例**:
|
|
98
|
+
```SQL
|
|
99
|
+
-- 在某个具体任务中使用
|
|
100
|
+
|
|
101
|
+
SELECT * FROM table WHERE status = '${task_status}';
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### 任务组参数
|
|
105
|
+
|
|
106
|
+
**特点**:
|
|
107
|
+
|
|
108
|
+
* 作用范围:任务组内所有任务
|
|
109
|
+
* 使用场景:多任务共享的配置
|
|
110
|
+
|
|
111
|
+
**适用情况**:
|
|
112
|
+
|
|
113
|
+
* 多个任务共用的参数(如项目代码、环境标识)
|
|
114
|
+
* 全局性的配置(如数据库名称)
|
|
115
|
+
* 需要统一管理的参数
|
|
116
|
+
|
|
117
|
+
**创建方式**:
|
|
118
|
+
在任务组页面点击「参数」,在弹框中点击「新建」,填写参数名称、参数值。
|
|
119
|
+
|
|
120
|
+

|
|
121
|
+
|
|
122
|
+
如果要在具体任务中使用任务组参数,需要在任务参数定义的取值来源中做显式切换,指明该参数取值来源于任务组。
|
|
123
|
+
|
|
124
|
+

|
|
125
|
+
|
|
126
|
+
**示例**:
|
|
127
|
+
```SQL
|
|
128
|
+
-- 任务组参数:db_name = warehouse_prod
|
|
129
|
+
|
|
130
|
+
-- 任务A
|
|
131
|
+
SELECT * FROM ${db_name}.table_a;
|
|
132
|
+
|
|
133
|
+
-- 任务B
|
|
134
|
+
SELECT * FROM ${db_name}.table_b;
|
|
135
|
+
|
|
136
|
+
-- 两个任务都使用同一个db_name参数
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
## 参数两种配置方法
|
|
140
|
+
|
|
141
|
+
### 方法一:基于代码自动识别
|
|
142
|
+
|
|
143
|
+
直接在脚本中输入 `${参数名}`,系统会自动识别并添加到参数列表。
|
|
144
|
+
|
|
145
|
+
**优点**:快速、直观,参数名不易拼写错误。
|
|
146
|
+
```SQL
|
|
147
|
+
-- 输入以下代码
|
|
148
|
+
SELECT * FROM table WHERE city = '${city}' AND dt = '${dt}';
|
|
149
|
+
-- 系统自动识别出 city 和 dt 两个参数
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
### 方法二:手动创建后再使用
|
|
153
|
+
|
|
154
|
+
点击"参数"按钮,在弹窗中点击"新建",手动输入参数信息。
|
|
155
|
+
|
|
156
|
+
**优点**:可以提前定义参数,适合规划性强的场景。
|
|
157
|
+
|
|
158
|
+
## 参数在不同运行方式下的作用效果
|
|
159
|
+
|
|
160
|
+
### 临时运行(点击"运行"按钮)
|
|
161
|
+
|
|
162
|
+
* 弹窗提示输入参数值
|
|
163
|
+
|
|
164
|
+

|
|
165
|
+
|
|
166
|
+
* 本次运行生效,不影响已保存的参数配置
|
|
167
|
+
|
|
168
|
+
* 适合调试和验证
|
|
169
|
+
|
|
170
|
+
### 周期调度运行(自动定时调度)
|
|
171
|
+
|
|
172
|
+
* 使用已保存的参数配置
|
|
173
|
+
* 根据调度时间动态计算参数值
|
|
174
|
+
* 适合生产环境
|
|
175
|
+
|
|
176
|
+
## 系统内置参数
|
|
177
|
+
|
|
178
|
+
系统预置了一系列常用参数,可直接用于参数赋值,无需手动计算。
|
|
179
|
+
|
|
180
|
+
请特别注意内置参数无法在代码中被直接引用。
|
|
181
|
+
|
|
182
|
+
### 日期时间类参数
|
|
183
|
+
|
|
184
|
+
| 参数名 | 格式 | 说明 | 示例(基准时间2023-09-22 18:00:00) |
|
|
185
|
+
| -------------------- | --------------------- | ------------- | --------------------------- |
|
|
186
|
+
| bizdate | yyyyMMdd | 业务日期(计划时间-1天) | 20230921 |
|
|
187
|
+
| sys\_biz\_day | yyyy-MM-dd | 业务日期 | 2023-09-21 |
|
|
188
|
+
| sys\_biz\_datetime | yyyy-MM-dd HH\:mm\:ss | 业务时间 | 2023-09-21 18:00:00 |
|
|
189
|
+
| sys\_plan\_day | yyyy-MM-dd | 计划日期 | 2023-09-22 |
|
|
190
|
+
| sys\_plan\_datetime | yyyy-MM-dd HH\:mm\:ss | 计划时间 | 2023-09-22 18:00:00 |
|
|
191
|
+
| sys\_plan\_timestamp | 13位时间戳 | 计划时间戳(毫秒) | 1695463200000 |
|
|
192
|
+
|
|
193
|
+
### 任务信息类参数
|
|
194
|
+
|
|
195
|
+
| 参数名 | 说明 | 示例 | 注意事项 |
|
|
196
|
+
| ---------------- | ----- | ---------- | -------- |
|
|
197
|
+
| sys\_task\_id | 任务ID | 1002 | 仅调度运行时支持 |
|
|
198
|
+
| sys\_task\_name | 任务名称 | demo\_task | 仅调度运行时支持 |
|
|
199
|
+
| sys\_task\_owner | 任务负责人 | UAT\_TEST | 仅调度运行时支持 |
|
|
200
|
+
|
|
201
|
+
### 使用示例
|
|
202
|
+
|
|
203
|
+
```SQL
|
|
204
|
+
-- 示例1:使用业务日期
|
|
205
|
+
SELECT * FROM table WHERE dt = '${dt}';
|
|
206
|
+
-- 参数配置:dt = sys_biz_day
|
|
207
|
+
-- 调度时间2023-09-22,实际执行:WHERE dt = '2023-09-21'
|
|
208
|
+
|
|
209
|
+
-- 示例2:使用计划时间戳
|
|
210
|
+
SELECT * FROM table WHERE create_time >= ${start_ts};
|
|
211
|
+
-- 参数配置:start_ts = sys_plan_timestamp
|
|
212
|
+
-- 结果:WHERE create_time >= 1695463200000
|
|
213
|
+
|
|
214
|
+
-- 示例3:Python任务中使用
|
|
215
|
+
task_id = '${task_id}'
|
|
216
|
+
print(f"当前任务ID: {task_id}")
|
|
217
|
+
-- 参数配置:task_id = sys_task_id
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
### 使用建议
|
|
221
|
+
|
|
222
|
+
1. **业务日期场景**:优先使用 `bizdate` 或 `sys_biz_day`
|
|
223
|
+
2. **需要时分秒**:使用 `sys_biz_datetime` 或 `sys_plan_datetime`
|
|
224
|
+
3. **时间戳计算**:使用 `sys_plan_timestamp`
|
|
225
|
+
4. **审计日志**:使用 `sys_task_*` 系列参数记录任务信息
|
|
226
|
+
|
|
227
|
+
***
|
|
228
|
+
|
|
229
|
+
## 时间表达式详解
|
|
230
|
+
|
|
231
|
+
时间表达式是参数系统的核心功能,支持灵活的时间格式化和偏移计算。
|
|
232
|
+
|
|
233
|
+
### 基础语法
|
|
234
|
+
|
|
235
|
+
```Plain
|
|
236
|
+
$[时间格式] # 基本格式化
|
|
237
|
+
$[时间格式, 偏移量] # 带偏移量
|
|
238
|
+
$[时间格式, 偏移1, 偏移2, ...] # 多个偏移量
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
### 时间格式元素
|
|
242
|
+
|
|
243
|
+
时间表达式遵循 **ISO-8601 标准**,严格区分大小写。
|
|
244
|
+
|
|
245
|
+
| 元素 | 含义 | 示例 |
|
|
246
|
+
| ---- | -------------- | ------ |
|
|
247
|
+
| yyyy | 四位年份 | 2023 |
|
|
248
|
+
| yy | 两位年份 | 23 |
|
|
249
|
+
| MM | 两位月份(01-12) | 9 |
|
|
250
|
+
| dd | 两位日期(01-31) | 22 |
|
|
251
|
+
| HH | 24小时制小时(00-23) | 18 |
|
|
252
|
+
| mm | 分钟(00-59) | 59 |
|
|
253
|
+
| ss | 秒(00-59) | 49 |
|
|
254
|
+
| .SSS | 毫秒 | 0.377 |
|
|
255
|
+
| ZZ | 时区 | +08:00 |
|
|
256
|
+
|
|
257
|
+
### 常用格式组合
|
|
258
|
+
|
|
259
|
+
```SQL
|
|
260
|
+
$[yyyy-MM-dd] → 2023-09-22
|
|
261
|
+
$[yyyyMMdd] → 20230922
|
|
262
|
+
$[yyyy/MM/dd] → 2023/09/22
|
|
263
|
+
$[yyyy-MM-dd HH:mm:ss] → 2023-09-22 18:00:00
|
|
264
|
+
$[yyyyMMddHHmmss] → 20230922180000
|
|
265
|
+
$[HH:mm:ss] → 18:00:00
|
|
266
|
+
$[yyyy-MM-dd HH:mm:ss.SSSZZ] → 2023-09-22 18:00:00.377+08:00
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
### 常见错误
|
|
270
|
+
|
|
271
|
+
```SQL
|
|
272
|
+
❌ $[YYYY-MM-DD] # 大写Y不支持
|
|
273
|
+
❌ $[yyyy-mm-dd] # 小写m是分钟不是月份
|
|
274
|
+
❌ $[yyyy-MM-dd hh:mm:ss] # 小写h是12小时制
|
|
275
|
+
✅ $[yyyy-MM-dd HH:mm:ss] # 正确写法
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
### 时间偏移量
|
|
279
|
+
|
|
280
|
+
支持对时间进行增减操作,使用直观的单位缩写。
|
|
281
|
+
|
|
282
|
+
| 单位 | 缩写 | 全称 | 示例 |
|
|
283
|
+
| -- | --- | ----------------- | ----- |
|
|
284
|
+
| 毫秒 | ms | milli/millisecond | 400ms |
|
|
285
|
+
| 秒 | s | sec/second | 400s |
|
|
286
|
+
| 分钟 | m | min/minute | 3m |
|
|
287
|
+
| 小时 | h | hour | 1h |
|
|
288
|
+
| 天 | d | day | 2d |
|
|
289
|
+
| 月 | mon | month | 1mon |
|
|
290
|
+
| 年 | y | year | -1y |
|
|
291
|
+
|
|
292
|
+
### 偏移量示例
|
|
293
|
+
|
|
294
|
+
```SQL
|
|
295
|
+
-- 单个偏移量
|
|
296
|
+
$[yyyy-MM-dd, -1d] → 昨天
|
|
297
|
+
$[yyyy-MM-dd, 1d] → 明天
|
|
298
|
+
$[yyyy-MM-dd, -1mon] → 上个月今天
|
|
299
|
+
$[yyyy-MM-dd, -1y] → 去年今天
|
|
300
|
+
$[HH:mm:ss, -1h] → 1小时前
|
|
301
|
+
$[HH:mm:ss, 30m] → 30分钟后
|
|
302
|
+
|
|
303
|
+
-- 多个偏移量(按顺序依次计算)
|
|
304
|
+
$[yyyy-MM-dd, -1y, -1mon, -1d] → 去年上个月昨天
|
|
305
|
+
$[yyyy-MM-dd HH:mm:ss, -1d, -2h, -30m] → 昨天减2小时再减30分钟
|
|
306
|
+
$[yyyyMMdd, 1mon, -7d] → 下月退7天
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
### 完整示例
|
|
310
|
+
|
|
311
|
+
假设当前计划时间为:**2023-09-22 18:30:00**
|
|
312
|
+
|
|
313
|
+
```SQL
|
|
314
|
+
-- 基础格式
|
|
315
|
+
SELECT '${today}' as today;
|
|
316
|
+
-- 参数配置:today = $[yyyy-MM-dd]
|
|
317
|
+
-- 结果:2023-09-22
|
|
318
|
+
|
|
319
|
+
-- 昨天
|
|
320
|
+
SELECT '${yesterday}' as yesterday;
|
|
321
|
+
-- 参数配置:yesterday = $[yyyy-MM-dd, -1d]
|
|
322
|
+
-- 结果:2023-09-21
|
|
323
|
+
|
|
324
|
+
-- 上月同一天
|
|
325
|
+
SELECT '${last_month}' as last_month;
|
|
326
|
+
-- 参数配置:last_month = $[yyyy-MM-dd, -1mon]
|
|
327
|
+
-- 结果:2023-08-22
|
|
328
|
+
|
|
329
|
+
-- 去年昨天
|
|
330
|
+
SELECT '${last_year_yesterday}' as last_year_yesterday;
|
|
331
|
+
-- 参数配置:last_year_yesterday = $[yyyy-MM-dd, -1y, -1d]
|
|
332
|
+
-- 结果:2022-09-21
|
|
333
|
+
|
|
334
|
+
-- 时分秒
|
|
335
|
+
SELECT '${current_time}' as current_time;
|
|
336
|
+
-- 参数配置:current_time = $[HH:mm:ss]
|
|
337
|
+
-- 结果:18:30:00
|
|
338
|
+
|
|
339
|
+
-- 1小时前
|
|
340
|
+
SELECT '${one_hour_ago}' as one_hour_ago;
|
|
341
|
+
-- 参数配置:one_hour_ago = $[HH:mm:ss, -1h]
|
|
342
|
+
-- 结果:17:30:00
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
***
|
|
346
|
+
|
|
347
|
+
## 内置时间函数
|
|
348
|
+
|
|
349
|
+
除了时间表达式,系统还提供了丰富的时间函数,用于处理更复杂的时间计算场景。
|
|
350
|
+
|
|
351
|
+
### 月份相关函数
|
|
352
|
+
|
|
353
|
+
#### `first_day_of_month()` - 当月第一天
|
|
354
|
+
|
|
355
|
+
**语法**:
|
|
356
|
+
|
|
357
|
+
```Plain
|
|
358
|
+
first_day_of_month() # 默认格式 yyyy-MM-dd
|
|
359
|
+
first_day_of_month(format) # 指定格式
|
|
360
|
+
first_day_of_month(format, duration) # 带偏移量
|
|
361
|
+
```
|
|
362
|
+
|
|
363
|
+
**示例**:
|
|
364
|
+
```SQL
|
|
365
|
+
-- 当月第一天
|
|
366
|
+
SELECT '${month_start}' as month_start;
|
|
367
|
+
-- 参数配置:month_start = first_day_of_month()
|
|
368
|
+
-- 假设当前2023-09-22,结果:2023-09-01
|
|
369
|
+
|
|
370
|
+
-- 上月第一天
|
|
371
|
+
SELECT '${last_month_start}' as last_month_start;
|
|
372
|
+
-- 参数配置:last_month_start = first_day_of_month('yyyy-MM-dd', '-1mon')
|
|
373
|
+
-- 结果:2023-08-01
|
|
374
|
+
|
|
375
|
+
-- 自定义格式
|
|
376
|
+
SELECT '${month_start_yyyymmdd}' as month_start_yyyymmdd;
|
|
377
|
+
-- 参数配置:month_start_yyyymmdd = first_day_of_month('yyyyMMdd')
|
|
378
|
+
-- 结果:20230901
|
|
379
|
+
```
|
|
380
|
+
|
|
381
|
+
#### `last_day_of_month()` - 当月最后一天
|
|
382
|
+
|
|
383
|
+
**语法**:
|
|
384
|
+
|
|
385
|
+
```Plain
|
|
386
|
+
last_day_of_month() # 默认格式 yyyy-MM-dd
|
|
387
|
+
last_day_of_month(format) # 指定格式
|
|
388
|
+
last_day_of_month(format, duration) # 带偏移量
|
|
389
|
+
```
|
|
390
|
+
|
|
391
|
+
**示例**:
|
|
392
|
+
```SQL
|
|
393
|
+
-- 当月最后一天
|
|
394
|
+
SELECT '${month_end}' as month_end;
|
|
395
|
+
-- 参数配置:month_end = last_day_of_month()
|
|
396
|
+
-- 假设当前2023-09-22,结果:2023-09-30
|
|
397
|
+
|
|
398
|
+
-- 上月最后一天
|
|
399
|
+
SELECT '${last_month_end}' as last_month_end;
|
|
400
|
+
-- 参数配置:last_month_end = last_day_of_month('yyyy-MM-dd', '-1mon')
|
|
401
|
+
-- 结果:2023-08-31
|
|
402
|
+
|
|
403
|
+
-- 用于月报统计
|
|
404
|
+
SELECT * FROM table WHERE dt BETWEEN '${month_start}' AND '${month_end}';
|
|
405
|
+
-- month_start = first_day_of_month()
|
|
406
|
+
-- month_end = last_day_of_month()
|
|
407
|
+
```
|
|
408
|
+
|
|
409
|
+
### 周相关函数
|
|
410
|
+
|
|
411
|
+
系统中**周一为每周第一天,周日为最后一天**。
|
|
412
|
+
|
|
413
|
+
#### `first_day_of_week()` - 当周第一天(周一)
|
|
414
|
+
|
|
415
|
+
**语法**:
|
|
416
|
+
|
|
417
|
+
```Plain
|
|
418
|
+
first_day_of_week() # 默认格式 yyyy-MM-dd
|
|
419
|
+
first_day_of_week(format) # 指定格式
|
|
420
|
+
first_day_of_week(format, duration) # 带偏移量
|
|
421
|
+
```
|
|
422
|
+
|
|
423
|
+
**示例**:
|
|
424
|
+
|
|
425
|
+
```SQL
|
|
426
|
+
-- 本周一
|
|
427
|
+
SELECT '${week_start}' as week_start;
|
|
428
|
+
-- 参数配置:week_start = first_day_of_week()
|
|
429
|
+
-- 假设当前2023-09-22(周五),结果:2023-09-18
|
|
430
|
+
|
|
431
|
+
-- 上周一
|
|
432
|
+
SELECT '${last_week_start}' as last_week_start;
|
|
433
|
+
-- 参数配置:last_week_start = first_day_of_week('yyyy-MM-dd', '-1w')
|
|
434
|
+
-- 结果:2023-09-11
|
|
435
|
+
```
|
|
436
|
+
|
|
437
|
+
#### `last_day_of_week()` - 当周最后一天(周日)
|
|
438
|
+
|
|
439
|
+
**语法**:
|
|
440
|
+
|
|
441
|
+
```Plain
|
|
442
|
+
last_day_of_week() # 默认格式 yyyy-MM-dd
|
|
443
|
+
last_day_of_week(format) # 指定格式
|
|
444
|
+
last_day_of_week(format, duration) # 带偏移量
|
|
445
|
+
```
|
|
446
|
+
|
|
447
|
+
**示例**:
|
|
448
|
+
```SQL
|
|
449
|
+
-- 本周日
|
|
450
|
+
SELECT '${week_end}' as week_end;
|
|
451
|
+
-- 参数配置:week_end = last_day_of_week()
|
|
452
|
+
-- 假设当前2023-09-22(周五),结果:2023-09-24
|
|
453
|
+
|
|
454
|
+
-- 上周日
|
|
455
|
+
SELECT '${last_week_end}' as last_week_end;
|
|
456
|
+
-- 参数配置:last_week_end = last_day_of_week('yyyy-MM-dd', '-1w')
|
|
457
|
+
-- 结果:2023-09-17
|
|
458
|
+
|
|
459
|
+
-- 用于周报统计
|
|
460
|
+
SELECT * FROM table WHERE dt BETWEEN '${week_start}' AND '${week_end}';
|
|
461
|
+
-- week_start = first_day_of_week()
|
|
462
|
+
-- week_end = last_day_of_week()
|
|
463
|
+
```
|
|
464
|
+
|
|
465
|
+
#### `day_of_week()` - 返回是周几
|
|
466
|
+
|
|
467
|
+
**语法**:
|
|
468
|
+
|
|
469
|
+
```Plain
|
|
470
|
+
day_of_week() # 今天是周几
|
|
471
|
+
day_of_week(duration) # 偏移后是周几
|
|
472
|
+
```
|
|
473
|
+
|
|
474
|
+
**返回值**:整数 1-7(1=周一,7=周日)
|
|
475
|
+
|
|
476
|
+
**示例**:
|
|
477
|
+
```SQL
|
|
478
|
+
-- 判断今天是周几
|
|
479
|
+
SELECT ${weekday} as weekday;
|
|
480
|
+
-- 参数配置:weekday = day_of_week()
|
|
481
|
+
-- 假设今天是2023-09-25(周一),结果:1
|
|
482
|
+
|
|
483
|
+
-- 昨天是周几
|
|
484
|
+
SELECT ${yesterday_weekday} as yesterday_weekday;
|
|
485
|
+
-- 参数配置:yesterday_weekday = day_of_week('-1d')
|
|
486
|
+
-- 结果:7(周日)
|
|
487
|
+
|
|
488
|
+
-- Python中使用
|
|
489
|
+
weekday = ${weekday}
|
|
490
|
+
if weekday == 1:
|
|
491
|
+
print("今天是周一")
|
|
492
|
+
-- 参数配置:weekday = day_of_week()
|
|
493
|
+
```
|
|
494
|
+
|
|
495
|
+
#### `get_day_of_week()` - 获取指定周几的日期
|
|
496
|
+
|
|
497
|
+
**语法**:
|
|
498
|
+
|
|
499
|
+
```Plain
|
|
500
|
+
get_day_of_week(format, whichDay) # 本周的周几
|
|
501
|
+
get_day_of_week(format, whichDay, duration) # 偏移后那周的周几
|
|
502
|
+
```
|
|
503
|
+
|
|
504
|
+
**参数说明**:
|
|
505
|
+
|
|
506
|
+
* `format`:返回日期的格式
|
|
507
|
+
* `whichDay`:1-7,表示周一到周日
|
|
508
|
+
* `duration`:可选,时间偏移量
|
|
509
|
+
|
|
510
|
+
**示例**:
|
|
511
|
+
```SQL
|
|
512
|
+
-- 本周二
|
|
513
|
+
SELECT '${this_tuesday}' as this_tuesday;
|
|
514
|
+
-- 参数配置:this_tuesday = get_day_of_week('yyyy-MM-dd', 2)
|
|
515
|
+
-- 假设当前2023-09-22(周五),结果:2023-09-19
|
|
516
|
+
|
|
517
|
+
-- 上周三
|
|
518
|
+
SELECT '${last_wednesday}' as last_wednesday;
|
|
519
|
+
-- 参数配置:last_wednesday = get_day_of_week('yyyy-MM-dd', 3, '-1w')
|
|
520
|
+
-- 结果:2023-09-13-- 下周五SELECT '${next_friday}' as next_friday;
|
|
521
|
+
-- 参数配置:next_friday = get_day_of_week('yyyy-MM-dd', 5, '1w')
|
|
522
|
+
-- 结果:2023-09-29
|
|
523
|
+
|
|
524
|
+
-- 昨天所在周的周二
|
|
525
|
+
SELECT '${tuesday_of_yesterday_week}' as tuesday_of_yesterday_week;
|
|
526
|
+
-- 参数配置:tuesday_of_yesterday_week = get_day_of_week('yyyy-MM-dd', 2, '-1d')
|
|
527
|
+
-- 假设今天2023-09-25(周一),昨天2023-09-24(周日),昨天所在周是上周
|
|
528
|
+
-- 结果:2023-09-19
|
|
529
|
+
```
|
|
530
|
+
|
|
531
|
+
#### `week_of_month()` - 本月第几周
|
|
532
|
+
|
|
533
|
+
**语法**:
|
|
534
|
+
|
|
535
|
+
```Plain
|
|
536
|
+
week_of_month() # 今天在本月第几周
|
|
537
|
+
week_of_month(duration) # 偏移后在当月第几周
|
|
538
|
+
```
|
|
539
|
+
|
|
540
|
+
**返回值**:整数,表示在当月的第几周
|
|
541
|
+
|
|
542
|
+
**示例**:
|
|
543
|
+
```SQL
|
|
544
|
+
-- 今天是本月第几周
|
|
545
|
+
SELECT ${week_num} as week_num;
|
|
546
|
+
-- 参数配置:week_num = week_of_month()
|
|
547
|
+
-- 假设今天2023-09-22,结果:4(第4周)
|
|
548
|
+
|
|
549
|
+
-- 上月今天是第几周
|
|
550
|
+
SELECT ${last_month_week} as last_month_week;
|
|
551
|
+
-- 参数配置:last_month_week = week_of_month('-1mon')
|
|
552
|
+
```
|
|
553
|
+
|
|
554
|
+
#### `week_of_year()` - 本年第几周
|
|
555
|
+
|
|
556
|
+
**语法**:
|
|
557
|
+
|
|
558
|
+
```Plain
|
|
559
|
+
week_of_year() # 今天在本年第几周
|
|
560
|
+
week_of_year(duration) # 偏移后在当年第几周
|
|
561
|
+
```
|
|
562
|
+
|
|
563
|
+
**返回值**:整数,表示在当年的第几周
|
|
564
|
+
|
|
565
|
+
**示例**:
|
|
566
|
+
```SQL
|
|
567
|
+
-- 今天是本年第几周
|
|
568
|
+
SELECT ${week_of_year} as week_of_year;
|
|
569
|
+
-- 参数配置:week_of_year = week_of_year()
|
|
570
|
+
-- 假设今天2023-09-22,结果:38(第38周)
|
|
571
|
+
-- 去年今天是第几周SELECT ${last_year_week} as last_year_week;
|
|
572
|
+
-- 参数配置:last_year_week = week_of_year('-1y')
|
|
573
|
+
```
|
|
574
|
+
|
|
575
|
+
### 时间戳函数
|
|
576
|
+
|
|
577
|
+
#### `timestamp()` - 毫秒时间戳
|
|
578
|
+
|
|
579
|
+
**语法**:
|
|
580
|
+
|
|
581
|
+
```Plain
|
|
582
|
+
timestamp() # 当前计划时间戳
|
|
583
|
+
timestamp(offset1, offset2, ...) # 带偏移量的时间戳
|
|
584
|
+
```
|
|
585
|
+
|
|
586
|
+
**返回值**:13位毫秒时间戳
|
|
587
|
+
|
|
588
|
+
**示例**:
|
|
589
|
+
```SQL
|
|
590
|
+
-- 当前时间戳
|
|
591
|
+
SELECT ${current_ts} as current_ts;
|
|
592
|
+
-- 参数配置:current_ts = timestamp()
|
|
593
|
+
-- 假设当前2023-09-22 18:00:00,结果:1695463200000
|
|
594
|
+
|
|
595
|
+
-- 昨天此刻时间戳
|
|
596
|
+
SELECT ${yesterday_ts} as yesterday_ts;
|
|
597
|
+
-- 参数配置:yesterday_ts = timestamp(-1d)
|
|
598
|
+
-- 结果:1695376800000
|
|
599
|
+
|
|
600
|
+
-- 一周前减2小时的时间戳
|
|
601
|
+
SELECT ${ts} as ts;
|
|
602
|
+
-- 参数配置:ts = timestamp(-1w, -2h)
|
|
603
|
+
```
|
|
604
|
+
|
|
605
|
+
#### `biz_timestamp()` - 业务时间戳(基于00:00:00)
|
|
606
|
+
|
|
607
|
+
**语法**:
|
|
608
|
+
|
|
609
|
+
```Plain
|
|
610
|
+
biz_timestamp() # 今天00:00:00时间戳
|
|
611
|
+
biz_timestamp(offset1, offset2, ...) # 带偏移量
|
|
612
|
+
```
|
|
613
|
+
|
|
614
|
+
**返回值**:13位毫秒时间戳,基于当天00:00:00计算
|
|
615
|
+
|
|
616
|
+
**示例**:
|
|
617
|
+
< ${end} |
|
|
618
|
+
| 审计日志 | sys\_plan\_datetime | 记录任务执行时间 |
|
|
619
|
+
|
|
620
|
+
***
|
|
621
|
+
|
|
622
|
+
## 快速参考表
|
|
623
|
+
|
|
624
|
+
### 常用时间参数速查
|
|
625
|
+
|
|
626
|
+
| 需求 | 参数配置 | 示例结果(基准2023-09-22) |
|
|
627
|
+
| ------ | -------------------------------------------- | ------------------ |
|
|
628
|
+
| 今天 | $\[yyyy-MM-dd] 或 sys\_plan\_day | 2023/9/22 |
|
|
629
|
+
| 昨天 | $\[yyyy-MM-dd, -1d] 或 sys\_biz\_day | 2023/9/21 |
|
|
630
|
+
| 明天 | $\[yyyy-MM-dd, 1d] | 2023/9/23 |
|
|
631
|
+
| 上周同一天 | $\[yyyy-MM-dd, -7d] | 2023/9/15 |
|
|
632
|
+
| 上月同一天 | $\[yyyy-MM-dd, -1mon] | 2023/8/22 |
|
|
633
|
+
| 去年同一天 | $\[yyyy-MM-dd, -1y] | 2022/9/22 |
|
|
634
|
+
| 本月第一天 | first\_day\_of\_month() | 2023/9/1 |
|
|
635
|
+
| 本月最后一天 | last\_day\_of\_month() | 2023/9/30 |
|
|
636
|
+
| 上月第一天 | first\_day\_of\_month('yyyy-MM-dd', '-1mon') | 2023/8/1 |
|
|
637
|
+
| 上月最后一天 | last\_day\_of\_month('yyyy-MM-dd', '-1mon') | 2023/8/31 |
|
|
638
|
+
| 本周一 | first\_day\_of\_week() | 2023/9/18 |
|
|
639
|
+
| 本周日 | last\_day\_of\_week() | 2023/9/24 |
|
|
640
|
+
| 上周一 | first\_day\_of\_week('yyyy-MM-dd', '-1w') | 2023/9/11 |
|
|
641
|
+
| 上周日 | last\_day\_of\_week('yyyy-MM-dd', '-1w') | 2023/9/17 |
|
|
642
|
+
| 本周二 | get\_day\_of\_week('yyyy-MM-dd', 2) | 2023/9/19 |
|
|
643
|
+
| 上周三 | get\_day\_of\_week('yyyy-MM-dd', 3, '-1w') | 2023/9/13 |
|
|
644
|
+
| 去年昨天 | $\[yyyy-MM-dd, -1y, -1d] | 2022/9/21 |
|
|
645
|
+
|
|
646
|
+
### 常用格式速查
|
|
647
|
+
|
|
648
|
+
| 格式需求 | 参数配置 | 示例结果 |
|
|
649
|
+
| --------------------- | ------------------------- | --------------- |
|
|
650
|
+
| yyyyMMdd | $\[yyyyMMdd] | 20230922 |
|
|
651
|
+
| yyyy-MM-dd | $\[yyyy-MM-dd] | 2023/9/22 |
|
|
652
|
+
| yyyy/MM/dd | $\[yyyy/MM/dd] | 2023/9/22 |
|
|
653
|
+
| yyyyMMddHHmmss | $\[yyyyMMddHHmmss] | 20230922180000 |
|
|
654
|
+
| yyyy-MM-dd HH\:mm\:ss | $\[yyyy-MM-dd HH\:mm\:ss] | 2023/9/22 18:00 |
|
|
655
|
+
| HH\:mm\:ss | $\[HH\:mm\:ss] | 18:00:00 |
|
|
656
|
+
| 毫秒时间戳 | timestamp() | 1695463200000 |
|
|
657
|
+
| 秒时间戳 | unix\_timestamp() | 1695463200 |
|
|
658
|
+
|
|
659
|
+
### 系统参数速查
|
|
660
|
+
|
|
661
|
+
| 参数名 | 说明 | 格式 | 调度运行 | 临时运行 |
|
|
662
|
+
| -------------------- | ------------- | --------------------- | ---- | ---- |
|
|
663
|
+
| bizdate | 业务日期(计划时间-1天) | yyyyMMdd | ✓ | ✓ |
|
|
664
|
+
| sys\_biz\_day | 业务日期 | yyyy-MM-dd | ✓ | ✓ |
|
|
665
|
+
| sys\_biz\_datetime | 业务时间 | yyyy-MM-dd HH\:mm\:ss | ✓ | ✓ |
|
|
666
|
+
| sys\_plan\_day | 计划日期 | yyyy-MM-dd | ✓ | ✓ |
|
|
667
|
+
| sys\_plan\_datetime | 计划时间 | yyyy-MM-dd HH\:mm\:ss | ✓ | ✓ |
|
|
668
|
+
| sys\_plan\_timestamp | 计划时间戳 | 13位毫秒 | ✓ | ✓ |
|
|
669
|
+
| sys\_task\_id | 任务ID | 整数 | ✓ | ✗ |
|
|
670
|
+
| sys\_task\_name | 任务名称 | 字符串 | ✓ | ✗ |
|
|
671
|
+
| sys\_task\_owner | 任务负责人 | 字符串 | ✓ | ✗ |
|
|
672
|
+
|
|
673
|
+
### 偏移量单位速查
|
|
674
|
+
|
|
675
|
+
| 单位 | 缩写 | 全称 | 示例 |
|
|
676
|
+
| -- | --- | ----------------- | ----- |
|
|
677
|
+
| 毫秒 | ms | milli/millisecond | 400ms |
|
|
678
|
+
| 秒 | s | sec/second | 30s |
|
|
679
|
+
| 分钟 | m | min/minute | 15m |
|
|
680
|
+
| 小时 | h | hour | 2h |
|
|
681
|
+
| 天 | d | day | -1d |
|
|
682
|
+
| 周 | w | week | -1w |
|
|
683
|
+
| 月 | mon | month | -1mon |
|
|
684
|
+
| 年 | y | year | -1y |
|
|
685
|
+
|
|
686
|
+
### 时间函数速查
|
|
687
|
+
|
|
688
|
+
| 函数 | 功能 | 示例 |
|
|
689
|
+
| ----------------------- | --------------- | -------------------------------------------- |
|
|
690
|
+
| first\_day\_of\_month() | 当月第一天 | first\_day\_of\_month('yyyy-MM-dd', '-1mon') |
|
|
691
|
+
| last\_day\_of\_month() | 当月最后一天 | last\_day\_of\_month() |
|
|
692
|
+
| first\_day\_of\_week() | 当周第一天(周一) | first\_day\_of\_week('yyyy-MM-dd') |
|
|
693
|
+
| last\_day\_of\_week() | 当周最后一天(周日) | last\_day\_of\_week() |
|
|
694
|
+
| day\_of\_week() | 返回周几(1-7) | day\_of\_week('-1d') |
|
|
695
|
+
| week\_of\_month() | 本月第几周 | week\_of\_month() |
|
|
696
|
+
| week\_of\_year() | 本年第几周 | week\_of\_year() |
|
|
697
|
+
| get\_day\_of\_week() | 获取指定周几的日期 | get\_day\_of\_week('yyyy-MM-dd', 2, '-1w') |
|
|
698
|
+
| timestamp() | 毫秒时间戳 | timestamp(-1d) |
|
|
699
|
+
| biz\_timestamp() | 业务时间戳(00:00:00) | biz\_timestamp(-1d) |
|
|
700
|
+
| unix\_timestamp() | 秒时间戳 | unix\_timestamp() |
|
|
701
|
+
| biz\_unix\_timestamp() | 业务秒时间戳 | biz\_unix\_timestamp() |
|
|
702
|
+
| biz\_format() | 业务时间格式化 | biz\_format('yyyy-MM-dd', -1d) |
|
|
703
|
+
|
|
704
|
+
***
|
|
705
|
+
|
|
706
|
+
## 实际场景示例
|
|
707
|
+
|
|
708
|
+
### 场景1:处理昨天的分区数据
|
|
709
|
+
|
|
710
|
+
**需求**:每天凌晨处理前一天的订单数据
|
|
711
|
+
|
|
712
|
+
```SQL
|
|
713
|
+
-- SQL任务
|
|
714
|
+
INSERT OVERWRITE TABLE order_summary PARTITION(dt='${yesterday}')
|
|
715
|
+
SELECT
|
|
716
|
+
order_id,
|
|
717
|
+
SUM(amount) as total_amount,
|
|
718
|
+
COUNT(*) as order_count
|
|
719
|
+
FROM order_detail
|
|
720
|
+
WHERE dt = '${yesterday}'
|
|
721
|
+
GROUP BY order_id;
|
|
722
|
+
```
|
|
723
|
+
|
|
724
|
+
**参数配置**:
|
|
725
|
+
|
|
726
|
+
* `yesterday` = `$[yyyy-MM-dd, -1d]`
|
|
727
|
+
|
|
728
|
+
**说明**:假设任务在2023-09-22执行,参数替换为 `2023-09-21`
|
|
729
|
+
|
|
730
|
+
***
|
|
731
|
+
|
|
732
|
+
### 场景2:生成月报(上月数据统计)
|
|
733
|
+
|
|
734
|
+
**需求**:每月1号生成上月的销售报表
|
|
735
|
+
|
|
736
|
+
```SQL
|
|
737
|
+
-- SQL任务
|
|
738
|
+
SELECT
|
|
739
|
+
product_id,
|
|
740
|
+
SUM(sales_amount) as total_sales,
|
|
741
|
+
COUNT(DISTINCT user_id) as unique_users
|
|
742
|
+
FROM sales_table
|
|
743
|
+
WHERE dt BETWEEN '${last_month_start}' AND '${last_month_end}'
|
|
744
|
+
GROUP BY product_id;
|
|
745
|
+
```
|
|
746
|
+
|
|
747
|
+
**参数配置**:
|
|
748
|
+
|
|
749
|
+
* `last_month_start` = `first_day_of_month('yyyy-MM-dd', '-1mon')`
|
|
750
|
+
* `last_month_end` = `last_day_of_month('yyyy-MM-dd', '-1mon')`
|
|
751
|
+
|
|
752
|
+
**说明**:假设在2023-09-01执行
|
|
753
|
+
|
|
754
|
+
* `last_month_start` → `2023-08-01`
|
|
755
|
+
* `last_month_end` → `2023-08-31`
|
|
756
|
+
|
|
757
|
+
***
|
|
758
|
+
|
|
759
|
+
### 场景3:周报统计(上周一到周日)
|
|
760
|
+
|
|
761
|
+
**需求**:每周一生成上周的用户活跃报告
|
|
762
|
+
|
|
763
|
+
```SQL
|
|
764
|
+
-- SQL任务
|
|
765
|
+
SELECT
|
|
766
|
+
DATE(login_time) as login_date,
|
|
767
|
+
COUNT(DISTINCT user_id) as active_users
|
|
768
|
+
FROM user_login_log
|
|
769
|
+
WHERE dt BETWEEN '${last_week_monday}' AND '${last_week_sunday}'
|
|
770
|
+
GROUP BY DATE(login_time)
|
|
771
|
+
ORDER BY login_date;
|
|
772
|
+
```
|
|
773
|
+
|
|
774
|
+
**参数配置**:
|
|
775
|
+
|
|
776
|
+
* `last_week_monday` = `first_day_of_week('yyyy-MM-dd', '-1w')`
|
|
777
|
+
* `last_week_sunday` = `last_day_of_week('yyyy-MM-dd', '-1w')`
|
|
778
|
+
|
|
779
|
+
**说明**:假设在2023-09-25(周一)执行
|
|
780
|
+
|
|
781
|
+
* `last_week_monday` → `2023-09-18`(上周一)
|
|
782
|
+
* `last_week_sunday` → `2023-09-24`(上周日)
|
|
783
|
+
|
|
784
|
+
***
|
|
785
|
+
|
|
786
|
+
### 场景4:获取每周二的数据
|
|
787
|
+
|
|
788
|
+
**需求**:定期分析每周二的促销活动效果
|
|
789
|
+
|
|
790
|
+
```SQL
|
|
791
|
+
-- SQL任务
|
|
792
|
+
SELECT
|
|
793
|
+
promotion_id,
|
|
794
|
+
SUM(sales_amount) as tuesday_sales
|
|
795
|
+
FROM sales_table
|
|
796
|
+
WHERE dt = '${this_tuesday}'
|
|
797
|
+
GROUP BY promotion_id;
|
|
798
|
+
```
|
|
799
|
+
|
|
800
|
+
**参数配置**:
|
|
801
|
+
|
|
802
|
+
* `this_tuesday` = `get_day_of_week('yyyy-MM-dd', 2)`
|
|
803
|
+
|
|
804
|
+
**说明**:
|
|
805
|
+
|
|
806
|
+
* 假设任务在2023-09-22(周五)执行 → `2023-09-19`(本周二)
|
|
807
|
+
* 假设任务在2023-09-25(周一)执行 → `2023-09-26`(本周二)
|
|
808
|
+
|
|
809
|
+
***
|
|
810
|
+
|
|
811
|
+
### 场景5:时间戳范围查询(查询今天全天数据)
|
|
812
|
+
|
|
813
|
+
**需求**:实时查询今天00:00:00到当前时间的订单数据
|
|
814
|
+
|
|
815
|
+
```SQL
|
|
816
|
+
-- SQL任务
|
|
817
|
+
SELECT
|
|
818
|
+
order_id,
|
|
819
|
+
order_time,
|
|
820
|
+
amount
|
|
821
|
+
FROM orders
|
|
822
|
+
WHERE order_timestamp >
|
|
823
|
+
|
|
824
|
+
**错误用法**:
|
|
825
|
+
```SQL
|
|
826
|
+
-- ❌ 缺少引号导致SQL语法错误
|
|
827
|
+
WHERE city = ${city} # 替换后:WHERE city = Shanghai(语法错误)
|
|
828
|
+
|
|
829
|
+
-- ❌ 多余的引号
|
|
830
|
+
WHERE id = '${user_id}' # 替换后:WHERE id = '12345'(类型错误)
|
|
831
|
+
```
|
|
832
|
+
|
|
833
|
+
### Q4:临时运行和调度运行的参数有什么区别?
|
|
834
|
+
|
|
835
|
+
| 维度 | 临时运行 | 调度运行 |
|
|
836
|
+
| ------ | ------------ | --------------------- |
|
|
837
|
+
| 参数来源 | 弹窗手动输入 | 参数配置中的取值 |
|
|
838
|
+
| 生效范围 | 仅本次运行 | 每次调度都生效 |
|
|
839
|
+
| 时间基准 | 点击运行的时刻 | 调度计划时间 |
|
|
840
|
+
| 任务信息参数 | 不支持(无实际任务实例) | 支持 sys\_task\_\* 系列参数 |
|
|
841
|
+
| 适用场景 | 调试、验证 | 生产环境自动运行 |
|
|
842
|
+
|
|
843
|
+
**注意**:临时运行时输入的参数值**不会保存**到参数配置中,参数配置中只保存参数赋值的逻辑(表达式或常量)。
|
|
844
|
+
|
|
845
|
+
***
|
|
846
|
+
|
|
847
|
+
### Q5:如何验证参数配置是否正确?
|
|
848
|
+
|
|
849
|
+
**使用简单查询验证**
|
|
850
|
+
|
|
851
|
+
```SQL
|
|
852
|
+
SELECT '${lastDay}' as lastDay;
|
|
853
|
+
```
|
|
854
|
+
|
|
855
|
+
参数配置:`lastDay = add_days('yyyy-MM-dd', -1)`
|
|
856
|
+
|
|
857
|
+
**查看执行日志** 执行后查看日志中的实际执行SQL,确认参数是否正确替换。
|
|
858
|
+
|
|
859
|
+
如果返回昨天的日期(如 `2023-09-21`),说明参数功能正常。
|
|
860
|
+
|
|
861
|
+
***
|
|
862
|
+
|
|
863
|
+
### Q6:Python任务中如何使用参数?
|
|
864
|
+
|
|
865
|
+
**示例**:
|
|
866
|
+
```Python
|
|
867
|
+
# 定义参数(使用字符串变量)
|
|
868
|
+
yesterday = '${yesterday}'
|
|
869
|
+
start_ts = ${start_ts}
|
|
870
|
+
task_name = '${task_name}'
|
|
871
|
+
|
|
872
|
+
# 使用参数
|
|
873
|
+
print(f"处理日期:{yesterday}")
|
|
874
|
+
print(f"开始时间戳:{start_ts}")
|
|
875
|
+
|
|
876
|
+
# 在SQL中使用
|
|
877
|
+
sql = f"""
|
|
878
|
+
SELECT * FROM table
|
|
879
|
+
WHERE dt = '{yesterday}'
|
|
880
|
+
AND create_time >= {start_ts}
|
|
881
|
+
"""
|
|
882
|
+
```
|
|
883
|
+
|
|
884
|
+
**参数配置**:
|
|
885
|
+
|
|
886
|
+
* `yesterday` = `$[yyyy-MM-dd, -1d]`
|
|
887
|
+
* `start_ts` = `biz_timestamp()`
|
|
888
|
+
* `task_name` = `sys_task_name`
|
|
889
|
+
|
|
890
|
+
**注意**:
|
|
891
|
+
|
|
892
|
+
* 字符串类型参数需要加引号:`'${yesterday}'`
|
|
893
|
+
* 数值类型参数不加引号:`${start_ts}`
|
|
894
|
+
|
|
895
|
+
***
|
|
896
|
+
|
|
897
|
+
### Q7:如何处理月末日期偏移问题?
|
|
898
|
+
|
|
899
|
+
**问题**:1月31日减1个月应该是12月31日,但有些月份没有31日
|
|
900
|
+
|
|
901
|
+
**解决方案**:使用 `last_day_of_month()` 函数
|
|
902
|
+
|
|
903
|
+
```SQL
|
|
904
|
+
-- 推荐写法(明确要上月最后一天)
|
|
905
|
+
SELECT '${last_month_end}' as last_month_end;
|
|
906
|
+
-- 参数配置:last_month_end = last_day_of_month('yyyy-MM-dd', '-1mon')
|
|
907
|
+
-- 始终返回上月最后一天
|
|
908
|
+
```
|
|
909
|
+
|
|
910
|
+
***
|
|
911
|
+
|
|
912
|
+
### Q8:如何调试复杂的参数表达式?
|
|
913
|
+
|
|
914
|
+
**技巧1:逐步验证**
|
|
915
|
+
|
|
916
|
+
```SQL
|
|
917
|
+
-- 先验证基础表达式
|
|
918
|
+
SELECT '${base_date}' as base_date;
|
|
919
|
+
-- base_date = $[yyyy-MM-dd]
|
|
920
|
+
|
|
921
|
+
-- 再添加偏移量
|
|
922
|
+
SELECT '${offset_date}' as offset_date;
|
|
923
|
+
-- offset_date = $[yyyy-MM-dd, -1mon]
|
|
924
|
+
|
|
925
|
+
-- 最后添加多个偏移量
|
|
926
|
+
SELECT '${final_date}' as final_date;
|
|
927
|
+
-- final_date = $[yyyy-MM-dd, -1mon, -7d]
|
|
928
|
+
```
|
|
929
|
+
|
|
930
|
+
**技巧2:使用注释说明**
|
|
931
|
+
|
|
932
|
+
```SQL
|
|
933
|
+
SELECT
|
|
934
|
+
'${report_start}' as report_start, -- 上月第一天
|
|
935
|
+
'${report_end}' as report_end, -- 上月最后一天
|
|
936
|
+
'${last_year_date}' as last_year_date -- 去年同期
|
|
937
|
+
FROM table;
|
|
938
|
+
```
|
|
939
|
+
|
|
940
|
+
在参数配置中也添加说明,方便后续维护。
|
|
941
|
+
|
|
942
|
+
***
|
|
943
|
+
|
|
944
|
+
### Q9:参数加密后如何修改?
|
|
945
|
+
|
|
946
|
+
**步骤**:
|
|
947
|
+
|
|
948
|
+
1. 点击参数配置,找到加密的参数
|
|
949
|
+
2. 取消勾选"加密取值"
|
|
950
|
+
3. 参数值会明文显示,可以修改
|
|
951
|
+
4. 修改完成后重新勾选"加密取值"
|
|
952
|
+
|
|
953
|
+
**注意**:加密仅用于显示,不影响参数的实际使用。
|
|
954
|
+
|
|
955
|
+
^
|
|
956
|
+
|
|
957
|
+
***
|
|
958
|
+
|
|
959
|
+
## 附:如何确认是否支持完整参数功能
|
|
960
|
+
|
|
961
|
+
使用以下验证SQL:
|
|
962
|
+
|
|
963
|
+
```SQL
|
|
964
|
+
SELECT '${lastDay}' as lastDay;
|
|
965
|
+
```
|
|
966
|
+
|
|
967
|
+
**参数配置**:
|
|
968
|
+
|
|
969
|
+
* `lastDay` 赋值填写 `add_days('yyyy-MM-dd', -1)`
|
|
970
|
+
|
|
971
|
+
**校验逻辑**:
|
|
972
|
+
```
|
|
973
|
+
检查参数替换、任务执行返回结果是否正常。
|
|
974
|
+
如果返回正常,则说明在灰度范围内、支持完整的参数功能,否则说明不支持。
|
|
975
|
+
假定当前日期是2023-11-12,正常的返回值会是2023-11-11。
|
|
976
|
+
```
|
|
977
|
+
|
|
978
|
+
^
|