@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.
Files changed (1243) hide show
  1. package/bin/cz-cli +0 -0
  2. package/bin/skills/cz-cli/SKILL.md +58 -0
  3. package/bin/skills/cz-cli/references/profile-setup.md +88 -0
  4. package/bin/skills/cz-cli-inner/SKILL.md +96 -0
  5. package/bin/skills/dt-creator/SKILL.md +15 -0
  6. package/bin/skills/dt-creator/references/dt-declaration-strategy.md +185 -0
  7. package/bin/skills/dt-creator/references/incremental-config-reference.md +429 -0
  8. package/bin/skills/dt-creator/references/refresh-history-guide.md +268 -0
  9. package/bin/skills/dt-creator/references/sql-limitations.md +80 -0
  10. package/bin/skills/dynamic-table-alter/SKILL.md +190 -0
  11. package/bin/skills/lakehouse-doc/SKILL.md +107 -0
  12. package/bin/skills/lakehouse-doc/references/.gitattributes +1 -0
  13. package/bin/skills/lakehouse-doc/references/.gitlab-ci.yml +11 -0
  14. package/bin/skills/lakehouse-doc/references/702bc8f656.md +387 -0
  15. package/bin/skills/lakehouse-doc/references/774c65e217.md +136 -0
  16. package/bin/skills/lakehouse-doc/references/9164fed65a.md +1 -0
  17. package/bin/skills/lakehouse-doc/references/AIGateway.md +3 -0
  18. package/bin/skills/lakehouse-doc/references/AI_COMPLETE.md +157 -0
  19. package/bin/skills/lakehouse-doc/references/AI_EMBEDDING.md +70 -0
  20. package/bin/skills/lakehouse-doc/references/AI_Gateway.md +255 -0
  21. package/bin/skills/lakehouse-doc/references/AI_eco.md +1 -0
  22. package/bin/skills/lakehouse-doc/references/AI_function_in_SQL.md +25 -0
  23. package/bin/skills/lakehouse-doc/references/AI_function_overview.md +25 -0
  24. package/bin/skills/lakehouse-doc/references/ALTER-EXTERNAL-TABLE.md +78 -0
  25. package/bin/skills/lakehouse-doc/references/ALTER-SCHEMA.md +85 -0
  26. package/bin/skills/lakehouse-doc/references/ALTER-TABLE-COLUMN.md +223 -0
  27. package/bin/skills/lakehouse-doc/references/ALTERTABLE.md +92 -0
  28. package/bin/skills/lakehouse-doc/references/ARRAY.md +99 -0
  29. package/bin/skills/lakehouse-doc/references/Account.md +2 -0
  30. package/bin/skills/lakehouse-doc/references/Analysis.md +1 -0
  31. package/bin/skills/lakehouse-doc/references/AnalyticsModernDataStack.md +390 -0
  32. package/bin/skills/lakehouse-doc/references/Application_list.md +26 -0
  33. package/bin/skills/lakehouse-doc/references/Approval.md +1 -0
  34. package/bin/skills/lakehouse-doc/references/Approval_list.md +61 -0
  35. package/bin/skills/lakehouse-doc/references/BIGINT.md +49 -0
  36. package/bin/skills/lakehouse-doc/references/BINARY.md +104 -0
  37. package/bin/skills/lakehouse-doc/references/BOOLEAN.md +47 -0
  38. package/bin/skills/lakehouse-doc/references/BP_AI_Function_Image2text.md +203 -0
  39. package/bin/skills/lakehouse-doc/references/BluepipeOracleLakehouse_DataSync.md +244 -0
  40. package/bin/skills/lakehouse-doc/references/CHAR.md +38 -0
  41. package/bin/skills/lakehouse-doc/references/CONNECTION.md +1 -0
  42. package/bin/skills/lakehouse-doc/references/COPY-INTO-Location.md +404 -0
  43. package/bin/skills/lakehouse-doc/references/COPY_INTO_Location.md +371 -0
  44. package/bin/skills/lakehouse-doc/references/CREAREUSER.md +42 -0
  45. package/bin/skills/lakehouse-doc/references/CREATE-BLOOMFILTER-INDEX.md +138 -0
  46. package/bin/skills/lakehouse-doc/references/CREATECONNECTION.md +11 -0
  47. package/bin/skills/lakehouse-doc/references/CREATEEXTERNAlLSCHEMA.md +290 -0
  48. package/bin/skills/lakehouse-doc/references/CREATEMATERIALIZEDVIEW.md +518 -0
  49. package/bin/skills/lakehouse-doc/references/CREATEROLE.md +71 -0
  50. package/bin/skills/lakehouse-doc/references/CREATESCHEMA.md +40 -0
  51. package/bin/skills/lakehouse-doc/references/CREATEVIEW.md +63 -0
  52. package/bin/skills/lakehouse-doc/references/CREATE_EXTERNATL_FUNCTION.md +219 -0
  53. package/bin/skills/lakehouse-doc/references/CTERevenueCohort.md +275 -0
  54. package/bin/skills/lakehouse-doc/references/ComputeResourceDDL.md +1 -0
  55. package/bin/skills/lakehouse-doc/references/Concepts.md +1 -0
  56. package/bin/skills/lakehouse-doc/references/Create_Embeding_Function.md +236 -0
  57. package/bin/skills/lakehouse-doc/references/Create_LLM_Function.md +242 -0
  58. package/bin/skills/lakehouse-doc/references/CreditScoringwithZettaparkandPythonMLlibraryNew.md +873 -0
  59. package/bin/skills/lakehouse-doc/references/DATE.md +50 -0
  60. package/bin/skills/lakehouse-doc/references/DDL.md +1 -0
  61. package/bin/skills/lakehouse-doc/references/DECIMAL.md +27 -0
  62. package/bin/skills/lakehouse-doc/references/DELETE.md +48 -0
  63. package/bin/skills/lakehouse-doc/references/DESC-INDEX.md +41 -0
  64. package/bin/skills/lakehouse-doc/references/DESC-JOB.md +31 -0
  65. package/bin/skills/lakehouse-doc/references/DESCCONNECTION.md +39 -0
  66. package/bin/skills/lakehouse-doc/references/DESCMATERIALIZEDVIEW.md +31 -0
  67. package/bin/skills/lakehouse-doc/references/DESCSCHEMAS.md +59 -0
  68. package/bin/skills/lakehouse-doc/references/DESCTABLE.md +105 -0
  69. package/bin/skills/lakehouse-doc/references/DESCVIEW.md +66 -0
  70. package/bin/skills/lakehouse-doc/references/DOUBLE.md +58 -0
  71. package/bin/skills/lakehouse-doc/references/DQL.md +1 -0
  72. package/bin/skills/lakehouse-doc/references/DROP-INDEX.md +29 -0
  73. package/bin/skills/lakehouse-doc/references/DROPCONNECTION.md +32 -0
  74. package/bin/skills/lakehouse-doc/references/DROPMATERIALIZEDVIEW.md +42 -0
  75. package/bin/skills/lakehouse-doc/references/DROPROLE.md +56 -0
  76. package/bin/skills/lakehouse-doc/references/DROPSCHEMA.md +37 -0
  77. package/bin/skills/lakehouse-doc/references/DROPTABLE.md +46 -0
  78. package/bin/skills/lakehouse-doc/references/DROPUSER.md +34 -0
  79. package/bin/skills/lakehouse-doc/references/DROPVIEW.md +33 -0
  80. package/bin/skills/lakehouse-doc/references/DataQuality.md +99 -0
  81. package/bin/skills/lakehouse-doc/references/DataSourceConfigGuide.md +1 -0
  82. package/bin/skills/lakehouse-doc/references/DataSource_ADBMySQL.md +35 -0
  83. package/bin/skills/lakehouse-doc/references/DataSource_ADB_PostgreSQL.md +36 -0
  84. package/bin/skills/lakehouse-doc/references/DataSource_AMQP.md +37 -0
  85. package/bin/skills/lakehouse-doc/references/DataSource_Amazon_DocumentDB.md +115 -0
  86. package/bin/skills/lakehouse-doc/references/DataSource_Amazon_OpenSearch.md +42 -0
  87. package/bin/skills/lakehouse-doc/references/DataSource_Aurora_MySQL.md +35 -0
  88. package/bin/skills/lakehouse-doc/references/DataSource_Aurora_PostgreSQL.md +36 -0
  89. package/bin/skills/lakehouse-doc/references/DataSource_AutoMQ.md +124 -0
  90. package/bin/skills/lakehouse-doc/references/DataSource_COS.md +31 -0
  91. package/bin/skills/lakehouse-doc/references/DataSource_ClickHouse.md +36 -0
  92. package/bin/skills/lakehouse-doc/references/DataSource_DB2.md +36 -0
  93. package/bin/skills/lakehouse-doc/references/DataSource_DM.md +35 -0
  94. package/bin/skills/lakehouse-doc/references/DataSource_Databricks.md +38 -0
  95. package/bin/skills/lakehouse-doc/references/DataSource_Doris.md +34 -0
  96. package/bin/skills/lakehouse-doc/references/DataSource_DynamoDB.md +37 -0
  97. package/bin/skills/lakehouse-doc/references/DataSource_ElasticSearch.md +30 -0
  98. package/bin/skills/lakehouse-doc/references/DataSource_Greenplum.md +36 -0
  99. package/bin/skills/lakehouse-doc/references/DataSource_HANA.md +53 -0
  100. package/bin/skills/lakehouse-doc/references/DataSource_HBase.md +29 -0
  101. package/bin/skills/lakehouse-doc/references/DataSource_Hive.md +52 -0
  102. package/bin/skills/lakehouse-doc/references/DataSource_Hologres.md +36 -0
  103. package/bin/skills/lakehouse-doc/references/DataSource_Kafka.md +32 -0
  104. package/bin/skills/lakehouse-doc/references/DataSource_MariaDB.md +36 -0
  105. package/bin/skills/lakehouse-doc/references/DataSource_MaxCompute.md +32 -0
  106. package/bin/skills/lakehouse-doc/references/DataSource_MongoDB.md +36 -0
  107. package/bin/skills/lakehouse-doc/references/DataSource_MySQL.md +36 -0
  108. package/bin/skills/lakehouse-doc/references/DataSource_OSS.md +31 -0
  109. package/bin/skills/lakehouse-doc/references/DataSource_Oracle.md +35 -0
  110. package/bin/skills/lakehouse-doc/references/DataSource_PorarDB.md +37 -0
  111. package/bin/skills/lakehouse-doc/references/DataSource_PostgreSQL.md +36 -0
  112. package/bin/skills/lakehouse-doc/references/DataSource_Redis.md +55 -0
  113. package/bin/skills/lakehouse-doc/references/DataSource_Redshift.md +49 -0
  114. package/bin/skills/lakehouse-doc/references/DataSource_RestApi.md +30 -0
  115. package/bin/skills/lakehouse-doc/references/DataSource_S3.md +25 -0
  116. package/bin/skills/lakehouse-doc/references/DataSource_SLS.md +31 -0
  117. package/bin/skills/lakehouse-doc/references/DataSource_StarRocks.md +35 -0
  118. package/bin/skills/lakehouse-doc/references/DataSource_TiDB.md +36 -0
  119. package/bin/skills/lakehouse-doc/references/Datalake_StorageConnection.md +12 -0
  120. package/bin/skills/lakehouse-doc/references/Datasource_SQLServer.md +36 -0
  121. package/bin/skills/lakehouse-doc/references/Datus_Lakehouse_Integrated_Guide.md +3 -0
  122. package/bin/skills/lakehouse-doc/references/Datus_Lakehouse_MCPServer.md +111 -0
  123. package/bin/skills/lakehouse-doc/references/Dify_Integreated_with_LakehouseMCPServer.md +71 -0
  124. package/bin/skills/lakehouse-doc/references/ELTModernDataStack.md +497 -0
  125. package/bin/skills/lakehouse-doc/references/ELT_practice.md +1 -0
  126. package/bin/skills/lakehouse-doc/references/EXPLAIN.md +92 -0
  127. package/bin/skills/lakehouse-doc/references/EXTERNALFUNCITON.md +1 -0
  128. package/bin/skills/lakehouse-doc/references/EXTERNALFUNCTION.md +0 -0
  129. package/bin/skills/lakehouse-doc/references/EXTERNALFUNCTION/345/274/200/345/217/221/346/214/207/345/215/227.md +142 -0
  130. package/bin/skills/lakehouse-doc/references/EXTERNALSCHEMA.md +1 -0
  131. package/bin/skills/lakehouse-doc/references/EXTERNALSCHMEA.md +94 -0
  132. package/bin/skills/lakehouse-doc/references/ExternalFunctionDevGuideJava.md +556 -0
  133. package/bin/skills/lakehouse-doc/references/FLOAT.md +33 -0
  134. package/bin/skills/lakehouse-doc/references/FeatureEngineeringForExpandingCustomerFeatureswithZettapark.md +427 -0
  135. package/bin/skills/lakehouse-doc/references/FileCommand.md +1 -0
  136. package/bin/skills/lakehouse-doc/references/FileFunction.md +1 -0
  137. package/bin/skills/lakehouse-doc/references/FineBI.md +195 -0
  138. package/bin/skills/lakehouse-doc/references/Full_Text_Search.md +1 -0
  139. package/bin/skills/lakehouse-doc/references/GET.md +63 -0
  140. package/bin/skills/lakehouse-doc/references/GET_PRESIGNED_URL.md +91 -0
  141. package/bin/skills/lakehouse-doc/references/GrantPriveleges.md +113 -0
  142. package/bin/skills/lakehouse-doc/references/Hive_connection.md +50 -0
  143. package/bin/skills/lakehouse-doc/references/IDENTITY-Column.md +74 -0
  144. package/bin/skills/lakehouse-doc/references/INSERT.md +186 -0
  145. package/bin/skills/lakehouse-doc/references/INT.md +36 -0
  146. package/bin/skills/lakehouse-doc/references/INTERVAL.md +143 -0
  147. package/bin/skills/lakehouse-doc/references/Ingesting_Data_from_Alibaba_Cloud_Data_Lake_into_Lakehouse.md +976 -0
  148. package/bin/skills/lakehouse-doc/references/Ingestion.md +1 -0
  149. package/bin/skills/lakehouse-doc/references/JDBC-Driver.md +67 -0
  150. package/bin/skills/lakehouse-doc/references/JDBC_MindsDB_ML_LLM.md +237 -0
  151. package/bin/skills/lakehouse-doc/references/JOIN.md +204 -0
  152. package/bin/skills/lakehouse-doc/references/JSON.md +423 -0
  153. package/bin/skills/lakehouse-doc/references/JSON_DataType.md +49 -0
  154. package/bin/skills/lakehouse-doc/references/KAFKA_Storage_connection.md +1 -0
  155. package/bin/skills/lakehouse-doc/references/Kafka_connection.md +36 -0
  156. package/bin/skills/lakehouse-doc/references/Key_Concepts.md +112 -0
  157. package/bin/skills/lakehouse-doc/references/LATERALVIEW.md +78 -0
  158. package/bin/skills/lakehouse-doc/references/Lakehouse-client-repository.md +11 -0
  159. package/bin/skills/lakehouse-doc/references/LakehouseAI.md +0 -0
  160. package/bin/skills/lakehouse-doc/references/LakehouseAI_overview.md +16 -0
  161. package/bin/skills/lakehouse-doc/references/LakehouseAI/346/246/202/350/277/260.md +0 -0
  162. package/bin/skills/lakehouse-doc/references/LakehouseDataGPTTour.md +64 -0
  163. package/bin/skills/lakehouse-doc/references/LakehouseMCPServer.md +1 -0
  164. package/bin/skills/lakehouse-doc/references/LakehouseMCPServer_intro.md +493 -0
  165. package/bin/skills/lakehouse-doc/references/LakehousePythonZettapark.md +1 -0
  166. package/bin/skills/lakehouse-doc/references/LakehouseStudioTour.md +185 -0
  167. package/bin/skills/lakehouse-doc/references/Lakehouse_Index_Best_Practice.md +681 -0
  168. package/bin/skills/lakehouse-doc/references/Lakehouse_Insight.md +104 -0
  169. package/bin/skills/lakehouse-doc/references/Lakehouse_Platform_Release_Note.md +1 -0
  170. package/bin/skills/lakehouse-doc/references/Lakehouse_Studio_101.md +1 -0
  171. package/bin/skills/lakehouse-doc/references/Lakehouse_Studio_Release_Note.md +1 -0
  172. package/bin/skills/lakehouse-doc/references/Lakehouse_Zilliz_MakeDataReadyforBIandAI.md +228 -0
  173. package/bin/skills/lakehouse-doc/references/Langchain_plug_installation.md +244 -0
  174. package/bin/skills/lakehouse-doc/references/Langchain_plug_quick_start.md +225 -0
  175. package/bin/skills/lakehouse-doc/references/Langchain_plugins_overview.md +406 -0
  176. package/bin/skills/lakehouse-doc/references/Limitation.md +8 -0
  177. package/bin/skills/lakehouse-doc/references/LoggingIn.md +67 -0
  178. package/bin/skills/lakehouse-doc/references/Logstash.md +172 -0
  179. package/bin/skills/lakehouse-doc/references/MAP.md +42 -0
  180. package/bin/skills/lakehouse-doc/references/MATERIALIZEDVIEW.md +112 -0
  181. package/bin/skills/lakehouse-doc/references/MCPServers.md +267 -0
  182. package/bin/skills/lakehouse-doc/references/MERGE.md +498 -0
  183. package/bin/skills/lakehouse-doc/references/ManageAccounts.md +184 -0
  184. package/bin/skills/lakehouse-doc/references/ManagingFilesonDatalakeVolumewithZettapark.md +145 -0
  185. package/bin/skills/lakehouse-doc/references/MigrateSnowflakeRealtimeETLPipelinetoClickzettaLakehouse.md +865 -0
  186. package/bin/skills/lakehouse-doc/references/Migrate_Spark_DataEngineeringBestPractices_Project_to_Lakehouse.md +292 -0
  187. package/bin/skills/lakehouse-doc/references/ModernDataStackWithEcosystemTools.md +1 -0
  188. package/bin/skills/lakehouse-doc/references/N8N_AI_Workflow_Integration.md +1 -0
  189. package/bin/skills/lakehouse-doc/references/N8N_Integrated_with_LakehouseMCPServer.md +128 -0
  190. package/bin/skills/lakehouse-doc/references/Notebook.md +109 -0
  191. package/bin/skills/lakehouse-doc/references/NotesandGuidelinesforUsingPartitionTables.md +1627 -0
  192. package/bin/skills/lakehouse-doc/references/OPTIMIZE.md +80 -0
  193. package/bin/skills/lakehouse-doc/references/OptimizingComputingResources.md +1 -0
  194. package/bin/skills/lakehouse-doc/references/Overview.md +1 -0
  195. package/bin/skills/lakehouse-doc/references/PUT.md +70 -0
  196. package/bin/skills/lakehouse-doc/references/PerformingVectorandScalarRetrievalinheSameTableinLakehouse.md +84 -0
  197. package/bin/skills/lakehouse-doc/references/Permission_application.md +43 -0
  198. package/bin/skills/lakehouse-doc/references/PowerBI.md +113 -0
  199. package/bin/skills/lakehouse-doc/references/PythonSDKVersionHistory.md +24 -0
  200. package/bin/skills/lakehouse-doc/references/PythonSample_put_gharchive2oss.md +153 -0
  201. package/bin/skills/lakehouse-doc/references/PythonSample_put_github_rt_events.md +336 -0
  202. package/bin/skills/lakehouse-doc/references/PythonSqlAlchemyVersionHistory.md +23 -0
  203. package/bin/skills/lakehouse-doc/references/PythonTaskDev.md +1 -0
  204. package/bin/skills/lakehouse-doc/references/Python_Task.md +28 -0
  205. package/bin/skills/lakehouse-doc/references/Query_SnowflakeOpenCatalog_Icebergtable.md +114 -0
  206. package/bin/skills/lakehouse-doc/references/QuickStartwithCopycommand.md +79 -0
  207. package/bin/skills/lakehouse-doc/references/README.md +1 -0
  208. package/bin/skills/lakehouse-doc/references/REFRESH.md +37 -0
  209. package/bin/skills/lakehouse-doc/references/REMOTEFUNCTION.md +1 -0
  210. package/bin/skills/lakehouse-doc/references/RN_2023-08-07.md +67 -0
  211. package/bin/skills/lakehouse-doc/references/RN_2023-09-05.md +75 -0
  212. package/bin/skills/lakehouse-doc/references/RN_2023-09-18.md +50 -0
  213. package/bin/skills/lakehouse-doc/references/RN_2023-09-20.md +55 -0
  214. package/bin/skills/lakehouse-doc/references/RN_2023-10-25.md +102 -0
  215. package/bin/skills/lakehouse-doc/references/RN_2023-11-09.md +84 -0
  216. package/bin/skills/lakehouse-doc/references/RN_2023-12-25.md +84 -0
  217. package/bin/skills/lakehouse-doc/references/RN_2024-01-05.md +78 -0
  218. package/bin/skills/lakehouse-doc/references/RN_2024-02-05.md +87 -0
  219. package/bin/skills/lakehouse-doc/references/RN_2024-03-22.md +76 -0
  220. package/bin/skills/lakehouse-doc/references/RN_2024-04-10.md +61 -0
  221. package/bin/skills/lakehouse-doc/references/RN_2024-04-16.md +38 -0
  222. package/bin/skills/lakehouse-doc/references/RN_2024-05-10.md +47 -0
  223. package/bin/skills/lakehouse-doc/references/RN_2024-05-15.md +43 -0
  224. package/bin/skills/lakehouse-doc/references/RN_2024-05-24.md +143 -0
  225. package/bin/skills/lakehouse-doc/references/RN_2024-06-06.md +59 -0
  226. package/bin/skills/lakehouse-doc/references/RN_2024-06-07.md +71 -0
  227. package/bin/skills/lakehouse-doc/references/RN_2024-06-27.md +55 -0
  228. package/bin/skills/lakehouse-doc/references/RN_2024-07-22.md +121 -0
  229. package/bin/skills/lakehouse-doc/references/RN_2024-07-24.md +58 -0
  230. package/bin/skills/lakehouse-doc/references/RN_2024-08-07.md +42 -0
  231. package/bin/skills/lakehouse-doc/references/RN_2024-09-26.md +106 -0
  232. package/bin/skills/lakehouse-doc/references/RN_2024-10-15.md +49 -0
  233. package/bin/skills/lakehouse-doc/references/RN_2024_11_11.md +50 -0
  234. package/bin/skills/lakehouse-doc/references/RN_2024_12_12.md +52 -0
  235. package/bin/skills/lakehouse-doc/references/RN_2024_12_25.md +40 -0
  236. package/bin/skills/lakehouse-doc/references/RN_2025-03-05.md +68 -0
  237. package/bin/skills/lakehouse-doc/references/RN_2025-04-01.md +74 -0
  238. package/bin/skills/lakehouse-doc/references/RN_2025-05-20.md +90 -0
  239. package/bin/skills/lakehouse-doc/references/RN_2025-07-03.md +100 -0
  240. package/bin/skills/lakehouse-doc/references/RN_2025-08-25.md +106 -0
  241. package/bin/skills/lakehouse-doc/references/RN_2025_03_03.md +141 -0
  242. package/bin/skills/lakehouse-doc/references/RN_2025_04_22.md +110 -0
  243. package/bin/skills/lakehouse-doc/references/RN_2025_07_15.md +60 -0
  244. package/bin/skills/lakehouse-doc/references/RN_2025_10_23.md +85 -0
  245. package/bin/skills/lakehouse-doc/references/RN_2025_10_30.md +68 -0
  246. package/bin/skills/lakehouse-doc/references/RN_2025_12_17.md +71 -0
  247. package/bin/skills/lakehouse-doc/references/RN_2026_1_30-2.0.0.md +43 -0
  248. package/bin/skills/lakehouse-doc/references/RN_LH_2025_12_30.md +73 -0
  249. package/bin/skills/lakehouse-doc/references/RN_LH_2026_03_13.md +47 -0
  250. package/bin/skills/lakehouse-doc/references/Refactor_ELT_practice.md +241 -0
  251. package/bin/skills/lakehouse-doc/references/RemoteFunctionAsUDF.md +1 -0
  252. package/bin/skills/lakehouse-doc/references/RemoteFunctionBestPractice.md +350 -0
  253. package/bin/skills/lakehouse-doc/references/RemoteFunctionDevGuidePython3.md +571 -0
  254. package/bin/skills/lakehouse-doc/references/RemoteFunctionOnACR.md +249 -0
  255. package/bin/skills/lakehouse-doc/references/RemoteFunctionintro.md +54 -0
  256. package/bin/skills/lakehouse-doc/references/RemoteFunction/344/273/213/347/273/215.md +1 -0
  257. package/bin/skills/lakehouse-doc/references/RemoteFunction/345/274/200/345/217/221/346/214/207/345/215/227Python3.md +1 -0
  258. package/bin/skills/lakehouse-doc/references/RemoteFunction/346/234/200/344/275/263/345/256/236/350/267/265.md +1 -0
  259. package/bin/skills/lakehouse-doc/references/RevokePriveleges.md +98 -0
  260. package/bin/skills/lakehouse-doc/references/SCHEMA.md +48 -0
  261. package/bin/skills/lakehouse-doc/references/SCHEMADDL.md +0 -0
  262. package/bin/skills/lakehouse-doc/references/SHOW-INDEX.md +22 -0
  263. package/bin/skills/lakehouse-doc/references/SHOWCONNECTIONS.md +44 -0
  264. package/bin/skills/lakehouse-doc/references/SHOWFUNCTIONS.md +38 -0
  265. package/bin/skills/lakehouse-doc/references/SHOWGRANTS.md +62 -0
  266. package/bin/skills/lakehouse-doc/references/SHOWROLES.md +59 -0
  267. package/bin/skills/lakehouse-doc/references/SHOWTABLES.md +46 -0
  268. package/bin/skills/lakehouse-doc/references/SHOWUSERS.md +26 -0
  269. package/bin/skills/lakehouse-doc/references/SMALLINT.md +48 -0
  270. package/bin/skills/lakehouse-doc/references/SQL_CREATE_TABLE_GUIDE.md +1210 -0
  271. package/bin/skills/lakehouse-doc/references/SQL_DML_Considerations.md +601 -0
  272. package/bin/skills/lakehouse-doc/references/SQL_Join_Guide.md +655 -0
  273. package/bin/skills/lakehouse-doc/references/SQL_SELECT_Considerations.md +1818 -0
  274. package/bin/skills/lakehouse-doc/references/SQL_With_CTE_Guide.md +1510 -0
  275. package/bin/skills/lakehouse-doc/references/SQL_customers.md +74 -0
  276. package/bin/skills/lakehouse-doc/references/SQL_revenue.md +31 -0
  277. package/bin/skills/lakehouse-doc/references/STRING.md +80 -0
  278. package/bin/skills/lakehouse-doc/references/STRUCT.md +33 -0
  279. package/bin/skills/lakehouse-doc/references/SUMMARY.md +1279 -0
  280. package/bin/skills/lakehouse-doc/references/Security_system_inventory_and_optimization_based_Information_Schema.md +412 -0
  281. package/bin/skills/lakehouse-doc/references/Server_data_for_AI.md +15 -0
  282. package/bin/skills/lakehouse-doc/references/SlowlyChangingDimensionsInLakehouseUsingStreamsandTasks.md +616 -0
  283. package/bin/skills/lakehouse-doc/references/Spark_Lakehouse_iceberg_REST.md +151 -0
  284. package/bin/skills/lakehouse-doc/references/StudioDI_PrivateLinkVPC_fromRDS.md +105 -0
  285. package/bin/skills/lakehouse-doc/references/Supported_Cloud_Platforms.md +40 -0
  286. package/bin/skills/lakehouse-doc/references/TABLE.md +49 -0
  287. package/bin/skills/lakehouse-doc/references/TIMESTAMP.md +56 -0
  288. package/bin/skills/lakehouse-doc/references/TIMETRAVEL.md +207 -0
  289. package/bin/skills/lakehouse-doc/references/TINYINT.md +63 -0
  290. package/bin/skills/lakehouse-doc/references/TPC-H100G_experience.md +49 -0
  291. package/bin/skills/lakehouse-doc/references/TRUNCATE.md +144 -0
  292. package/bin/skills/lakehouse-doc/references/TableDesign.md +270 -0
  293. package/bin/skills/lakehouse-doc/references/TableauConnectToLakehouse.md +64 -0
  294. package/bin/skills/lakehouse-doc/references/Tutorials.md +1 -0
  295. package/bin/skills/lakehouse-doc/references/UNDROP-TABLE.md +163 -0
  296. package/bin/skills/lakehouse-doc/references/UPDATE.md +70 -0
  297. package/bin/skills/lakehouse-doc/references/USESCHEMA.md +53 -0
  298. package/bin/skills/lakehouse-doc/references/UnifiedWorkflowIntro.md +31 -0
  299. package/bin/skills/lakehouse-doc/references/UnifiedWorkflow_demo.md +175 -0
  300. package/bin/skills/lakehouse-doc/references/Unstructured_io.md +735 -0
  301. package/bin/skills/lakehouse-doc/references/VARCHARleghth.md +42 -0
  302. package/bin/skills/lakehouse-doc/references/VIEW.md +47 -0
  303. package/bin/skills/lakehouse-doc/references/Volume_LIST.md +52 -0
  304. package/bin/skills/lakehouse-doc/references/WINDOWFUNCTION.md +561 -0
  305. package/bin/skills/lakehouse-doc/references/WITH.md +41 -0
  306. package/bin/skills/lakehouse-doc/references/ZettaparkQuickStart.md +453 -0
  307. package/bin/skills/lakehouse-doc/references/Zettapark_Data_Engineering_Demo.md +348 -0
  308. package/bin/skills/lakehouse-doc/references/a_comprehensive_guide_to_ingesting_data_into_clickzetta_lakehouse.md +66 -0
  309. package/bin/skills/lakehouse-doc/references/access-control-configration.md +249 -0
  310. package/bin/skills/lakehouse-doc/references/access-control-general.md +82 -0
  311. package/bin/skills/lakehouse-doc/references/access-control.md +240 -0
  312. package/bin/skills/lakehouse-doc/references/account_user_management.md +105 -0
  313. package/bin/skills/lakehouse-doc/references/accountfunds.md +87 -0
  314. package/bin/skills/lakehouse-doc/references/agg_function.md +1 -0
  315. package/bin/skills/lakehouse-doc/references/ai_ready_data_overview.md +13 -0
  316. package/bin/skills/lakehouse-doc/references/airbyte.md +95 -0
  317. package/bin/skills/lakehouse-doc/references/alert.md +143 -0
  318. package/bin/skills/lakehouse-doc/references/alicloud-arn-externalid.md +51 -0
  319. package/bin/skills/lakehouse-doc/references/alicloud_byos_configration.md +129 -0
  320. package/bin/skills/lakehouse-doc/references/aliyun_storage_connection.md +135 -0
  321. package/bin/skills/lakehouse-doc/references/alter-dynamic-table.md +375 -0
  322. package/bin/skills/lakehouse-doc/references/alter-external-schema.md +20 -0
  323. package/bin/skills/lakehouse-doc/references/alter-materialzied-view.md +238 -0
  324. package/bin/skills/lakehouse-doc/references/alter-share.md +43 -0
  325. package/bin/skills/lakehouse-doc/references/alter-user.md +13 -0
  326. package/bin/skills/lakehouse-doc/references/alter-vcluster.md +134 -0
  327. package/bin/skills/lakehouse-doc/references/alter-worksapce.md +55 -0
  328. package/bin/skills/lakehouse-doc/references/alter.md +35 -0
  329. package/bin/skills/lakehouse-doc/references/analysis_internet_data_nyc_green_data.md +449 -0
  330. package/bin/skills/lakehouse-doc/references/analytics_cluster_best_practices.md +377 -0
  331. package/bin/skills/lakehouse-doc/references/analyze-table.md +58 -0
  332. package/bin/skills/lakehouse-doc/references/array_size.md +34 -0
  333. package/bin/skills/lakehouse-doc/references/authentication.md +53 -0
  334. package/bin/skills/lakehouse-doc/references/authoritymanagement.md +1 -0
  335. package/bin/skills/lakehouse-doc/references/auto-index.md +57 -0
  336. package/bin/skills/lakehouse-doc/references/aws_storage_connection.md +114 -0
  337. package/bin/skills/lakehouse-doc/references/backfilling_data.md +60 -0
  338. package/bin/skills/lakehouse-doc/references/batch_sync.md +54 -0
  339. package/bin/skills/lakehouse-doc/references/batch_sync_Sop.md +135 -0
  340. package/bin/skills/lakehouse-doc/references/batchloadparquertfileintoLakehouse.md +79 -0
  341. package/bin/skills/lakehouse-doc/references/bestpractice_bazhuanyu.md +1 -0
  342. package/bin/skills/lakehouse-doc/references/billing.md +62 -0
  343. package/bin/skills/lakehouse-doc/references/bitmap-type.md +524 -0
  344. package/bin/skills/lakehouse-doc/references/bitmap_uba_guide.md +1190 -0
  345. package/bin/skills/lakehouse-doc/references/bloomfilter-summary.md +164 -0
  346. package/bin/skills/lakehouse-doc/references/book.json +17 -0
  347. package/bin/skills/lakehouse-doc/references/bring_your_own_storage.md +1 -0
  348. package/bin/skills/lakehouse-doc/references/build-inverted-index.md +27 -0
  349. package/bin/skills/lakehouse-doc/references/build_rag_with_langchain.md +616 -0
  350. package/bin/skills/lakehouse-doc/references/bulkload-summary.md +37 -0
  351. package/bin/skills/lakehouse-doc/references/bulkloadv1-java-sdk.md +178 -0
  352. package/bin/skills/lakehouse-doc/references/bulkloadv1-python-sdk.md +169 -0
  353. package/bin/skills/lakehouse-doc/references/byos_general.md +165 -0
  354. package/bin/skills/lakehouse-doc/references/byos_tencentcloud_configration.md +138 -0
  355. package/bin/skills/lakehouse-doc/references/cache-command.md +39 -0
  356. package/bin/skills/lakehouse-doc/references/cancel-job.md +51 -0
  357. package/bin/skills/lakehouse-doc/references/cardinality_array.md +45 -0
  358. package/bin/skills/lakehouse-doc/references/charge_analysis_with_lakehouse_mcp_server.md +393 -0
  359. package/bin/skills/lakehouse-doc/references/clone-doc.md +111 -0
  360. package/bin/skills/lakehouse-doc/references/cloud_object_storage.md +1 -0
  361. package/bin/skills/lakehouse-doc/references/cluster-table-guide.md +68 -0
  362. package/bin/skills/lakehouse-doc/references/cluster-table.md +64 -0
  363. package/bin/skills/lakehouse-doc/references/composite_task.md +178 -0
  364. package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_3rd_tools.md +11 -0
  365. package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_dbv_sql_put.md +48 -0
  366. package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_environment_and_data_generate.md +627 -0
  367. package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_javasdk_buckload_realtime.md +740 -0
  368. package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_kafka_realtime_sync.md +71 -0
  369. package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_local_file_into_table_by_studio.md +64 -0
  370. package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_overview.md +66 -0
  371. package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_pipe_kafka.md +7 -0
  372. package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_pipe_oss.md +7 -0
  373. package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_studio_batchload_public_network.md +52 -0
  374. package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_studio_python_node.md +111 -0
  375. package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_studio_realtime_cdc_public_network.md +249 -0
  376. package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_studio_sql_insert.md +180 -0
  377. package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_zettapark_put_file_to_lake.md +206 -0
  378. package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_zettapark_save_as_table.md +79 -0
  379. package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_zettapark_sql_insert.md +113 -0
  380. package/bin/skills/lakehouse-doc/references/computation.md +6 -0
  381. package/bin/skills/lakehouse-doc/references/concurrency_scaling.md +57 -0
  382. package/bin/skills/lakehouse-doc/references/config-datasource.md +79 -0
  383. package/bin/skills/lakehouse-doc/references/config_volume_dify_storage.md +254 -0
  384. package/bin/skills/lakehouse-doc/references/connect-with-cli.md +155 -0
  385. package/bin/skills/lakehouse-doc/references/connect_to_Lakehouse.md +1 -0
  386. package/bin/skills/lakehouse-doc/references/connection-guide.md +61 -0
  387. package/bin/skills/lakehouse-doc/references/continue-job.md +260 -0
  388. package/bin/skills/lakehouse-doc/references/conversational_analytics_datagpt.md +1 -0
  389. package/bin/skills/lakehouse-doc/references/copy-into-table.md +398 -0
  390. package/bin/skills/lakehouse-doc/references/cos_storage_connection.md +73 -0
  391. package/bin/skills/lakehouse-doc/references/cos_volume_creation.md +39 -0
  392. package/bin/skills/lakehouse-doc/references/cost_management.md +1 -0
  393. package/bin/skills/lakehouse-doc/references/create-api-connection.md +363 -0
  394. package/bin/skills/lakehouse-doc/references/create-catalog-connection.md +220 -0
  395. package/bin/skills/lakehouse-doc/references/create-dynamic-table.md +910 -0
  396. package/bin/skills/lakehouse-doc/references/create-external-catalog.md +305 -0
  397. package/bin/skills/lakehouse-doc/references/create-external-table.md +78 -0
  398. package/bin/skills/lakehouse-doc/references/create-hive-catalog.md +77 -0
  399. package/bin/skills/lakehouse-doc/references/create-inverted-index.md +163 -0
  400. package/bin/skills/lakehouse-doc/references/create-kafka-external.md +300 -0
  401. package/bin/skills/lakehouse-doc/references/create-schema-from-share.md +45 -0
  402. package/bin/skills/lakehouse-doc/references/create-share.md +46 -0
  403. package/bin/skills/lakehouse-doc/references/create-sql-function.md +120 -0
  404. package/bin/skills/lakehouse-doc/references/create-storage-connection.md +346 -0
  405. package/bin/skills/lakehouse-doc/references/create-synonym.md +75 -0
  406. package/bin/skills/lakehouse-doc/references/create-table-ddl.md +405 -0
  407. package/bin/skills/lakehouse-doc/references/create-table-stream.md +226 -0
  408. package/bin/skills/lakehouse-doc/references/create-vector-index.md +115 -0
  409. package/bin/skills/lakehouse-doc/references/create.md +46 -0
  410. package/bin/skills/lakehouse-doc/references/create_cluster.md +121 -0
  411. package/bin/skills/lakehouse-doc/references/creating_alicloud_privatelinkendpoint.md +37 -0
  412. package/bin/skills/lakehouse-doc/references/creating_alicloud_privatelinkservice.md +31 -0
  413. package/bin/skills/lakehouse-doc/references/creating_tencentcloud_privatelinkendpoint.md +33 -0
  414. package/bin/skills/lakehouse-doc/references/creating_tencentcloud_privatelinkservice.md +19 -0
  415. package/bin/skills/lakehouse-doc/references/czguide-intro-to-cdc-using-clickzetta-rtsync-dynamic-tables.md +717 -0
  416. package/bin/skills/lakehouse-doc/references/data-catalog.md +1 -0
  417. package/bin/skills/lakehouse-doc/references/data-integration-intro.md +60 -0
  418. package/bin/skills/lakehouse-doc/references/data-integration.md +10 -0
  419. package/bin/skills/lakehouse-doc/references/data-lifecycle.md +46 -0
  420. package/bin/skills/lakehouse-doc/references/data-load-summary.md +71 -0
  421. package/bin/skills/lakehouse-doc/references/data-mamager-tool.md +1 -0
  422. package/bin/skills/lakehouse-doc/references/data-recover.md +52 -0
  423. package/bin/skills/lakehouse-doc/references/data-type.md +1 -0
  424. package/bin/skills/lakehouse-doc/references/data-types-timestamp-ntz.md +139 -0
  425. package/bin/skills/lakehouse-doc/references/data.md +1 -0
  426. package/bin/skills/lakehouse-doc/references/data_catalog.md +106 -0
  427. package/bin/skills/lakehouse-doc/references/data_clean_with_sql.md +406 -0
  428. package/bin/skills/lakehouse-doc/references/data_ecosystem.md +1 -0
  429. package/bin/skills/lakehouse-doc/references/data_ops.md +7 -0
  430. package/bin/skills/lakehouse-doc/references/data_org.md +1 -0
  431. package/bin/skills/lakehouse-doc/references/data_privacy.md +50 -0
  432. package/bin/skills/lakehouse-doc/references/data_result_profile.md +22 -0
  433. package/bin/skills/lakehouse-doc/references/data_security.md +1 -0
  434. package/bin/skills/lakehouse-doc/references/data_sharing_between_accounts_guide.md +331 -0
  435. package/bin/skills/lakehouse-doc/references/data_transfer_datalake.md +1 -0
  436. package/bin/skills/lakehouse-doc/references/data_visualization.md +96 -0
  437. package/bin/skills/lakehouse-doc/references/databricks_yunqi_integration_guide_v2.md +811 -0
  438. package/bin/skills/lakehouse-doc/references/datagpt_bestpractice.md +1 -0
  439. package/bin/skills/lakehouse-doc/references/datagpt_data_source.md +58 -0
  440. package/bin/skills/lakehouse-doc/references/datagpt_get_accurate_answers.md +34 -0
  441. package/bin/skills/lakehouse-doc/references/datagpt_intro.md +1 -0
  442. package/bin/skills/lakehouse-doc/references/datagpt_quickstart.md +94 -0
  443. package/bin/skills/lakehouse-doc/references/datagpt_tutorial.md +1 -0
  444. package/bin/skills/lakehouse-doc/references/datalake_FAQ.md +54 -0
  445. package/bin/skills/lakehouse-doc/references/datalake_overview.md +17 -0
  446. package/bin/skills/lakehouse-doc/references/datalake_privilege.md +55 -0
  447. package/bin/skills/lakehouse-doc/references/datalake_query_ingest.md +18 -0
  448. package/bin/skills/lakehouse-doc/references/datalake_unstructure_data.md +3 -0
  449. package/bin/skills/lakehouse-doc/references/datalake_volume.md +92 -0
  450. package/bin/skills/lakehouse-doc/references/datalake_volume_anlytics.md +1 -0
  451. package/bin/skills/lakehouse-doc/references/datalake_volume_object.md +1 -0
  452. package/bin/skills/lakehouse-doc/references/dataops_practice.md +105 -0
  453. package/bin/skills/lakehouse-doc/references/datasharing.md +322 -0
  454. package/bin/skills/lakehouse-doc/references/datasharing_catalog.md +1 -0
  455. package/bin/skills/lakehouse-doc/references/datasource_ip_whitelist.md +93 -0
  456. package/bin/skills/lakehouse-doc/references/datasources.md +62 -0
  457. package/bin/skills/lakehouse-doc/references/datatype-cast.md +105 -0
  458. package/bin/skills/lakehouse-doc/references/datatype-conversion.md +85 -0
  459. package/bin/skills/lakehouse-doc/references/datetime_patterns.md +61 -0
  460. package/bin/skills/lakehouse-doc/references/datus_lakehouse_installation.md +376 -0
  461. package/bin/skills/lakehouse-doc/references/datus_lakehouse_solution_overview.md +148 -0
  462. package/bin/skills/lakehouse-doc/references/db_dw_connection.md +1 -0
  463. package/bin/skills/lakehouse-doc/references/default-value.md +89 -0
  464. package/bin/skills/lakehouse-doc/references/delta-lake.md +185 -0
  465. package/bin/skills/lakehouse-doc/references/desc-catalog-table.md +33 -0
  466. package/bin/skills/lakehouse-doc/references/desc-catalog.md +31 -0
  467. package/bin/skills/lakehouse-doc/references/desc-dynamic-table.md +62 -0
  468. package/bin/skills/lakehouse-doc/references/desc-external-schemas.md +66 -0
  469. package/bin/skills/lakehouse-doc/references/desc-external-table.md +70 -0
  470. package/bin/skills/lakehouse-doc/references/desc-function.md +16 -0
  471. package/bin/skills/lakehouse-doc/references/desc-history-dynamic-table.md +50 -0
  472. package/bin/skills/lakehouse-doc/references/desc-history-table.md +73 -0
  473. package/bin/skills/lakehouse-doc/references/desc-history.md +73 -0
  474. package/bin/skills/lakehouse-doc/references/desc-share.md +59 -0
  475. package/bin/skills/lakehouse-doc/references/desc-table-stream.md +44 -0
  476. package/bin/skills/lakehouse-doc/references/desc-vcluster.md +42 -0
  477. package/bin/skills/lakehouse-doc/references/describe.md +38 -0
  478. package/bin/skills/lakehouse-doc/references/dify_config_lakehouse_as_vectordb.md +286 -0
  479. package/bin/skills/lakehouse-doc/references/dify_yunqilakehouse_integration_overview.md +188 -0
  480. package/bin/skills/lakehouse-doc/references/discovery_analysis_data_in_json_file_on_external_volume.md +625 -0
  481. package/bin/skills/lakehouse-doc/references/discovery_analysis_data_in_parquert_file_on_external_volume.md +599 -0
  482. package/bin/skills/lakehouse-doc/references/download-data.md +1 -0
  483. package/bin/skills/lakehouse-doc/references/drop-dynamic-table.md +46 -0
  484. package/bin/skills/lakehouse-doc/references/drop-external-schema.md +44 -0
  485. package/bin/skills/lakehouse-doc/references/drop-external-table.md +43 -0
  486. package/bin/skills/lakehouse-doc/references/drop-function.md +36 -0
  487. package/bin/skills/lakehouse-doc/references/drop-share.md +43 -0
  488. package/bin/skills/lakehouse-doc/references/drop-synonym.md +35 -0
  489. package/bin/skills/lakehouse-doc/references/drop-table-stream.md +42 -0
  490. package/bin/skills/lakehouse-doc/references/drop-vcluster.md +52 -0
  491. package/bin/skills/lakehouse-doc/references/drop.md +32 -0
  492. package/bin/skills/lakehouse-doc/references/dynamic-mask.md +201 -0
  493. package/bin/skills/lakehouse-doc/references/dynamic-table-incre.md +62 -0
  494. package/bin/skills/lakehouse-doc/references/dynamic-table-introduce.md +339 -0
  495. package/bin/skills/lakehouse-doc/references/dynamicTable-DML-sql.md +52 -0
  496. package/bin/skills/lakehouse-doc/references/dynamicTable-dml.md +48 -0
  497. package/bin/skills/lakehouse-doc/references/dynamicTable-parmaters.md +425 -0
  498. package/bin/skills/lakehouse-doc/references/dynamic_table_summary.md +366 -0
  499. package/bin/skills/lakehouse-doc/references/dynamic_table_task.md +73 -0
  500. package/bin/skills/lakehouse-doc/references/dynamic_table_using_studio.md +159 -0
  501. package/bin/skills/lakehouse-doc/references/dynamictable.md +56 -0
  502. package/bin/skills/lakehouse-doc/references/eco_integration/Zeppelin.md +84 -0
  503. package/bin/skills/lakehouse-doc/references/eco_integration/airbyte.md +75 -0
  504. package/bin/skills/lakehouse-doc/references/eco_integration/datagrip-lakehouse.md +56 -0
  505. package/bin/skills/lakehouse-doc/references/eco_integration/datax.md +154 -0
  506. package/bin/skills/lakehouse-doc/references/eco_integration/dbeaver-lakehouse.md +67 -0
  507. package/bin/skills/lakehouse-doc/references/eco_integration/dbt.md +139 -0
  508. package/bin/skills/lakehouse-doc/references/eco_integration/rath.md +87 -0
  509. package/bin/skills/lakehouse-doc/references/eco_integration/sqlline.md +82 -0
  510. package/bin/skills/lakehouse-doc/references/eco_integration/sqlworkbench-j-lakehouse.md +54 -0
  511. package/bin/skills/lakehouse-doc/references/eco_integration/streamlit.md +117 -0
  512. package/bin/skills/lakehouse-doc/references/eco_integration/superset.md +109 -0
  513. package/bin/skills/lakehouse-doc/references/eco_integration/trino.md +75 -0
  514. package/bin/skills/lakehouse-doc/references/ecosystem-all.md +24 -0
  515. package/bin/skills/lakehouse-doc/references/export_data_with_data-integration.md +3 -0
  516. package/bin/skills/lakehouse-doc/references/external-Volume.md +10 -0
  517. package/bin/skills/lakehouse-doc/references/external-catalog-summary.md +42 -0
  518. package/bin/skills/lakehouse-doc/references/external-function-summary.md +0 -0
  519. package/bin/skills/lakehouse-doc/references/external-hudi-table.md +187 -0
  520. package/bin/skills/lakehouse-doc/references/external-table-guide.md +96 -0
  521. package/bin/skills/lakehouse-doc/references/external_object_user_guide.md +298 -0
  522. package/bin/skills/lakehouse-doc/references/external_volume.md +1 -0
  523. package/bin/skills/lakehouse-doc/references/f6fc6447ee.md +151 -0
  524. package/bin/skills/lakehouse-doc/references/federation-query.md +1 -0
  525. package/bin/skills/lakehouse-doc/references/finebi-mysql.md +104 -0
  526. package/bin/skills/lakehouse-doc/references/flink-write-connector.md +695 -0
  527. package/bin/skills/lakehouse-doc/references/from_lakehouse_to_volume.md +98 -0
  528. package/bin/skills/lakehouse-doc/references/from_volume_to_table.md +45 -0
  529. package/bin/skills/lakehouse-doc/references/fulltext_indexes_guide.md +1180 -0
  530. package/bin/skills/lakehouse-doc/references/generated-column.md +113 -0
  531. package/bin/skills/lakehouse-doc/references/generated_columns_guide.md +847 -0
  532. package/bin/skills/lakehouse-doc/references/geospatial_analysis.md +558 -0
  533. package/bin/skills/lakehouse-doc/references/get-started-with-sample-data.md +83 -0
  534. package/bin/skills/lakehouse-doc/references/getting_started_with_vcluster_for_processing_analytics.md +471 -0
  535. package/bin/skills/lakehouse-doc/references/grant-to-share.md +55 -0
  536. package/bin/skills/lakehouse-doc/references/grant-user-privileges.md +100 -0
  537. package/bin/skills/lakehouse-doc/references/groupby.md +1260 -0
  538. package/bin/skills/lakehouse-doc/references/guides-overview-connecting.md +46 -0
  539. package/bin/skills/lakehouse-doc/references/ide.md +2 -0
  540. package/bin/skills/lakehouse-doc/references/ifnull.md +72 -0
  541. package/bin/skills/lakehouse-doc/references/ilike.md +89 -0
  542. package/bin/skills/lakehouse-doc/references/import_data_with_data-integration.md +3 -0
  543. package/bin/skills/lakehouse-doc/references/importdatabypythonintoLakehouse.md +134 -0
  544. package/bin/skills/lakehouse-doc/references/index2.md +1 -0
  545. package/bin/skills/lakehouse-doc/references/instance-informaiton-schema-summary.md +51 -0
  546. package/bin/skills/lakehouse-doc/references/instance-informaiton-schema.md +278 -0
  547. package/bin/skills/lakehouse-doc/references/instance-information_schema.md +1 -0
  548. package/bin/skills/lakehouse-doc/references/internal_volume.md +271 -0
  549. package/bin/skills/lakehouse-doc/references/intro-supported-features.md +48 -0
  550. package/bin/skills/lakehouse-doc/references/inverted-index.md +445 -0
  551. package/bin/skills/lakehouse-doc/references/inverted_idx_bm25_param.md +251 -0
  552. package/bin/skills/lakehouse-doc/references/inverted_idx_multi-match.md +89 -0
  553. package/bin/skills/lakehouse-doc/references/is-null.md +59 -0
  554. package/bin/skills/lakehouse-doc/references/it-operation-management.md +1 -0
  555. package/bin/skills/lakehouse-doc/references/java_reference/client.md +49 -0
  556. package/bin/skills/lakehouse-doc/references/java_reference/java-sdk-release-notes.md +32 -0
  557. package/bin/skills/lakehouse-doc/references/java_reference/java-sdk-summary.md +138 -0
  558. package/bin/skills/lakehouse-doc/references/java_reference/jdbc.md +211 -0
  559. package/bin/skills/lakehouse-doc/references/java_reference/realtime-upload.md +295 -0
  560. package/bin/skills/lakehouse-doc/references/jdbc_task.md +37 -0
  561. package/bin/skills/lakehouse-doc/references/job-manage.md +1 -0
  562. package/bin/skills/lakehouse-doc/references/job_history_analysis_with_information_schema.md +597 -0
  563. package/bin/skills/lakehouse-doc/references/jobprofile-bestpractices.md +104 -0
  564. package/bin/skills/lakehouse-doc/references/json_analyze.md +422 -0
  565. package/bin/skills/lakehouse-doc/references/json_data_process_guide.md +881 -0
  566. package/bin/skills/lakehouse-doc/references/json_guide_for_complex_biz_cases.md +1899 -0
  567. package/bin/skills/lakehouse-doc/references/kafka-external-table.md +103 -0
  568. package/bin/skills/lakehouse-doc/references/lakehouse-ai.md +1 -0
  569. package/bin/skills/lakehouse-doc/references/lakehouse-quick-experience_guide.md +964 -0
  570. package/bin/skills/lakehouse-doc/references/lakehouse-table-stream-best-practices.md +500 -0
  571. package/bin/skills/lakehouse-doc/references/lakehouse_billing_anomaly_alert_configuration_guide.md +226 -0
  572. package/bin/skills/lakehouse-doc/references/lakehouse_instance_overview.md +39 -0
  573. package/bin/skills/lakehouse-doc/references/lakehouse_table_design_guide.md +2676 -0
  574. package/bin/skills/lakehouse-doc/references/langchain.md +71 -0
  575. package/bin/skills/lakehouse-doc/references/langchain_basic_samples.md +606 -0
  576. package/bin/skills/lakehouse-doc/references/langchain_integration.md +1 -0
  577. package/bin/skills/lakehouse-doc/references/left.md +51 -0
  578. package/bin/skills/lakehouse-doc/references/like.md +115 -0
  579. package/bin/skills/lakehouse-doc/references/list-partition.md +121 -0
  580. package/bin/skills/lakehouse-doc/references/llama-index.md +57 -0
  581. package/bin/skills/lakehouse-doc/references/llms-full.txt +1286 -0
  582. package/bin/skills/lakehouse-doc/references/llms.txt +71 -0
  583. package/bin/skills/lakehouse-doc/references/load-data-local.md +82 -0
  584. package/bin/skills/lakehouse-doc/references/load-data-oss.md +174 -0
  585. package/bin/skills/lakehouse-doc/references/management.md +5 -0
  586. package/bin/skills/lakehouse-doc/references/managing-instance.md +67 -0
  587. package/bin/skills/lakehouse-doc/references/mapjoin.md +62 -0
  588. package/bin/skills/lakehouse-doc/references/materialized_ddl.md +1 -0
  589. package/bin/skills/lakehouse-doc/references/meta-objects-and-privileges.md +271 -0
  590. package/bin/skills/lakehouse-doc/references/metabase.md +73 -0
  591. package/bin/skills/lakehouse-doc/references/metadata_show_desc_command_guide.md +711 -0
  592. package/bin/skills/lakehouse-doc/references/metrics_answer_build.md +46 -0
  593. package/bin/skills/lakehouse-doc/references/mindsdb.md +269 -0
  594. package/bin/skills/lakehouse-doc/references/monitoring_and_alerting.md +177 -0
  595. package/bin/skills/lakehouse-doc/references/monitoring_item_specification.md +44 -0
  596. package/bin/skills/lakehouse-doc/references/multi_cloud_instance_manage_with_mcp_server.md +281 -0
  597. package/bin/skills/lakehouse-doc/references/multitable_batch_sync.md +463 -0
  598. package/bin/skills/lakehouse-doc/references/multitable_realtime_sync.md +412 -0
  599. package/bin/skills/lakehouse-doc/references/multitable_realtime_sync_sop.md +593 -0
  600. package/bin/skills/lakehouse-doc/references/n8n_Integreated_with_lakehouse_mcp_server.md +494 -0
  601. package/bin/skills/lakehouse-doc/references/navicat-mysql.md +65 -0
  602. package/bin/skills/lakehouse-doc/references/network_policy.md +281 -0
  603. package/bin/skills/lakehouse-doc/references/nyc_green_taxi_data_clean_transform_with_mcp_server.md +315 -0
  604. package/bin/skills/lakehouse-doc/references/object-model-overview.md +70 -0
  605. package/bin/skills/lakehouse-doc/references/object_identifier.md +259 -0
  606. package/bin/skills/lakehouse-doc/references/object_model_design.md +1 -0
  607. package/bin/skills/lakehouse-doc/references/opensource/travel.md +134 -0
  608. package/bin/skills/lakehouse-doc/references/operation-maintenance.md +172 -0
  609. package/bin/skills/lakehouse-doc/references/oss_volume_creation.md +39 -0
  610. package/bin/skills/lakehouse-doc/references/partition_table.md +344 -0
  611. package/bin/skills/lakehouse-doc/references/partition_table_guide.md +340 -0
  612. package/bin/skills/lakehouse-doc/references/performance_optimization.md +1 -0
  613. package/bin/skills/lakehouse-doc/references/performence_test.md +1 -0
  614. package/bin/skills/lakehouse-doc/references/permissions-of-built-in-workspace-level-roles.md +131 -0
  615. package/bin/skills/lakehouse-doc/references/pipe-kafka-bestpractice-1.md +431 -0
  616. package/bin/skills/lakehouse-doc/references/pipe-kafka-table-stream.md +180 -0
  617. package/bin/skills/lakehouse-doc/references/pipe-kafka.md +210 -0
  618. package/bin/skills/lakehouse-doc/references/pipe-storage-object.md +247 -0
  619. package/bin/skills/lakehouse-doc/references/pipe-summary.md +114 -0
  620. package/bin/skills/lakehouse-doc/references/pipe-syntax.md +200 -0
  621. package/bin/skills/lakehouse-doc/references/practice_data_analysis.md +1 -0
  622. package/bin/skills/lakehouse-doc/references/practice_data_import_and_export.md +1 -0
  623. package/bin/skills/lakehouse-doc/references/practice_python_task.md +157 -0
  624. package/bin/skills/lakehouse-doc/references/pricing.md +225 -0
  625. package/bin/skills/lakehouse-doc/references/primary key.md +86 -0
  626. package/bin/skills/lakehouse-doc/references/primary-key.md +187 -0
  627. package/bin/skills/lakehouse-doc/references/privacy-policy.md +364 -0
  628. package/bin/skills/lakehouse-doc/references/private-link-general.md +68 -0
  629. package/bin/skills/lakehouse-doc/references/private_link.md +1 -0
  630. package/bin/skills/lakehouse-doc/references/product-trial-agreement.md +99 -0
  631. package/bin/skills/lakehouse-doc/references/product_concept.md +1 -0
  632. package/bin/skills/lakehouse-doc/references/put-get.md +1 -0
  633. package/bin/skills/lakehouse-doc/references/put_get_volume.md +3 -0
  634. package/bin/skills/lakehouse-doc/references/python-igs.md +297 -0
  635. package/bin/skills/lakehouse-doc/references/python_package_install_import_guide.md +53 -0
  636. package/bin/skills/lakehouse-doc/references/python_reference/connector.md +281 -0
  637. package/bin/skills/lakehouse-doc/references/python_reference/python-sdk-summary.md +13 -0
  638. package/bin/skills/lakehouse-doc/references/python_reference/sqlalchemy.md +77 -0
  639. package/bin/skills/lakehouse-doc/references/python_shell_datasource.md +334 -0
  640. package/bin/skills/lakehouse-doc/references/query-json-sy.md +47 -0
  641. package/bin/skills/lakehouse-doc/references/query-syntax.md +234 -0
  642. package/bin/skills/lakehouse-doc/references/quick_start_batch_sync_data.md +116 -0
  643. package/bin/skills/lakehouse-doc/references/quick_start_bi_analysis.md +589 -0
  644. package/bin/skills/lakehouse-doc/references/quick_start_create_workspace.md +58 -0
  645. package/bin/skills/lakehouse-doc/references/quick_start_data_quality.md +75 -0
  646. package/bin/skills/lakehouse-doc/references/quick_start_etl.md +131 -0
  647. package/bin/skills/lakehouse-doc/references/quick_start_monitoring_and_alerting.md +93 -0
  648. package/bin/skills/lakehouse-doc/references/quick_start_sql_query.md +93 -0
  649. package/bin/skills/lakehouse-doc/references/quick_start_upload_data.md +69 -0
  650. package/bin/skills/lakehouse-doc/references/quick_start_user_management.md +73 -0
  651. package/bin/skills/lakehouse-doc/references/quick_start_workspace.md +72 -0
  652. package/bin/skills/lakehouse-doc/references/quick_start_workspace_user.md +67 -0
  653. package/bin/skills/lakehouse-doc/references/quickstart_datashare_between_companies.md +249 -0
  654. package/bin/skills/lakehouse-doc/references/quickstart_envirment_for_team.md +271 -0
  655. package/bin/skills/lakehouse-doc/references/quickstart_local_csv.md +99 -0
  656. package/bin/skills/lakehouse-doc/references/realtime_sync.md +36 -0
  657. package/bin/skills/lakehouse-doc/references/realtime_sync_and_analysis_practice.md +187 -0
  658. package/bin/skills/lakehouse-doc/references/realtimesync_m.md +190 -0
  659. package/bin/skills/lakehouse-doc/references/refresh-history.md +63 -0
  660. package/bin/skills/lakehouse-doc/references/regexp-statement.md +80 -0
  661. package/bin/skills/lakehouse-doc/references/releasenotes.md +1 -0
  662. package/bin/skills/lakehouse-doc/references/releasenotesupdata.md +1 -0
  663. package/bin/skills/lakehouse-doc/references/remove-volume.md +32 -0
  664. package/bin/skills/lakehouse-doc/references/restore-dynamic-table.md +126 -0
  665. package/bin/skills/lakehouse-doc/references/restore.md +127 -0
  666. package/bin/skills/lakehouse-doc/references/result_cache.md +102 -0
  667. package/bin/skills/lakehouse-doc/references/revoke-from-share.md +48 -0
  668. package/bin/skills/lakehouse-doc/references/revoke-user-privileges.md +91 -0
  669. package/bin/skills/lakehouse-doc/references/right.md +84 -0
  670. package/bin/skills/lakehouse-doc/references/rlike.md +78 -0
  671. package/bin/skills/lakehouse-doc/references/rn_2024_11_12.md +63 -0
  672. package/bin/skills/lakehouse-doc/references/role-privlilige-manage.md +1 -0
  673. package/bin/skills/lakehouse-doc/references/roles.md +123 -0
  674. package/bin/skills/lakehouse-doc/references/rom_lakehouse_to_volume.md +1 -0
  675. package/bin/skills/lakehouse-doc/references/s3_volume_creation.md +37 -0
  676. package/bin/skills/lakehouse-doc/references/sample-data-using.md +768 -0
  677. package/bin/skills/lakehouse-doc/references/security_compliance_audit_guide.md +1 -0
  678. package/bin/skills/lakehouse-doc/references/security_overview.md +41 -0
  679. package/bin/skills/lakehouse-doc/references/select-catalog-table.md +26 -0
  680. package/bin/skills/lakehouse-doc/references/semantic_view.md +711 -0
  681. package/bin/skills/lakehouse-doc/references/setup.md +33 -0
  682. package/bin/skills/lakehouse-doc/references/share-ddl.md +1 -0
  683. package/bin/skills/lakehouse-doc/references/show-cached-status.md +34 -0
  684. package/bin/skills/lakehouse-doc/references/show-catalog-schema.md +48 -0
  685. package/bin/skills/lakehouse-doc/references/show-catalog-table.md +22 -0
  686. package/bin/skills/lakehouse-doc/references/show-catalog.md +26 -0
  687. package/bin/skills/lakehouse-doc/references/show-columns.md +75 -0
  688. package/bin/skills/lakehouse-doc/references/show-create-dynamic-table.md +44 -0
  689. package/bin/skills/lakehouse-doc/references/show-create-external-table.md +45 -0
  690. package/bin/skills/lakehouse-doc/references/show-create-materialized-view.md +43 -0
  691. package/bin/skills/lakehouse-doc/references/show-create-table.md +107 -0
  692. package/bin/skills/lakehouse-doc/references/show-dynamic-table.md +68 -0
  693. package/bin/skills/lakehouse-doc/references/show-external-schemas.md +35 -0
  694. package/bin/skills/lakehouse-doc/references/show-external-table.md +38 -0
  695. package/bin/skills/lakehouse-doc/references/show-finctions.md +25 -0
  696. package/bin/skills/lakehouse-doc/references/show-functions.md +44 -0
  697. package/bin/skills/lakehouse-doc/references/show-grants-user.md +41 -0
  698. package/bin/skills/lakehouse-doc/references/show-jobs.md +48 -0
  699. package/bin/skills/lakehouse-doc/references/show-materialized-view.md +42 -0
  700. package/bin/skills/lakehouse-doc/references/show-schemas.md +41 -0
  701. package/bin/skills/lakehouse-doc/references/show-shares.md +94 -0
  702. package/bin/skills/lakehouse-doc/references/show-synonyms.md +29 -0
  703. package/bin/skills/lakehouse-doc/references/show-table-streams.md +53 -0
  704. package/bin/skills/lakehouse-doc/references/show-tables-history.md +91 -0
  705. package/bin/skills/lakehouse-doc/references/show-tables.md +50 -0
  706. package/bin/skills/lakehouse-doc/references/show-users.md +46 -0
  707. package/bin/skills/lakehouse-doc/references/show-vclusters.md +59 -0
  708. package/bin/skills/lakehouse-doc/references/show-views.md +31 -0
  709. package/bin/skills/lakehouse-doc/references/show-volume.md +57 -0
  710. package/bin/skills/lakehouse-doc/references/show.md +168 -0
  711. package/bin/skills/lakehouse-doc/references/simpletosimple_bazhuayu_datagpt.md +152 -0
  712. package/bin/skills/lakehouse-doc/references/small_file_optimization.md +101 -0
  713. package/bin/skills/lakehouse-doc/references/spark-connector-summary.md +329 -0
  714. package/bin/skills/lakehouse-doc/references/spark-connector-use.md +233 -0
  715. package/bin/skills/lakehouse-doc/references/sql-parmaters.md +594 -0
  716. package/bin/skills/lakehouse-doc/references/sql-qualify.md +236 -0
  717. package/bin/skills/lakehouse-doc/references/sql-reference.md +1 -0
  718. package/bin/skills/lakehouse-doc/references/sql_data_transfom_NestedDataTypes.md +451 -0
  719. package/bin/skills/lakehouse-doc/references/sql_data_transform.md +1 -0
  720. package/bin/skills/lakehouse-doc/references/sql_data_transform_basic.md +576 -0
  721. package/bin/skills/lakehouse-doc/references/sql_data_transform_cte.md +177 -0
  722. package/bin/skills/lakehouse-doc/references/sql_data_transform_tips.md +407 -0
  723. package/bin/skills/lakehouse-doc/references/sql_data_transform_windows.md +430 -0
  724. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/any_value.md +64 -0
  725. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/approx_count_distinct.md +45 -0
  726. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/approx_histogram.md +56 -0
  727. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/approx_percentile.md +65 -0
  728. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/approx_top_k.md +62 -0
  729. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/avg.md +68 -0
  730. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/bit_and.md +81 -0
  731. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/bit_or.md +78 -0
  732. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/bit_xor.md +79 -0
  733. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/bool_and.md +85 -0
  734. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/bool_or.md +86 -0
  735. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/collect_list.md +95 -0
  736. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/collect_list_on_array.md +64 -0
  737. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/collect_set.md +85 -0
  738. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/collect_set_on_array.md +80 -0
  739. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/corr.md +103 -0
  740. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/count.md +96 -0
  741. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/count_distinct.md +96 -0
  742. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/count_if.md +62 -0
  743. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/covar_pop.md +89 -0
  744. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/covar_samp.md +113 -0
  745. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/first_value.md +122 -0
  746. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap.md +42 -0
  747. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_and.md +46 -0
  748. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_and_state.md +47 -0
  749. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_merge.md +37 -0
  750. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_merge_state.md +29 -0
  751. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_or.md +44 -0
  752. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_or_state.md +64 -0
  753. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_state.md +27 -0
  754. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_xor.md +45 -0
  755. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_xor_state.md +99 -0
  756. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_concat.md +53 -0
  757. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/last_value.md +100 -0
  758. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/map_agg.md +79 -0
  759. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/max.md +102 -0
  760. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/max_by.md +67 -0
  761. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/median.md +60 -0
  762. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/min.md +89 -0
  763. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/min_by.md +99 -0
  764. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/percentile.md +69 -0
  765. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/percentile_approx.md +33 -0
  766. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/percentile_rank.md +36 -0
  767. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/std.md +47 -0
  768. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/stddev.md +68 -0
  769. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/stddev_pop.md +67 -0
  770. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/stddev_samp.md +67 -0
  771. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/sum.md +67 -0
  772. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/var_pop.md +65 -0
  773. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/var_samp.md +65 -0
  774. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/variance.md +47 -0
  775. package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/wm_concat.md +79 -0
  776. package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_instance_id.md +16 -0
  777. package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_schema.md +29 -0
  778. package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_session_id.md +30 -0
  779. package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_user.md +29 -0
  780. package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_user_id.md +21 -0
  781. package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_vcluster.md +40 -0
  782. package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_workspace.md +19 -0
  783. package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_workspace_id.md +24 -0
  784. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/binary_to_bitmap.md +29 -0
  785. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_and.md +39 -0
  786. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_and_cardinality.md +48 -0
  787. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_andnot.md +61 -0
  788. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_andnot_cardinality.md +60 -0
  789. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_build.md +58 -0
  790. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_cardinality.md +43 -0
  791. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_contains.md +50 -0
  792. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_count.md +45 -0
  793. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_empty.md +52 -0
  794. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_has_all.md +49 -0
  795. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_has_any.md +65 -0
  796. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_hash.md +52 -0
  797. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_max.md +26 -0
  798. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_min.md +33 -0
  799. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_or.md +61 -0
  800. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_or_cardinality.md +27 -0
  801. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_remove.md +42 -0
  802. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_subset_in_range.md +60 -0
  803. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_subset_limit.md +36 -0
  804. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_to_array.md +24 -0
  805. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_to_binary.md +28 -0
  806. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_to_string.md +41 -0
  807. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_transform.md +42 -0
  808. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_xor.md +59 -0
  809. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_xor_cardinality.md +30 -0
  810. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/string_to_bitmap.md +56 -0
  811. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/sub_bitmap.md +34 -0
  812. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/to_bitmap.md +78 -0
  813. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitwise_functions/bit_count.md +43 -0
  814. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitwise_functions/bitnot.md +34 -0
  815. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/assert_true.md +44 -0
  816. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/between.md +52 -0
  817. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/case_when.md +99 -0
  818. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/coalesce.md +51 -0
  819. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/decode.md +45 -0
  820. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/if.md +56 -0
  821. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/in.md +33 -0
  822. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/is_false.md +63 -0
  823. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/is_not_null.md +40 -0
  824. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/is_null.md +44 -0
  825. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/is_true.md +63 -0
  826. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/multiif.md +54 -0
  827. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/nvl.md +39 -0
  828. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/raise_error.md +52 -0
  829. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/add_days.md +65 -0
  830. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/add_months.md +38 -0
  831. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/add_years.md +61 -0
  832. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/adddate.md +53 -0
  833. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/convert_timezone.md +46 -0
  834. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/current_date.md +56 -0
  835. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/current_timestamp.md +46 -0
  836. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date.md +42 -0
  837. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date_add.md +35 -0
  838. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date_format.md +48 -0
  839. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date_format_mysql.md +58 -0
  840. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date_format_pg.md +54 -0
  841. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date_sub.md +58 -0
  842. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date_trunc.md +61 -0
  843. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/dateadd.md +60 -0
  844. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/datediff.md +50 -0
  845. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/datetime_patterns.md +61 -0
  846. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/day.md +53 -0
  847. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/dayofmonth.md +36 -0
  848. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/dayofweek.md +31 -0
  849. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/dayofweek_iso.md +56 -0
  850. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/dayofyear.md +40 -0
  851. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/days.md +21 -0
  852. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/extract.md +49 -0
  853. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/from_unixtime.md +43 -0
  854. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/from_utc_timestamp.md +45 -0
  855. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/hour.md +49 -0
  856. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/hours.md +21 -0
  857. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/last_day.md +35 -0
  858. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/localtimestamp.md +19 -0
  859. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/makde_date.md +20 -0
  860. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/make_date.md +20 -0
  861. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/make_dt_interval.md +66 -0
  862. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/make_ym_interval.md +53 -0
  863. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/minute.md +49 -0
  864. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/month.md +39 -0
  865. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/months.md +21 -0
  866. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/months_between.md +18 -0
  867. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/next_day.md +16 -0
  868. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/now.md +53 -0
  869. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/quarter.md +52 -0
  870. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/second.md +34 -0
  871. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/str_to_date_mysql.md +42 -0
  872. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/sub_days.md +66 -0
  873. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/timestamp_micros.md +34 -0
  874. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/timestamp_millis.md +54 -0
  875. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/timestamp_seconds.md +62 -0
  876. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/timestampadd.md +59 -0
  877. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/timestampdiff.md +78 -0
  878. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_date.md +43 -0
  879. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_start_of_interval.md +25 -0
  880. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_timestamp.md +66 -0
  881. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_timestamp_ntz.md +52 -0
  882. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_unix_timestamp.md +59 -0
  883. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_unix_timestamp_ms.md +45 -0
  884. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_unix_timestamp_us.md +40 -0
  885. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_utc_timestamp.md +62 -0
  886. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/toyyyymmdd.md +69 -0
  887. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/trunc.md +38 -0
  888. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/unix_timestamp.md +96 -0
  889. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/week.md +31 -0
  890. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/weekday.md +51 -0
  891. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/weekofyear.md +29 -0
  892. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/year.md +46 -0
  893. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/yearofweek.md +64 -0
  894. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/years.md +21 -0
  895. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/geo_functions/st_geohash.md +34 -0
  896. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/geo_functions/st_latfromgeohash.md +59 -0
  897. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/geo_functions/st_longfromgeohash.md +53 -0
  898. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/hash_functions/bucket.md +33 -0
  899. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/hash_functions/general_hash.md +49 -0
  900. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/hash_functions/hash_combine.md +37 -0
  901. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/hash_functions/hash_combine_commutative.md +54 -0
  902. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/hash_functions/murmurhash.md +36 -0
  903. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/array_sort_by_key.md +42 -0
  904. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/element_at.md +59 -0
  905. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/exists.md +48 -0
  906. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/filter.md +37 -0
  907. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/forall.md +68 -0
  908. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/high_order_functions.md +34 -0
  909. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/map_filter.md +25 -0
  910. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/map_zip_with.md +46 -0
  911. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/transform.md +48 -0
  912. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/transform_keys.md +48 -0
  913. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/transform_values.md +36 -0
  914. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/zip_with.md +38 -0
  915. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/ip_functions/get_ip_info.md +199 -0
  916. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/ip_functions/ipv4_num_to_string.md +29 -0
  917. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/ip_functions/ipv4_string_to_num.md +34 -0
  918. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/ip_functions/ipv6_num_to_string.md +35 -0
  919. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/ip_functions/ipv6_string_to_num.md +46 -0
  920. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/ip_functions/is_ip_address_in_range.md +42 -0
  921. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/from_json.md +86 -0
  922. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/get_json_object.md +83 -0
  923. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_array.md +30 -0
  924. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_contains.md +86 -0
  925. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_extract.md +64 -0
  926. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_minify.md +28 -0
  927. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_normalize.md +36 -0
  928. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_object.md +37 -0
  929. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_parse.md +59 -0
  930. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_remove.md +36 -0
  931. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_type.md +44 -0
  932. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_valid.md +46 -0
  933. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/schema_of_json.md +79 -0
  934. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/to_json.md +68 -0
  935. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/abs.md +46 -0
  936. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/acos.md +30 -0
  937. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/acosh.md +39 -0
  938. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/asin.md +39 -0
  939. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/asinh.md +46 -0
  940. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/atan.md +27 -0
  941. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/atan2.md +43 -0
  942. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/atanh.md +24 -0
  943. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/bround.md +43 -0
  944. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/cbrt.md +56 -0
  945. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/ceil.md +45 -0
  946. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/ceilling.md +47 -0
  947. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/cos.md +41 -0
  948. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/cosh.md +41 -0
  949. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/cot.md +49 -0
  950. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/csc.md +34 -0
  951. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/degrees.md +42 -0
  952. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/div.md +28 -0
  953. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/e.md +34 -0
  954. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/exp.md +32 -0
  955. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/exp2.md +36 -0
  956. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/expm1.md +54 -0
  957. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/floor.md +41 -0
  958. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/greatest.md +36 -0
  959. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/hypot.md +37 -0
  960. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/isnan.md +27 -0
  961. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/least.md +38 -0
  962. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/ln.md +57 -0
  963. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/log.md +39 -0
  964. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/log10.md +47 -0
  965. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/log1p.md +48 -0
  966. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/log2.md +28 -0
  967. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/median.md +25 -0
  968. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/mod.md +35 -0
  969. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/monotonically_increasing_id.md +81 -0
  970. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/negative.md +15 -0
  971. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/operators.md +427 -0
  972. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/pi.md +41 -0
  973. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/pmod.md +31 -0
  974. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/positive.md +15 -0
  975. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/pow.md +39 -0
  976. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/radians.md +30 -0
  977. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/rand.md +39 -0
  978. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/randn.md +26 -0
  979. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/random.md +67 -0
  980. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/round.md +48 -0
  981. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/shiftleft.md +67 -0
  982. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/shiftright.md +70 -0
  983. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/shiftrightunsigned.md +70 -0
  984. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/sign.md +46 -0
  985. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/sin.md +67 -0
  986. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/sinh.md +46 -0
  987. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/sqrt.md +40 -0
  988. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/tan.md +42 -0
  989. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/tanh.md +38 -0
  990. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array.md +46 -0
  991. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_append.md +26 -0
  992. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_compact.md +29 -0
  993. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_contains.md +38 -0
  994. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_distinct.md +43 -0
  995. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_except.md +35 -0
  996. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_intersect.md +39 -0
  997. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_join.md +51 -0
  998. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_max.md +57 -0
  999. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_min.md +60 -0
  1000. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_position.md +50 -0
  1001. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_prepend.md +26 -0
  1002. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_remove.md +34 -0
  1003. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_repeat.md +51 -0
  1004. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_size.md +32 -0
  1005. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_sort.md +46 -0
  1006. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_sort_reverse.md +31 -0
  1007. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_union.md +36 -0
  1008. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/arrays_overlap.md +41 -0
  1009. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/arrays_zip.md +50 -0
  1010. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/cardinality.md +45 -0
  1011. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/concat.md +49 -0
  1012. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/concat_ws.md +73 -0
  1013. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/element_at.md +34 -0
  1014. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/flatten.md +62 -0
  1015. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map.md +44 -0
  1016. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_concat.md +38 -0
  1017. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_contains_key.md +34 -0
  1018. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_entries.md +44 -0
  1019. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_equal.md +33 -0
  1020. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_except.md +34 -0
  1021. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_from_arrays.md +28 -0
  1022. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_from_entries.md +52 -0
  1023. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_keys.md +37 -0
  1024. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_values.md +46 -0
  1025. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/multimap_from_entries.md +47 -0
  1026. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/named_struct.md +55 -0
  1027. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/sequence.md +35 -0
  1028. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/size.md +34 -0
  1029. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/slice.md +43 -0
  1030. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/sort_array.md +22 -0
  1031. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/struct.md +35 -0
  1032. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/struct_insert.md +54 -0
  1033. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/struct_update.md +42 -0
  1034. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/trans_array.md +147 -0
  1035. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/partition/max_pt.md +41 -0
  1036. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/search_functions/match_all.md +56 -0
  1037. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/search_functions/match_any.md +50 -0
  1038. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/search_functions/match_phrase.md +65 -0
  1039. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/search_functions/match_phrase_prefix.md +36 -0
  1040. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/search_functions/match_regexp.md +30 -0
  1041. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/search_functions/tokenize.md +57 -0
  1042. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/aes_decrypt.md +40 -0
  1043. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/aes_decrypt_mysql.md +30 -0
  1044. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/aes_encrypt.md +34 -0
  1045. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/aes_encrypt_mysql.md +53 -0
  1046. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/ascii.md +36 -0
  1047. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/base64.md +27 -0
  1048. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/binary.md +46 -0
  1049. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/btrim.md +38 -0
  1050. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/char.md +55 -0
  1051. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/char_length.md +52 -0
  1052. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/character_length.md +52 -0
  1053. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/chr.md +26 -0
  1054. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/collation_sort_key.md +58 -0
  1055. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/concat.md +75 -0
  1056. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/concat_ws.md +72 -0
  1057. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/contains.md +31 -0
  1058. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/conv.md +50 -0
  1059. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/endswith.md +70 -0
  1060. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/find_in_set.md +19 -0
  1061. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/format_string.md +53 -0
  1062. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/hex.md +45 -0
  1063. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/instr.md +41 -0
  1064. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/is_ascii.md +27 -0
  1065. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/is_utf8.md +27 -0
  1066. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/lcase.md +45 -0
  1067. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/left.md +35 -0
  1068. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/length.md +33 -0
  1069. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/lengthb.md +49 -0
  1070. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/like.md +63 -0
  1071. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/locate.md +42 -0
  1072. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/lower.md +61 -0
  1073. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/lpad.md +45 -0
  1074. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/ltrim.md +48 -0
  1075. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/mask.md +37 -0
  1076. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/md5.md +71 -0
  1077. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/octet_length.md +47 -0
  1078. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/parse_url.md +78 -0
  1079. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/position.md +35 -0
  1080. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/regexp_count.md +115 -0
  1081. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/regexp_extract.md +37 -0
  1082. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/regexp_extract_all.md +31 -0
  1083. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/regexp_instr.md +152 -0
  1084. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/regexp_replace.md +34 -0
  1085. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/repeat.md +44 -0
  1086. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/replace.md +37 -0
  1087. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/reverse.md +70 -0
  1088. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/right.md +34 -0
  1089. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/rlike.md +64 -0
  1090. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/rpad.md +53 -0
  1091. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/rtrim.md +37 -0
  1092. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/sha1.md +67 -0
  1093. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/space.md +34 -0
  1094. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/split.md +61 -0
  1095. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/split_part.md +42 -0
  1096. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/startswith.md +70 -0
  1097. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/str_to_map.md +60 -0
  1098. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/strpos.md +60 -0
  1099. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/substr.md +43 -0
  1100. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/substring.md +53 -0
  1101. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/substring_index.md +46 -0
  1102. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/translate.md +43 -0
  1103. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/trim.md +54 -0
  1104. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/typeof.md +54 -0
  1105. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/ucase.md +46 -0
  1106. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/unbase64.md +54 -0
  1107. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/unhex.md +46 -0
  1108. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/upper.md +51 -0
  1109. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/url_decode.md +32 -0
  1110. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/url_encode.md +33 -0
  1111. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/uuid.md +33 -0
  1112. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/binary_quantize.md +51 -0
  1113. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/cosine_distance.md +53 -0
  1114. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/dot_product.md +54 -0
  1115. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/hamming_distance.md +57 -0
  1116. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/jaccard_distance.md +55 -0
  1117. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/l2_distance.md +53 -0
  1118. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/l2_norm.md +52 -0
  1119. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/l2_normalize.md +54 -0
  1120. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/print_vector_bits.md +56 -0
  1121. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/vector.md +70 -0
  1122. package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/vector_add_scalar.md +57 -0
  1123. package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/explode.md +71 -0
  1124. package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/inline.md +48 -0
  1125. package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/json_tuple.md +44 -0
  1126. package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/load_history.md +17 -0
  1127. package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/posexplode.md +89 -0
  1128. package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/read_kafka.md +85 -0
  1129. package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/stack.md +69 -0
  1130. package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/table_changes.md +136 -0
  1131. package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/unnset.md +106 -0
  1132. package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/avg.md +91 -0
  1133. package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/count.md +88 -0
  1134. package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/cume_dist.md +104 -0
  1135. package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/dense_rank.md +119 -0
  1136. package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/first.md +159 -0
  1137. package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/first_value.md +133 -0
  1138. package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/lag.md +72 -0
  1139. package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/last.md +166 -0
  1140. package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/last_value.md +160 -0
  1141. package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/lead.md +49 -0
  1142. package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/max.md +167 -0
  1143. package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/min.md +138 -0
  1144. package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/nth_value.md +58 -0
  1145. package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/ntile.md +57 -0
  1146. package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/percent_rank.md +58 -0
  1147. package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/rank.md +139 -0
  1148. package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/row_number.md +141 -0
  1149. package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/sum.md +105 -0
  1150. package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/window_clause.md +91 -0
  1151. package/bin/skills/lakehouse-doc/references/sql_practice.md +1 -0
  1152. package/bin/skills/lakehouse-doc/references/sql_rfm.md +181 -0
  1153. package/bin/skills/lakehouse-doc/references/sqlalchemy.md +82 -0
  1154. package/bin/skills/lakehouse-doc/references/ssb-benchmark.md +224 -0
  1155. package/bin/skills/lakehouse-doc/references/sso-configuration.md +157 -0
  1156. package/bin/skills/lakehouse-doc/references/storage_encryption.md +81 -0
  1157. package/bin/skills/lakehouse-doc/references/streaming_data_pipeline_overview.md +20 -0
  1158. package/bin/skills/lakehouse-doc/references/streaming_data_pipeline_overview1.md +1 -0
  1159. package/bin/skills/lakehouse-doc/references/streaming_pipeline_with_dynamic_table.md +66 -0
  1160. package/bin/skills/lakehouse-doc/references/structure_data_analysis.md +229 -0
  1161. package/bin/skills/lakehouse-doc/references/studio_manual.md +1 -0
  1162. package/bin/skills/lakehouse-doc/references/studio_overview.md +71 -0
  1163. package/bin/skills/lakehouse-doc/references/synonym.md +139 -0
  1164. package/bin/skills/lakehouse-doc/references/table-stream-title.md +1 -0
  1165. package/bin/skills/lakehouse-doc/references/table-stream.md +1 -0
  1166. package/bin/skills/lakehouse-doc/references/table-summary.md +1 -0
  1167. package/bin/skills/lakehouse-doc/references/table_funciotn.md +1 -0
  1168. package/bin/skills/lakehouse-doc/references/table_stream.md +118 -0
  1169. package/bin/skills/lakehouse-doc/references/tablesample.md +474 -0
  1170. package/bin/skills/lakehouse-doc/references/tablestream_summary.md +515 -0
  1171. package/bin/skills/lakehouse-doc/references/task-instance-maintenance.md +207 -0
  1172. package/bin/skills/lakehouse-doc/references/task_development.md +56 -0
  1173. package/bin/skills/lakehouse-doc/references/task_group.md +151 -0
  1174. package/bin/skills/lakehouse-doc/references/task_param.md +978 -0
  1175. package/bin/skills/lakehouse-doc/references/task_scheduling.md +1 -0
  1176. package/bin/skills/lakehouse-doc/references/task_scheduling_dependency.md +74 -0
  1177. package/bin/skills/lakehouse-doc/references/taskdevelop.md +268 -0
  1178. package/bin/skills/lakehouse-doc/references/tencentcloud_arn_and_externalid.md +29 -0
  1179. package/bin/skills/lakehouse-doc/references/time-function.md +67 -0
  1180. package/bin/skills/lakehouse-doc/references/timetravel-summary.md +47 -0
  1181. package/bin/skills/lakehouse-doc/references/tools_AI.md +1 -0
  1182. package/bin/skills/lakehouse-doc/references/tools_BI.md +1 -0
  1183. package/bin/skills/lakehouse-doc/references/tpcds-benchmark.md +754 -0
  1184. package/bin/skills/lakehouse-doc/references/tpch-benchmark.md +887 -0
  1185. package/bin/skills/lakehouse-doc/references/transformt-dt.md +291 -0
  1186. package/bin/skills/lakehouse-doc/references/trial-account-quotas-and-limits.md +81 -0
  1187. package/bin/skills/lakehouse-doc/references/tutorial_DataGPT.md +1 -0
  1188. package/bin/skills/lakehouse-doc/references/tutorial_connect_to_lakehouse.md +1 -0
  1189. package/bin/skills/lakehouse-doc/references/tutorial_data_transformation.md +1 -0
  1190. package/bin/skills/lakehouse-doc/references/tutorial_migration.md +1 -0
  1191. package/bin/skills/lakehouse-doc/references/tutorial_virtual_cluster.md +1 -0
  1192. package/bin/skills/lakehouse-doc/references/tutorial_work_with_workspace.md +1 -0
  1193. package/bin/skills/lakehouse-doc/references/tutorial_zettapark.md +1 -0
  1194. package/bin/skills/lakehouse-doc/references/tutorials-streaming-data-pipeline-with_dynamic-table.md +124 -0
  1195. package/bin/skills/lakehouse-doc/references/undrop-dynamic-table.md +79 -0
  1196. package/bin/skills/lakehouse-doc/references/undrop-materialized-view.md +80 -0
  1197. package/bin/skills/lakehouse-doc/references/unifiedWorkflow.md +1 -0
  1198. package/bin/skills/lakehouse-doc/references/unloa-data-summary.md +17 -0
  1199. package/bin/skills/lakehouse-doc/references/unload-data-local.md +72 -0
  1200. package/bin/skills/lakehouse-doc/references/unstructure_data_analysis.md +1 -0
  1201. package/bin/skills/lakehouse-doc/references/unstructured_etl_pipeline_notebook.md +12 -0
  1202. package/bin/skills/lakehouse-doc/references/unstructured_etl_pipeline_user_guide.md +949 -0
  1203. package/bin/skills/lakehouse-doc/references/unstructured_etl_python_api.md +896 -0
  1204. package/bin/skills/lakehouse-doc/references/upload-data.md +1 -0
  1205. package/bin/skills/lakehouse-doc/references/upload_data.md +123 -0
  1206. package/bin/skills/lakehouse-doc/references/use-dbt-dev.md +441 -0
  1207. package/bin/skills/lakehouse-doc/references/use-external-schema.md +42 -0
  1208. package/bin/skills/lakehouse-doc/references/use-java-sdk-releatime-uploaddata.md +168 -0
  1209. package/bin/skills/lakehouse-doc/references/use-java-sdk-upload-dta-local.md +140 -0
  1210. package/bin/skills/lakehouse-doc/references/use-mysql-client.md +189 -0
  1211. package/bin/skills/lakehouse-doc/references/use-python-sdk-upload-data.md +99 -0
  1212. package/bin/skills/lakehouse-doc/references/use-schema.md +49 -0
  1213. package/bin/skills/lakehouse-doc/references/use-vcluster.md +38 -0
  1214. package/bin/skills/lakehouse-doc/references/user-aggrement.md +229 -0
  1215. package/bin/skills/lakehouse-doc/references/user-external-funciton.md +1 -0
  1216. package/bin/skills/lakehouse-doc/references/user-identification.md +58 -0
  1217. package/bin/skills/lakehouse-doc/references/user_permission_grand_guide.md +322 -0
  1218. package/bin/skills/lakehouse-doc/references/using-google-authenticator.md +48 -0
  1219. package/bin/skills/lakehouse-doc/references/using-udf-in-dynamic-table.md +162 -0
  1220. package/bin/skills/lakehouse-doc/references/using_mcp_solute_data_pipeline_issue.md +343 -0
  1221. package/bin/skills/lakehouse-doc/references/uuid.md +47 -0
  1222. package/bin/skills/lakehouse-doc/references/validate_schema_evolution.md +167 -0
  1223. package/bin/skills/lakehouse-doc/references/vc-job.md +1 -0
  1224. package/bin/skills/lakehouse-doc/references/vc_cache.md +71 -0
  1225. package/bin/skills/lakehouse-doc/references/vcluster_size_description.md +98 -0
  1226. package/bin/skills/lakehouse-doc/references/vector-search.md +144 -0
  1227. package/bin/skills/lakehouse-doc/references/vector-type.md +52 -0
  1228. package/bin/skills/lakehouse-doc/references/vector_data_process_guide.md +952 -0
  1229. package/bin/skills/lakehouse-doc/references/vector_search_ai.md +423 -0
  1230. package/bin/skills/lakehouse-doc/references/version-update.md +21 -0
  1231. package/bin/skills/lakehouse-doc/references/virtual-cluster.md +221 -0
  1232. package/bin/skills/lakehouse-doc/references/volume_best_practices.md +1141 -0
  1233. package/bin/skills/lakehouse-doc/references/web-job-history.md +163 -0
  1234. package/bin/skills/lakehouse-doc/references/what_is_clickzetta_lakehouse.md +92 -0
  1235. package/bin/skills/lakehouse-doc/references/window-function-summary.md +134 -0
  1236. package/bin/skills/lakehouse-doc/references/windowframe.md +139 -0
  1237. package/bin/skills/lakehouse-doc/references/working_with_Vclusters.md +171 -0
  1238. package/bin/skills/lakehouse-doc/references/working_with_cache.md +102 -0
  1239. package/bin/skills/lakehouse-doc/references/worksapce-informaiton_schema-views.md +207 -0
  1240. package/bin/skills/lakehouse-doc/references/worksheet.md +15 -0
  1241. package/bin/skills/lakehouse-doc/references/workspace-introduction.md +41 -0
  1242. package/bin/skills/lakehouse-doc/references/worskapce-infroamtionschema-summary.md +56 -0
  1243. package/package.json +13 -0
@@ -0,0 +1,847 @@
1
+ # Lakehouse生成列使用指南
2
+
3
+ ## 文档介绍
4
+
5
+ 本指南面向需要在云器Lakehouse中使用生成列功能的数据工程师和开发者。无论您是从MySQL、PostgreSQL、Oracle等传统数据库迁移,还是从Hive、Spark等大数据平台转换,都能在此找到完整的实施方案。
6
+
7
+ 生成列是云器Lakehouse的核心特性之一,能够自动计算和维护衍生列的值,显著提升开发效率和数据一致性。通过本指南,您将掌握生成列的使用方法、避开常见陷阱,并能够设计出高性能的数据架构。
8
+
9
+ ## 快速导航
10
+
11
+ ### 立即开始
12
+
13
+ * [什么是生成列](#什么是生成列) → 了解核心概念
14
+ * [基础语法](#基础语法) → 5分钟上手使用
15
+ * [验证清单](#验证清单) → 确保正确创建
16
+ * [常见错误](#常见错误) → 快速解决问题
17
+
18
+ ### 平台迁移
19
+
20
+ * [MySQL迁移](#mysql迁移) → 从MySQL迁移指导
21
+ * [PostgreSQL迁移](#postgresql迁移) → 从PostgreSQL迁移指导
22
+ * [Oracle迁移](#oracle迁移) → 从Oracle迁移指导
23
+ * [Hive/Spark迁移](#hivespark迁移) → 从大数据平台迁移指导
24
+
25
+ ### 深入使用
26
+
27
+ * [支持函数列表](#函数支持) → 避免试错,直接查表
28
+ * [高级场景](#高级场景) → 复杂业务应用
29
+ * [性能优化](#性能优化) → 最佳实践建议
30
+
31
+ ### 问题解决
32
+
33
+ * [故障诊断](#故障诊断) → 系统性排查方法
34
+ * [快速参考](#快速参考) → 语法速查表
35
+
36
+ ***
37
+
38
+ ## 什么是生成列
39
+
40
+ 生成列(Generated Columns)是云器Lakehouse的计算列特性,能够根据其他列的值自动计算并生成新列的值。相比传统的计算列或视图方案,生成列具有更好的性能表现、更强的一致性保证和更灵活的应用场景。
41
+
42
+ ### 核心优势
43
+
44
+ * **自动计算**:基于其他列值自动计算和维护
45
+ * **逻辑一致性**:在数据库层统一计算逻辑,避免应用层逻辑分散
46
+ * **查询性能**:预计算存储,减少查询时的重复计算
47
+ * **分区支持**:可用作分区列,支持基于计算结果的分区策略
48
+ * **标准兼容**:支持常用的确定性函数和表达式
49
+
50
+ ### 适用场景
51
+
52
+ * 时间维度分析(按日期、小时等分组查询)
53
+ * 数据分类和标准化(状态判断、等级划分)
54
+ * 需要统一业务规则的场景
55
+ * 基于计算结果进行分区的需求
56
+
57
+ ***
58
+
59
+ ## 基础语法
60
+
61
+ ### 创建语法
62
+
63
+ ```sql
64
+ -- 完整的CREATE TABLE语法
65
+ CREATE TABLE table_name (
66
+ column_definition,
67
+ column_name data_type GENERATED ALWAYS AS ( expression ) [COMMENT comment],
68
+ [column_definition,...]
69
+ ) [ PARTITIONED BY (column_name) ];
70
+
71
+ -- ALTER TABLE添加生成列语法
72
+ ALTER TABLE table_name ADD COLUMN
73
+ column_name data_type GENERATED ALWAYS AS ( expression )
74
+ [COMMENT comment];
75
+ ```
76
+
77
+ ### 5分钟上手示例
78
+
79
+ ```sql
80
+ -- 创建表时定义生成列
81
+ CREATE TABLE orders (
82
+ order_id INT,
83
+ order_time TIMESTAMP_LTZ,
84
+ amount DOUBLE,
85
+ order_date STRING GENERATED ALWAYS AS (date_format(order_time, 'yyyy-MM-dd')),
86
+ order_hour INT GENERATED ALWAYS AS (hour(order_time)),
87
+ amount_level STRING GENERATED ALWAYS AS (
88
+ if(amount >= 1000, 'HIGH',
89
+ if(amount >= 500, 'MEDIUM', 'LOW'))
90
+ )
91
+ );
92
+
93
+ -- 插入数据:只需提供基础列
94
+ INSERT INTO orders (order_id, order_time, amount) VALUES
95
+ (1001, TIMESTAMP '2024-06-19 14:30:00', 299.99);
96
+
97
+ -- 查询结果:自动包含生成列
98
+ SELECT * FROM orders;
99
+ -- 结果:order_date='2024-06-19', order_hour=14, amount_level='LOW'
100
+
101
+ -- 后续添加生成列
102
+ ALTER TABLE orders ADD COLUMN
103
+ year_col INT GENERATED ALWAYS AS (year(order_time)) COMMENT '年份列';
104
+ ```
105
+
106
+ ***
107
+
108
+ ## 验证清单
109
+
110
+ ### 创建后验证(每次必做)
111
+
112
+ ```sql
113
+ -- 1. 创建带生成列的表
114
+ CREATE TABLE orders_test (
115
+ order_id INT,
116
+ order_time TIMESTAMP_LTZ,
117
+ amount DOUBLE,
118
+ hour_col INT GENERATED ALWAYS AS (hour(order_time)),
119
+ date_str STRING GENERATED ALWAYS AS (date_format(order_time, 'yyyy-MM-dd'))
120
+ );
121
+
122
+ -- 2. 验证表结构
123
+ DESCRIBE TABLE orders_test;
124
+ -- ✅ 检查:生成列是否出现在表结构中
125
+
126
+ -- 3. 测试数据插入
127
+ INSERT INTO orders_test (order_id, order_time, amount) VALUES
128
+ (1001, TIMESTAMP '2024-06-19 14:30:00', 299.99);
129
+
130
+ -- 4. 验证生成列值
131
+ SELECT order_id, order_time, hour_col, date_str FROM orders_test;
132
+ -- ✅ 检查:hour_col=14, date_str='2024-06-19'
133
+
134
+ -- 5. 验证插入保护机制
135
+ -- INSERT INTO orders_test (order_id, order_time, hour_col) VALUES
136
+ -- (1002, TIMESTAMP '2024-06-19 15:30:00', 999);
137
+ -- ✅ 检查:应该报错"cannot insert or update generated column"
138
+
139
+ -- 6. 验证ALTER TABLE添加生成列
140
+ ALTER TABLE orders_test ADD COLUMN
141
+ year_col INT GENERATED ALWAYS AS (year(order_time));
142
+
143
+ -- 7. 验证存量数据回填
144
+ SELECT order_id, order_time, year_col FROM orders_test;
145
+ -- ✅ 检查:year_col=2024(存量数据自动计算)
146
+ ```
147
+
148
+ ### 验证失败解决方案
149
+
150
+ | 验证失败现象 | 可能原因 | 解决方案 |
151
+ | -------------- | --------------- | ----------------------- |
152
+ | 生成列未出现在表结构中 | 建表语法错误 | 用原生SQL重新创建 |
153
+ | 生成列值为null或错误 | 表达式语法错误 | 检查生成表达式 |
154
+ | 插入时不报错但能指定生成列值 | 生成列语法不正确 | 检查GENERATED ALWAYS AS语法 |
155
+ | 存量数据回填失败 | ALTER TABLE语法问题 | 重新执行ALTER语句 |
156
+
157
+ ***
158
+
159
+ ## 常见错误
160
+
161
+ | 错误信息 | 原因 | 解决方案 |
162
+ | ----------------------------------------------------------------------- | ------------------- | ------------------- |
163
+ | `cannot insert or update generated column` | 尝试手动指定生成列的值 | 只插入基础列,移除生成列赋值 |
164
+ | `Generated column only contains built-in/scalar/deterministic function` | 使用了CASE WHEN或不支持的函数 | 改用if()函数嵌套或检查函数支持列表 |
165
+ | `expression contains non-deterministic function` | 使用了非确定性函数 | 改用确定性函数 |
166
+ | `function not found - initcap` | 使用了不存在的函数 | 使用其他字符串函数组合实现 |
167
+ | `Expected: 2, Found: 1` | 函数参数数量错误 | 检查函数正确语法 |
168
+
169
+ ***
170
+
171
+ ## 支持函数列表
172
+
173
+ ### 时间日期函数
174
+
175
+ ```sql
176
+ -- 时间提取
177
+ year(timestamp_col) -- 提取年份 ✅
178
+ month(timestamp_col) -- 提取月份(1-12) ✅
179
+ day(timestamp_col) -- 提取日期(1-31) ✅
180
+ hour(timestamp_col) -- 提取小时(0-23) ✅
181
+ minute(timestamp_col) -- 提取分钟(0-59) ✅
182
+ second(timestamp_col) -- 提取秒数(0-59) ✅
183
+ dayofweek(timestamp_col) -- 星期几(1=周日) ✅
184
+ quarter(timestamp_col) -- 季度(1-4) ✅
185
+ dayofyear(timestamp_col) -- 一年中的第几天 ✅
186
+ weekofyear(timestamp_col) -- 一年中的第几周 ✅
187
+
188
+ -- 日期格式化
189
+ date_format(timestamp_col, 'yyyy-MM-dd') -- 2024-06-19 ✅
190
+ date_format(timestamp_col, 'yyyy-MM-dd HH:mm:ss') -- 2024-06-19 14:30:00 ✅
191
+ date_format(timestamp_col, 'yyyy-MM') -- 2024-06 ✅
192
+
193
+ -- 推荐的季度格式
194
+ concat(cast(year(timestamp_col) as string), '-Q', cast(quarter(timestamp_col) as string)) -- 2024-Q2 ✅
195
+
196
+ -- 日期计算
197
+ date_add(date_col, days) -- 日期加天数 ✅
198
+ date_sub(date_col, days) -- 日期减天数 ✅
199
+ datediff(date1, date2) -- 两个日期的天数差 ✅
200
+ ```
201
+
202
+ ### 字符串函数
203
+
204
+ ```sql
205
+ -- 大小写转换
206
+ upper(string_col) -- 转大写 ✅
207
+ lower(string_col) -- 转小写 ✅
208
+
209
+ -- 字符串操作
210
+ length(string_col) -- 字符串长度 ✅
211
+ substring(string_col, start, length) -- 字符串截取 ✅
212
+ left(string_col, length) -- 左侧截取 ✅
213
+ right(string_col, length) -- 右侧截取 ✅
214
+ position(substr, string) -- 查找子字符串位置 ✅
215
+
216
+ -- 拼接和替换
217
+ concat(str1, str2, ...) -- 字符串拼接 ✅
218
+ concat_ws(separator, str1, str2, ...) -- 带分隔符拼接 ✅
219
+ replace(string_col, old_str, new_str) -- 字符串替换 ✅
220
+
221
+ -- 去空格和填充
222
+ trim(string_col) -- 去除首尾空格 ✅
223
+ ltrim(string_col) -- 去除左侧空格 ✅
224
+ rtrim(string_col) -- 去除右侧空格 ✅
225
+ lpad(string_col, length, pad_str) -- 左侧填充 ✅
226
+ rpad(string_col, length, pad_str) -- 右侧填充 ✅
227
+
228
+ -- 正则表达式
229
+ regexp_replace(string_col, pattern, replacement) -- 正则替换 ✅
230
+ regexp_extract(string_col, pattern, group_idx) -- 正则提取 ✅
231
+ ```
232
+
233
+ ### 数学函数
234
+
235
+ ```sql
236
+ -- 基础数学运算
237
+ abs(number_col) -- 绝对值 ✅
238
+ round(number_col, decimals) -- 四舍五入 ✅
239
+ ceil(number_col) -- 向上取整 ✅
240
+ floor(number_col) -- 向下取整 ✅
241
+ mod(number_col, divisor) -- 取模运算 ✅
242
+
243
+ -- 数学计算
244
+ pow(base, exponent) -- 幂运算 ✅
245
+ sqrt(number_col) -- 平方根 ✅
246
+ log10(number_col) -- 以10为底的对数 ✅
247
+ exp(number_col) -- e的幂次方 ✅
248
+ ```
249
+
250
+ ### 类型转换函数
251
+
252
+ ```sql
253
+ -- 常用类型转换
254
+ cast(value as target_type) -- 标准类型转换 ✅
255
+ string(number_col) -- 转为字符串 ✅
256
+ int(string_col) -- 转为整数 ✅
257
+ double(string_col) -- 转为双精度 ✅
258
+
259
+ -- 安全转换
260
+ try_cast(value as target_type) -- 转换失败返回null ✅
261
+ ```
262
+
263
+ ### 条件表达式
264
+
265
+ ```sql
266
+ -- ✅ 支持:if函数(三元表达式)
267
+ if(condition, true_value, false_value)
268
+
269
+ -- ✅ 支持:复杂嵌套
270
+ if(condition1, value1,
271
+ if(condition2, value2,
272
+ if(condition3, value3, default_value)))
273
+
274
+ -- ❌ 不支持:CASE WHEN
275
+ -- CASE WHEN condition1 THEN value1 ELSE value2 END
276
+
277
+ -- 空值处理
278
+ coalesce(value1, value2, default_value) -- 返回第一个非null值 ✅
279
+ nvl(value, default_value) -- 如果value为null则返回default_value ✅
280
+ isnull(value) -- 判断是否为null ✅
281
+ isnan(value) -- 判断是否为NaN ✅
282
+ ```
283
+
284
+ ### JSON函数
285
+
286
+ ```sql
287
+ -- JSON提取
288
+ get_json_object(json_col, '$.field') -- 提取JSON字段值 ✅
289
+ json_extract(json_col, '$.field') -- 同上,别名 ✅
290
+ ```
291
+
292
+ ### 不支持的函数类型
293
+
294
+ ```sql
295
+ -- ❌ 非确定性函数
296
+ current_timestamp() -- 当前时间戳
297
+ current_date() -- 当前日期
298
+ random() -- 随机数
299
+ uuid() -- UUID生成
300
+
301
+ -- ❌ 聚合函数
302
+ sum(column) -- 求和
303
+ count(column) -- 计数
304
+ avg(column) -- 平均值
305
+
306
+ -- ❌ 窗口函数
307
+ row_number() -- 行号
308
+ rank() -- 排名
309
+ lag(column, offset) -- 前一行值
310
+ ```
311
+
312
+ ***
313
+
314
+ ## 平台迁移指导
315
+
316
+ ### MySQL迁移
317
+
318
+ ```sql
319
+ -- MySQL语法
320
+ -- CREATE TABLE mysql_table (
321
+ -- id INT,
322
+ -- price DECIMAL(10,2),
323
+ -- tax DECIMAL(10,2) AS (price * 0.1) STORED
324
+ -- );
325
+
326
+ -- 云器Lakehouse等价语法
327
+ CREATE TABLE lakehouse_table (
328
+ id INT,
329
+ price DECIMAL(10,2),
330
+ tax DECIMAL(10,2) GENERATED ALWAYS AS (price * 0.1)
331
+ );
332
+
333
+ -- 主要差异:
334
+ -- 1. MySQL: AS (expression) [STORED|VIRTUAL]
335
+ -- 2. Lakehouse: GENERATED ALWAYS AS (expression)
336
+ -- 3. Lakehouse只支持STORED模式(物理存储)
337
+ ```
338
+
339
+ ### PostgreSQL迁移
340
+
341
+ ```sql
342
+ -- PostgreSQL语法
343
+ -- CREATE TABLE postgres_table (
344
+ -- id INT,
345
+ -- first_name TEXT,
346
+ -- last_name TEXT,
347
+ -- full_name TEXT GENERATED ALWAYS AS (first_name || ' ' || last_name) STORED
348
+ -- );
349
+
350
+ -- 云器Lakehouse等价语法
351
+ CREATE TABLE lakehouse_table (
352
+ id INT,
353
+ first_name STRING,
354
+ last_name STRING,
355
+ full_name STRING GENERATED ALWAYS AS (concat(first_name, ' ', last_name))
356
+ );
357
+
358
+ -- 主要差异:
359
+ -- 1. 字符串连接:PostgreSQL用||,Lakehouse用concat()函数
360
+ ```
361
+
362
+ ### Oracle迁移
363
+
364
+ ```sql
365
+ -- Oracle虚拟列语法
366
+ -- CREATE TABLE oracle_table (
367
+ -- id NUMBER,
368
+ -- birth_date DATE,
369
+ -- age NUMBER GENERATED ALWAYS AS (
370
+ -- FLOOR(MONTHS_BETWEEN(SYSDATE, birth_date) / 12)
371
+ -- ) VIRTUAL
372
+ -- );
373
+
374
+ -- 云器Lakehouse调整后语法
375
+ CREATE TABLE lakehouse_table (
376
+ id INT,
377
+ birth_date DATE,
378
+ -- Oracle的SYSDATE是非确定性的,需要重新设计
379
+ year_part INT GENERATED ALWAYS AS (year(birth_date))
380
+ );
381
+
382
+ -- 主要差异:
383
+ -- 1. Oracle支持非确定性函数,Lakehouse不支持
384
+ -- 2. Oracle的CASE WHEN支持,Lakehouse需要用if()嵌套
385
+ ```
386
+
387
+ ### Hive/Spark迁移
388
+
389
+ ```sql
390
+ -- Hive/Spark通常使用视图
391
+ -- CREATE VIEW hive_view AS
392
+ -- SELECT id, event_time,
393
+ -- hour(event_time) as hour_col,
394
+ -- date_format(event_time, 'yyyy-MM-dd') as date_str
395
+ -- FROM raw_table;
396
+
397
+ -- 云器Lakehouse生成列:真实物理存储,性能更好
398
+ CREATE TABLE lakehouse_table (
399
+ id INT,
400
+ event_time TIMESTAMP_LTZ,
401
+ hour_col INT GENERATED ALWAYS AS (hour(event_time)),
402
+ date_str STRING GENERATED ALWAYS AS (date_format(event_time, 'yyyy-MM-dd'))
403
+ );
404
+
405
+ -- 优势对比:
406
+ -- Hive/Spark视图:查询时计算,性能开销大
407
+ -- Lakehouse生成列:预计算存储,查询性能好
408
+ ```
409
+
410
+ ***
411
+
412
+ ## 高级使用场景
413
+
414
+ ### 生成列 + 分区组合
415
+
416
+ ```sql
417
+ -- 时间分区自动化
418
+ CREATE TABLE sales_auto_partition (
419
+ sale_id INT,
420
+ customer_id INT,
421
+ sale_time TIMESTAMP_LTZ,
422
+ amount DOUBLE,
423
+ sale_date STRING GENERATED ALWAYS AS (date_format(sale_time, 'yyyy-MM-dd'))
424
+ ) PARTITIONED BY (sale_date);
425
+
426
+ -- 插入数据:无需计算分区值
427
+ INSERT INTO sales_auto_partition (sale_id, customer_id, sale_time, amount) VALUES
428
+ (1001, 5001, TIMESTAMP '2024-06-19 14:30:00', 299.99),
429
+ (1002, 5002, TIMESTAMP '2024-06-20 09:15:00', 599.00);
430
+
431
+ -- 查询优势:自动分区裁剪
432
+ SELECT * FROM sales_auto_partition
433
+ WHERE sale_time >= '2024-06-19' -- 自动转换为分区条件
434
+ AND customer_id = 5001;
435
+ ```
436
+
437
+ ### 复杂业务逻辑封装
438
+
439
+ ```sql
440
+ -- 业务逻辑封装在生成列中
441
+ CREATE TABLE order_analysis (
442
+ order_id INT,
443
+ customer_id INT,
444
+ order_time TIMESTAMP_LTZ,
445
+ amount DOUBLE,
446
+
447
+ -- 时间维度生成列
448
+ order_date STRING GENERATED ALWAYS AS (date_format(order_time, 'yyyy-MM-dd')),
449
+ order_hour INT GENERATED ALWAYS AS (hour(order_time)),
450
+ order_quarter STRING GENERATED ALWAYS AS (
451
+ concat(cast(year(order_time) as string), '-Q', cast(quarter(order_time) as string))
452
+ ),
453
+
454
+ -- 业务逻辑生成列(使用if()嵌套)
455
+ amount_level STRING GENERATED ALWAYS AS (
456
+ if(amount >= 1000, 'HIGH',
457
+ if(amount >= 500, 'MEDIUM', 'LOW'))
458
+ ),
459
+
460
+ -- 时间段分类
461
+ time_period STRING GENERATED ALWAYS AS (
462
+ if(hour(order_time) >= 6 AND hour(order_time) <= 11, 'MORNING',
463
+ if(hour(order_time) >= 12 AND hour(order_time) <= 17, 'AFTERNOON',
464
+ if(hour(order_time) >= 18 AND hour(order_time) <= 23, 'EVENING', 'NIGHT')))
465
+ )
466
+ ) PARTITIONED BY (order_date);
467
+ ```
468
+
469
+ ### 数据质量保证
470
+
471
+ ```sql
472
+ -- 数据标准化和清洗
473
+ CREATE TABLE customer_data_clean (
474
+ customer_id INT,
475
+ raw_phone STRING,
476
+ raw_email STRING,
477
+ registration_time TIMESTAMP_LTZ,
478
+
479
+ -- 数据清洗生成列
480
+ clean_phone STRING GENERATED ALWAYS AS (
481
+ regexp_replace(raw_phone, '[^0-9]', '') -- 只保留数字
482
+ ),
483
+ clean_email STRING GENERATED ALWAYS AS (
484
+ lower(trim(raw_email)) -- 转小写并去空格
485
+ ),
486
+
487
+ -- 数据验证生成列
488
+ phone_valid STRING GENERATED ALWAYS AS (
489
+ if(length(regexp_replace(raw_phone, '[^0-9]', '')) = 11, 'VALID', 'INVALID')
490
+ ),
491
+ email_valid STRING GENERATED ALWAYS AS (
492
+ if(raw_email LIKE '%@%' AND raw_email LIKE '%.%', 'VALID', 'INVALID')
493
+ ),
494
+
495
+ -- 注册时间维度
496
+ reg_date STRING GENERATED ALWAYS AS (date_format(registration_time, 'yyyy-MM-dd'))
497
+ ) PARTITIONED BY (reg_date);
498
+ ```
499
+
500
+ ### IoT传感器数据处理
501
+
502
+ ```sql
503
+ -- IoT数据处理表
504
+ CREATE TABLE iot_sensor_data (
505
+ sensor_id STRING,
506
+ device_id STRING,
507
+ timestamp_utc TIMESTAMP_LTZ,
508
+ temperature DOUBLE,
509
+ humidity DOUBLE,
510
+ pressure DOUBLE,
511
+
512
+ -- 时间维度生成列
513
+ date_str STRING GENERATED ALWAYS AS (date_format(timestamp_utc, 'yyyy-MM-dd')),
514
+ hour_int INT GENERATED ALWAYS AS (hour(timestamp_utc)),
515
+
516
+ -- 数据质量生成列
517
+ temp_status STRING GENERATED ALWAYS AS (
518
+ if(temperature IS NULL, 'MISSING',
519
+ if(temperature < -50 OR temperature > 80, 'OUTLIER', 'NORMAL'))
520
+ ),
521
+
522
+ -- 业务分析生成列
523
+ temp_level STRING GENERATED ALWAYS AS (
524
+ if(temperature >= 30, 'HOT',
525
+ if(temperature >= 20, 'WARM',
526
+ if(temperature >= 10, 'COOL', 'COLD')))
527
+ ),
528
+
529
+ -- 15分钟时间块
530
+ time_block STRING GENERATED ALWAYS AS (
531
+ concat(
532
+ cast(hour(timestamp_utc) as string),
533
+ ':',
534
+ cast((minute(timestamp_utc) / 15) * 15 as string)
535
+ )
536
+ )
537
+ ) PARTITIONED BY (date_str);
538
+ ```
539
+
540
+ ***
541
+
542
+ ## 使用限制和避坑指南
543
+
544
+ ### 关键限制
545
+
546
+ #### 1. 条件表达式限制
547
+
548
+ ```sql
549
+ -- ❌ 错误:使用CASE WHEN表达式(不支持)
550
+ CREATE TABLE wrong_table (
551
+ score INT,
552
+ grade STRING GENERATED ALWAYS AS (
553
+ CASE
554
+ WHEN score >= 90 THEN 'A'
555
+ WHEN score >= 80 THEN 'B'
556
+ ELSE 'C'
557
+ END
558
+ )
559
+ );
560
+
561
+ -- ✅ 正确做法:使用if()函数嵌套
562
+ CREATE TABLE correct_table (
563
+ score INT,
564
+ grade STRING GENERATED ALWAYS AS (
565
+ if(score >= 90, 'A',
566
+ if(score >= 80, 'B', 'C'))
567
+ )
568
+ );
569
+ ```
570
+
571
+ #### 2. 函数支持限制
572
+
573
+ ```sql
574
+ -- ❌ 常见错误:使用不支持的函数
575
+ CREATE TABLE wrong_functions (
576
+ id INT,
577
+ created_at TIMESTAMP_LTZ GENERATED ALWAYS AS (current_timestamp()), -- 非确定性
578
+ random_val DOUBLE GENERATED ALWAYS AS (random()), -- 非确定性
579
+ name_cap STRING GENERATED ALWAYS AS (initcap('test')) -- 函数不存在
580
+ );
581
+
582
+ -- ✅ 正确做法:使用支持的确定性函数
583
+ CREATE TABLE correct_functions (
584
+ id INT,
585
+ input_time TIMESTAMP_LTZ,
586
+ hour_part INT GENERATED ALWAYS AS (hour(input_time)),
587
+ formatted STRING GENERATED ALWAYS AS (date_format(input_time, 'yyyy-MM-dd'))
588
+ );
589
+ ```
590
+
591
+ #### 3. ALTER TABLE限制
592
+
593
+ ```sql
594
+ -- ❌ 错误:不能在已有列上添加生成列属性
595
+ -- ALTER TABLE existing_table MODIFY COLUMN existing_col GENERATED ALWAYS AS (expression);
596
+
597
+ -- ✅ 正确做法:只能添加新的生成列
598
+ ALTER TABLE existing_table ADD COLUMN
599
+ new_generated_col INT GENERATED ALWAYS AS (expression);
600
+ ```
601
+
602
+ ### 最佳实践
603
+
604
+ 1. **表达式设计原则**
605
+ * 使用if()嵌套替代CASE WHEN
606
+ * 使用简单确定性函数
607
+ * 确保表达式性能良好
608
+ * 注意返回类型与列类型匹配
609
+
610
+ 2. **命名规范建议**
611
+ ```sql
612
+ CREATE TABLE naming_example (
613
+ raw_timestamp TIMESTAMP_LTZ, -- 基础列:原始数据
614
+ gen_hour INT GENERATED ALWAYS AS (hour(raw_timestamp)), -- 生成列:gen_前缀
615
+ gen_date STRING GENERATED ALWAYS AS (date_format(raw_timestamp, 'yyyy-MM-dd'))
616
+ );
617
+ ```
618
+
619
+ 3. **函数使用建议**
620
+ * 验证函数支持:新函数使用前先创建测试表验证
621
+ * 使用try\_cast进行安全转换
622
+ * 注意函数语法差异
623
+
624
+ ***
625
+
626
+ ## 实战迁移案例
627
+
628
+ ### 案例1:电商订单表迁移(MySQL → 云器Lakehouse)
629
+
630
+ #### 原始MySQL表结构
631
+
632
+ ```sql
633
+ -- 原MySQL表:手动计算衍生字段
634
+ CREATE TABLE orders_mysql (
635
+ order_id INT PRIMARY KEY,
636
+ customer_id INT,
637
+ order_time TIMESTAMP,
638
+ amount DECIMAL(10,2),
639
+ order_date DATE, -- 手动计算
640
+ order_hour INT, -- 手动计算
641
+ amount_level VARCHAR(10) -- 手动计算
642
+ );
643
+ ```
644
+
645
+ #### 云器Lakehouse生成列方案
646
+
647
+ ```sql
648
+ -- 迁移后的设计
649
+ CREATE TABLE orders_lakehouse (
650
+ order_id INT,
651
+ customer_id INT,
652
+ order_time TIMESTAMP_LTZ,
653
+ amount DOUBLE,
654
+ -- 生成列:自动计算,确保一致性
655
+ order_date STRING GENERATED ALWAYS AS (date_format(order_time, 'yyyy-MM-dd')),
656
+ order_hour INT GENERATED ALWAYS AS (hour(order_time)),
657
+ amount_level STRING GENERATED ALWAYS AS (
658
+ if(amount >= 1000, 'HIGH',
659
+ if(amount >= 500, 'MEDIUM', 'LOW'))
660
+ )
661
+ ) PARTITIONED BY (order_date);
662
+
663
+ -- 应用程序只需插入基础字段
664
+ INSERT INTO orders_lakehouse (order_id, customer_id, order_time, amount) VALUES
665
+ (1001, 5001, TIMESTAMP '2024-06-19 14:30:00', 299.99);
666
+ ```
667
+
668
+ #### 迁移效果对比
669
+
670
+ * **查询速度**:提升60%(避免重复计算)
671
+ * **开发效率**:提升80%(无需手动计算逻辑)
672
+ * **数据一致性**:提升100%(统一计算逻辑)
673
+
674
+ ***
675
+
676
+ ## 性能优化建议
677
+
678
+ ### 索引策略
679
+
680
+ * 为经常用于WHERE条件和GROUP BY的生成列创建索引
681
+ * 时间维度的生成列通常需要索引
682
+ * 监控生成列的基数,基数过低的生成列不适合创建索引
683
+
684
+ ### 表达式优化
685
+
686
+ * 表达式设计要简洁高效
687
+ * 避免过于复杂的嵌套if()语句
688
+ * 复杂逻辑可以拆分为多个简单的生成列
689
+ * 建议每张表的生成列数量控制在5-10个以内
690
+
691
+ ### 查询优化
692
+
693
+ * 使用生成列而不是重新计算原表达式
694
+ * 确保分区值分布均匀,避免数据倾斜
695
+ * 定期检查生成列的查询性能表现
696
+
697
+ ***
698
+
699
+ ## 故障排查手册
700
+
701
+ ### 基础功能验证
702
+
703
+ ```sql
704
+ -- 1. 表结构验证
705
+ DESCRIBE TABLE your_table_name;
706
+ -- 检查:生成列是否出现在列表中,数据类型是否正确
707
+
708
+ -- 2. 基本插入测试
709
+ INSERT INTO your_table_name (base_column1, base_column2) VALUES (test_value1, test_value2);
710
+ -- 检查:是否能成功插入数据
711
+
712
+ -- 3. 生成列值验证
713
+ SELECT base_column1, base_column2, generated_column1, generated_column2 FROM your_table_name;
714
+ -- 检查:生成列的值是否符合预期表达式结果
715
+
716
+ -- 4. 插入保护机制验证
717
+ -- INSERT INTO your_table_name (base_column1, generated_column1) VALUES (value1, invalid_value);
718
+ -- 检查:是否正确报错"cannot insert or update generated column"
719
+ ```
720
+
721
+ ### 高级功能验证
722
+
723
+ ```sql
724
+ -- 5. 分区生成列验证(如果使用)
725
+ SHOW PARTITIONS your_partitioned_table;
726
+ -- 检查:分区是否按生成列的值正确创建
727
+
728
+ -- 6. 复杂表达式验证
729
+ SELECT generated_column,
730
+ manual_calculation_expression, -- 手动计算作为对比
731
+ if(generated_column = manual_calculation_expression, 'MATCH', 'MISMATCH') as validation
732
+ FROM your_table_name;
733
+ -- 检查:生成列值与手动计算是否一致
734
+ ```
735
+
736
+ ### 常见问题排查
737
+
738
+ #### 问题1:CASE WHEN表达式不支持
739
+
740
+ **解决方案**:改用if()嵌套
741
+
742
+ ```sql
743
+ -- 原CASE WHEN逻辑:
744
+ -- CASE WHEN score >= 90 THEN 'A' WHEN score >= 80 THEN 'B' ELSE 'C' END
745
+
746
+ -- 改为if()嵌套:
747
+ if(score >= 90, 'A', if(score >= 80, 'B', 'C'))
748
+ ```
749
+
750
+ #### 问题2:函数不支持
751
+
752
+ **解决方案**:使用支持的函数替代
753
+
754
+ ```sql
755
+ -- log(x) -> log10(x)
756
+ -- initcap(str) -> 使用upper/lower组合
757
+ -- CASE WHEN -> if()嵌套
758
+ ```
759
+
760
+ ***
761
+
762
+ ## 快速参考
763
+
764
+ ### 生成列管理常用语法
765
+
766
+ | 功能 | 语法模板 | 使用场景 |
767
+ | ---------- | ----------------------------------------------------------------------- | ------ |
768
+ | **创建表时定义** | `column_name data_type GENERATED ALWAYS AS (expression)` | 新表设计 |
769
+ | **添加生成列** | `ALTER TABLE table ADD COLUMN col_name type GENERATED ALWAYS AS (expr)` | 表结构演进 |
770
+ | **时间维度提取** | `GENERATED ALWAYS AS (hour/day/month/year(timestamp_col))` | 时间分析 |
771
+ | **字符串格式化** | `GENERATED ALWAYS AS (date_format(time_col, 'format'))` | 日期格式转换 |
772
+ | **条件逻辑** | `GENERATED ALWAYS AS (if(condition, value, default))` | 业务分类 |
773
+ | **嵌套条件** | `GENERATED ALWAYS AS (if(cond1, val1, if(cond2, val2, val3)))` | 复杂业务逻辑 |
774
+
775
+ ### 平台语法对照
776
+
777
+ | 功能 | MySQL语法 | PostgreSQL语法 | Lakehouse语法 |
778
+ | --------- | ------------------------ | ----------------------------------------- | ---------------------------------- |
779
+ | **基本生成列** | `AS (expression) STORED` | `GENERATED ALWAYS AS (expression) STORED` | `GENERATED ALWAYS AS (expression)` |
780
+ | **字符串连接** | `CONCAT(col1, col2)` | `col1 \|\| col2` | `concat(col1, col2)` |
781
+ | **条件表达式** | `CASE WHEN ... END` | `CASE WHEN ... END` | `if(condition, value, default)` |
782
+
783
+ ### 条件逻辑对照表
784
+
785
+ | 传统CASE WHEN | Lakehouse if()嵌套 |
786
+ | -------------------------------------------------------------------------------------- | ---------------------------------------------------------------- |
787
+ | `CASE WHEN score >= 90 THEN 'A' ELSE 'B' END` | `if(score >= 90, 'A', 'B')` |
788
+ | `CASE WHEN amount >= 1000 THEN 'HIGH' WHEN amount >= 500 THEN 'MEDIUM' ELSE 'LOW' END` | `if(amount >= 1000, 'HIGH', if(amount >= 500, 'MEDIUM', 'LOW'))` |
789
+
790
+ ### 确定性函数速查
791
+
792
+ | 类别 | 支持的函数 | 典型用法 |
793
+ | --------- | ------------------------------------------------------------ | ------------------------------------- |
794
+ | **时间函数** | `year, month, day, hour, minute, second, quarter, dayofweek` | `hour(timestamp_col)` |
795
+ | **日期格式** | `date_format, date_add, date_sub, datediff` | `date_format(date_col, 'yyyy-MM-dd')` |
796
+ | **字符串函数** | `upper, lower, length, substring, trim, concat, concat_ws` | `upper(string_col)` |
797
+ | **数学函数** | `abs, round, ceil, floor, mod, sqrt, pow, log10` | `round(number_col, 2)` |
798
+ | **条件表达式** | `if(condition, true_val, false_val)` | 业务逻辑分类 |
799
+ | **类型转换** | `cast, try_cast` | `cast(number_col as string)` |
800
+
801
+ ***
802
+
803
+ ## 总结
804
+
805
+ ### 核心价值
806
+
807
+ 1. **统一计算逻辑**:避免应用层计算差异,确保数据一致性
808
+ 2. **简化查询开发**:预计算常用的衍生字段,减少重复编码
809
+ 3. **支持灵活分区**:基于计算结果自动分区,优化查询性能
810
+ 4. **降低维护成本**:集中定义计算规则,统一管理业务逻辑
811
+
812
+ ### 实施检查清单
813
+
814
+ #### 设计阶段
815
+
816
+ * [ ] 确认表达式只使用确定性函数
817
+ * [ ] 将CASE WHEN改为if()嵌套语法
818
+ * [ ] 验证表达式返回类型与列类型匹配
819
+ * [ ] 评估生成列的查询频率和性能价值
820
+
821
+ #### 实施阶段
822
+
823
+ * [ ] 使用原生SQL语法创建生成列
824
+ * [ ] 执行完整的验证清单
825
+ * [ ] 测试插入保护机制是否正常
826
+ * [ ] 验证存量数据自动回填功能
827
+
828
+ #### 优化阶段
829
+
830
+ * [ ] 为高频查询的生成列创建索引
831
+ * [ ] 监控生成列的查询性能表现
832
+ * [ ] 定期评估和优化表达式复杂度
833
+ * [ ] 建立生成列使用的团队规范
834
+
835
+ ### 关键要点
836
+
837
+ **对于从传统关系型数据库迁移的用户**:
838
+ 生成列可以极大简化您的应用架构。原来需要在应用程序中维护的计算逻辑,现在可以统一定义在数据库层,确保数据一致性的同时提升查询性能。注意将CASE WHEN表达式改为if()嵌套语法。
839
+
840
+ **对于从大数据平台迁移的用户**:
841
+ 相比视图或子查询方案,生成列提供了更好的性能保证。预计算并物理存储的特性,让您的分析查询响应更快,运维更简单。分区生成列功能特别适合大数据场景。
842
+
843
+ 生成列不仅仅是一个技术特性,而是数据架构现代化的重要工具。正确使用生成列,您将获得更高的开发效率、更好的数据一致性和更优的查询性能。
844
+
845
+ ***
846
+
847
+ **注意**:本文档基于Lakehouse 2025年6月的产品文档整理,建议定期查看官方文档获取最新更新。在生产环境中使用前,请务必在测试环境中验证所有操作的正确性和性能影响。