@clickzetta/cz-cli-darwin-x64 0.3.95 → 0.3.96

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1893) hide show
  1. package/bin/cz-cli +0 -0
  2. package/bin/skills/clickzetta-batch-sync-pipeline/SKILL.md +1 -30
  3. package/bin/skills/clickzetta-cdc-sync-pipeline/SKILL.md +100 -534
  4. package/bin/skills/clickzetta-cdc-sync-pipeline/references/troubleshooting.md +155 -0
  5. package/bin/skills/clickzetta-data-ingest-pipeline/SKILL.md +5 -5
  6. package/bin/skills/clickzetta-data-science/SKILL.md +82 -84
  7. package/bin/skills/clickzetta-dbt-modeling/SKILL.md +347 -0
  8. package/bin/skills/clickzetta-dbt-modeling/references/grant-patterns.md +69 -0
  9. package/bin/skills/clickzetta-dbt-modeling/references/incremental-patterns.md +165 -0
  10. package/bin/skills/clickzetta-dbt-modeling/references/materialization-guide.md +324 -0
  11. package/bin/skills/clickzetta-dbt-modeling/references/test-strategy.md +80 -0
  12. package/bin/skills/clickzetta-dbt-project-setup/SKILL.md +176 -0
  13. package/bin/skills/clickzetta-dbt-project-setup/references/dbt-clickzetta-adapter.md +101 -0
  14. package/bin/skills/clickzetta-dbt-project-setup/references/elt-standards.md +220 -0
  15. package/bin/skills/clickzetta-dbt-studio-pipeline/SKILL.md +206 -0
  16. package/bin/skills/clickzetta-dbt-studio-pipeline/references/parameter-guide.md +118 -0
  17. package/bin/skills/clickzetta-dbt-studio-pipeline/references/studio-task-sop.md +115 -0
  18. package/bin/skills/clickzetta-dw-modeling/SKILL.md +130 -261
  19. package/bin/skills/clickzetta-dw-modeling/references/modeling-patterns.md +159 -67
  20. package/bin/skills/clickzetta-dynamic-table/SKILL.md +15 -51
  21. package/bin/skills/clickzetta-dynamic-table/dt-creator/SKILL.md +3 -5
  22. package/bin/skills/clickzetta-dynamic-table/sql-to-dt/SKILL.md +7 -1
  23. package/bin/skills/clickzetta-file-import-pipeline/SKILL.md +81 -106
  24. package/bin/skills/clickzetta-kafka-ingest-pipeline/SKILL.md +56 -327
  25. package/bin/skills/clickzetta-kafka-ingest-pipeline/references/operations.md +76 -0
  26. package/bin/skills/clickzetta-oss-ingest-pipeline/SKILL.md +1 -30
  27. package/bin/skills/clickzetta-overview/SKILL.md +54 -62
  28. package/bin/skills/clickzetta-overview/references/brands-and-endpoints.md +33 -35
  29. package/bin/skills/clickzetta-overview/references/object-model.md +167 -168
  30. package/bin/skills/clickzetta-overview/references/studio-modules.md +91 -91
  31. package/bin/skills/clickzetta-pipeline-review/SKILL.md +125 -210
  32. package/bin/skills/clickzetta-realtime-sync-pipeline/SKILL.md +1 -22
  33. package/bin/skills/clickzetta-spark-flink-connector/SKILL.md +28 -27
  34. package/bin/skills/clickzetta-spark-flink-connector/references/flink.md +356 -49
  35. package/bin/skills/clickzetta-sql-migration/SKILL.md +10 -20
  36. package/bin/skills/clickzetta-sql-pipeline-manager/SKILL.md +79 -419
  37. package/bin/skills/clickzetta-sql-pipeline-manager/references/dynamic-table.md +45 -45
  38. package/bin/skills/clickzetta-sql-pipeline-manager/references/materialized-view.md +25 -25
  39. package/bin/skills/clickzetta-sql-pipeline-manager/references/pipe.md +48 -48
  40. package/bin/skills/clickzetta-sql-pipeline-manager/references/scenarios.md +141 -0
  41. package/bin/skills/clickzetta-sql-pipeline-manager/references/table-stream.md +30 -30
  42. package/bin/skills/clickzetta-sql-pipeline-manager/references/troubleshooting.md +57 -0
  43. package/bin/skills/clickzetta-studio-task-manager/SKILL.md +83 -576
  44. package/bin/skills/clickzetta-studio-task-manager/references/engineering-sop.md +123 -0
  45. package/bin/skills/clickzetta-studio-task-manager/references/troubleshooting.md +63 -0
  46. package/bin/skills/clickzetta-table-lineage/SKILL.md +4 -3
  47. package/bin/skills/clickzetta-table-stream-pipeline/SKILL.md +116 -114
  48. package/bin/skills/clickzetta-zettapark/SKILL.md +36 -203
  49. package/bin/skills/clickzetta-zettapark/references/zettapark-api.md +143 -64
  50. package/bin/skills/cz-cli/SKILL.md +16 -16
  51. package/bin/skills/cz-cli/references/profile-setup.md +8 -8
  52. package/bin/skills/lakehouse-doc-en/SKILL.md +130 -0
  53. package/bin/skills/lakehouse-doc-en/SKILL.md.template +49 -0
  54. package/bin/skills/lakehouse-doc-en/references/AI Gateway Guide.md +1 -0
  55. package/bin/skills/lakehouse-doc-en/references/AIGateway.md +27 -0
  56. package/bin/skills/lakehouse-doc-en/references/AI_COMPLETE.md +239 -0
  57. package/bin/skills/lakehouse-doc-en/references/AI_EMBEDDING.md +192 -0
  58. package/bin/skills/lakehouse-doc-en/references/AI_Gateway.md +253 -0
  59. package/bin/skills/lakehouse-doc-en/references/AI_Gateway_Guide.md +1 -0
  60. package/bin/skills/lakehouse-doc-en/references/AI_eco.md +34 -0
  61. package/bin/skills/lakehouse-doc-en/references/AI_function_in_SQL.md +355 -0
  62. package/bin/skills/lakehouse-doc-en/references/AI_function_overview.md +25 -0
  63. package/bin/skills/lakehouse-doc-en/references/AI_ready_data_overview.md +82 -0
  64. package/bin/skills/lakehouse-doc-en/references/ALTER-EXTERNAL-TABLE.md +120 -0
  65. package/bin/skills/lakehouse-doc-en/references/ALTER-SCHEMA.md +86 -0
  66. package/bin/skills/lakehouse-doc-en/references/ALTER-TABLE-COLUMN.md +223 -0
  67. package/bin/skills/lakehouse-doc-en/references/ALTERTABLE.md +73 -0
  68. package/bin/skills/lakehouse-doc-en/references/APIKEYManage.md +1 -0
  69. package/bin/skills/lakehouse-doc-en/references/ARRAY.md +261 -0
  70. package/bin/skills/lakehouse-doc-en/references/Analysis.md +149 -0
  71. package/bin/skills/lakehouse-doc-en/references/AnalyticsModernDataStack.md +386 -0
  72. package/bin/skills/lakehouse-doc-en/references/Application_list.md +26 -0
  73. package/bin/skills/lakehouse-doc-en/references/Approval.md +1 -0
  74. package/bin/skills/lakehouse-doc-en/references/Approval_list.md +61 -0
  75. package/bin/skills/lakehouse-doc-en/references/BIGINT.md +68 -0
  76. package/bin/skills/lakehouse-doc-en/references/BINARY.md +113 -0
  77. package/bin/skills/lakehouse-doc-en/references/BOOLEAN.md +106 -0
  78. package/bin/skills/lakehouse-doc-en/references/BP_AI_Function_Image2text.md +203 -0
  79. package/bin/skills/lakehouse-doc-en/references/BestPracticesforUsingDynamicTables.md +336 -0
  80. package/bin/skills/lakehouse-doc-en/references/Billing.md +63 -0
  81. package/bin/skills/lakehouse-doc-en/references/BluepipeOracleLakehouse_DataSync.md +261 -0
  82. package/bin/skills/lakehouse-doc-en/references/CHAR.md +37 -0
  83. package/bin/skills/lakehouse-doc-en/references/CLAUDE.md +606 -0
  84. package/bin/skills/lakehouse-doc-en/references/CONNECTION.md +26 -0
  85. package/bin/skills/lakehouse-doc-en/references/COPY-INTO-Location.md +372 -0
  86. package/bin/skills/lakehouse-doc-en/references/COPY_INTO_Location.md +369 -0
  87. package/bin/skills/lakehouse-doc-en/references/CREAREUSER.md +38 -0
  88. package/bin/skills/lakehouse-doc-en/references/CREATE-BLOOMFILTER-INDEX.md +111 -0
  89. package/bin/skills/lakehouse-doc-en/references/CREATE-CONNECTION.md +56 -0
  90. package/bin/skills/lakehouse-doc-en/references/CREATECONNECTION.md +11 -0
  91. package/bin/skills/lakehouse-doc-en/references/CREATEEXTERNAlLSCHEMA.md +251 -0
  92. package/bin/skills/lakehouse-doc-en/references/CREATEMATERIALIZEDVIEW.md +489 -0
  93. package/bin/skills/lakehouse-doc-en/references/CREATEROLE.md +62 -0
  94. package/bin/skills/lakehouse-doc-en/references/CREATESCHEMA.md +33 -0
  95. package/bin/skills/lakehouse-doc-en/references/CREATEVIEW.md +55 -0
  96. package/bin/skills/lakehouse-doc-en/references/CREATE_EXTERNAL_FUNCTION.md +232 -0
  97. package/bin/skills/lakehouse-doc-en/references/CTERevenueCohort.md +275 -0
  98. package/bin/skills/lakehouse-doc-en/references/ClickZettaInsight.md +84 -0
  99. package/bin/skills/lakehouse-doc-en/references/Computation.md +6 -0
  100. package/bin/skills/lakehouse-doc-en/references/ComputeResourceDDL.md +1 -0
  101. package/bin/skills/lakehouse-doc-en/references/Create_Embeding_Function.md +236 -0
  102. package/bin/skills/lakehouse-doc-en/references/Create_LLM_Function.md +242 -0
  103. package/bin/skills/lakehouse-doc-en/references/CreatingAWSCloudVPCEndpoint.md +69 -0
  104. package/bin/skills/lakehouse-doc-en/references/CreatingAWSCloudVPCPrivatelinkService.md +108 -0
  105. package/bin/skills/lakehouse-doc-en/references/CreditScoringwithZettaparkandPythonMLlibraryNew.md +853 -0
  106. package/bin/skills/lakehouse-doc-en/references/DATE.md +84 -0
  107. package/bin/skills/lakehouse-doc-en/references/DDL.md +1 -0
  108. package/bin/skills/lakehouse-doc-en/references/DECIMAL.md +196 -0
  109. package/bin/skills/lakehouse-doc-en/references/DELETE.md +113 -0
  110. package/bin/skills/lakehouse-doc-en/references/DESC-INDEX.md +37 -0
  111. package/bin/skills/lakehouse-doc-en/references/DESC-JOB.md +92 -0
  112. package/bin/skills/lakehouse-doc-en/references/DESCCONNECTION.md +35 -0
  113. package/bin/skills/lakehouse-doc-en/references/DESCMATERIALIZEDVIEW.md +28 -0
  114. package/bin/skills/lakehouse-doc-en/references/DESCSCHEMAS.md +47 -0
  115. package/bin/skills/lakehouse-doc-en/references/DESCTABLE.md +98 -0
  116. package/bin/skills/lakehouse-doc-en/references/DESCVIEW.md +61 -0
  117. package/bin/skills/lakehouse-doc-en/references/DOUBLE.md +104 -0
  118. package/bin/skills/lakehouse-doc-en/references/DQL.md +93 -0
  119. package/bin/skills/lakehouse-doc-en/references/DROP-INDEX.md +26 -0
  120. package/bin/skills/lakehouse-doc-en/references/DROPCONNECTION.md +27 -0
  121. package/bin/skills/lakehouse-doc-en/references/DROPF_UNCTIOn.md +32 -0
  122. package/bin/skills/lakehouse-doc-en/references/DROPMATERIALIZEDVIEW.md +38 -0
  123. package/bin/skills/lakehouse-doc-en/references/DROPROLE.md +44 -0
  124. package/bin/skills/lakehouse-doc-en/references/DROPSCHEMA.md +31 -0
  125. package/bin/skills/lakehouse-doc-en/references/DROPTABLE.md +40 -0
  126. package/bin/skills/lakehouse-doc-en/references/DROPUSER.md +28 -0
  127. package/bin/skills/lakehouse-doc-en/references/DROPVIEW.md +26 -0
  128. package/bin/skills/lakehouse-doc-en/references/DataGPT_release.md +1 -0
  129. package/bin/skills/lakehouse-doc-en/references/DataQuality.md +99 -0
  130. package/bin/skills/lakehouse-doc-en/references/DataSourceConfigGuide.md +1 -0
  131. package/bin/skills/lakehouse-doc-en/references/DataSource_ADBMySQL.md +35 -0
  132. package/bin/skills/lakehouse-doc-en/references/DataSource_ADB_PostgreSQL.md +36 -0
  133. package/bin/skills/lakehouse-doc-en/references/DataSource_AMQP.md +37 -0
  134. package/bin/skills/lakehouse-doc-en/references/DataSource_Amazon_DocumentDB.md +113 -0
  135. package/bin/skills/lakehouse-doc-en/references/DataSource_Amazon_OpenSearch.md +41 -0
  136. package/bin/skills/lakehouse-doc-en/references/DataSource_Aurora_MySQL.md +35 -0
  137. package/bin/skills/lakehouse-doc-en/references/DataSource_Aurora_PostgreSQL.md +36 -0
  138. package/bin/skills/lakehouse-doc-en/references/DataSource_AutoMQ.md +124 -0
  139. package/bin/skills/lakehouse-doc-en/references/DataSource_COS.md +31 -0
  140. package/bin/skills/lakehouse-doc-en/references/DataSource_ClickHouse.md +36 -0
  141. package/bin/skills/lakehouse-doc-en/references/DataSource_DB2.md +36 -0
  142. package/bin/skills/lakehouse-doc-en/references/DataSource_DM.md +35 -0
  143. package/bin/skills/lakehouse-doc-en/references/DataSource_Databricks.md +38 -0
  144. package/bin/skills/lakehouse-doc-en/references/DataSource_Doris.md +34 -0
  145. package/bin/skills/lakehouse-doc-en/references/DataSource_DynamoDB.md +37 -0
  146. package/bin/skills/lakehouse-doc-en/references/DataSource_ElasticSearch.md +30 -0
  147. package/bin/skills/lakehouse-doc-en/references/DataSource_Greenplum.md +36 -0
  148. package/bin/skills/lakehouse-doc-en/references/DataSource_HANA.md +53 -0
  149. package/bin/skills/lakehouse-doc-en/references/DataSource_HBase.md +29 -0
  150. package/bin/skills/lakehouse-doc-en/references/DataSource_Hive.md +50 -0
  151. package/bin/skills/lakehouse-doc-en/references/DataSource_Hologres.md +36 -0
  152. package/bin/skills/lakehouse-doc-en/references/DataSource_Kafka.md +32 -0
  153. package/bin/skills/lakehouse-doc-en/references/DataSource_MariaDB.md +36 -0
  154. package/bin/skills/lakehouse-doc-en/references/DataSource_MaxCompute.md +32 -0
  155. package/bin/skills/lakehouse-doc-en/references/DataSource_MongoDB.md +36 -0
  156. package/bin/skills/lakehouse-doc-en/references/DataSource_MySQL.md +35 -0
  157. package/bin/skills/lakehouse-doc-en/references/DataSource_OSS.md +31 -0
  158. package/bin/skills/lakehouse-doc-en/references/DataSource_Oracle.md +35 -0
  159. package/bin/skills/lakehouse-doc-en/references/DataSource_PolarDB.md +37 -0
  160. package/bin/skills/lakehouse-doc-en/references/DataSource_PorarDB.md +37 -0
  161. package/bin/skills/lakehouse-doc-en/references/DataSource_PostgreSQL.md +36 -0
  162. package/bin/skills/lakehouse-doc-en/references/DataSource_Redis.md +55 -0
  163. package/bin/skills/lakehouse-doc-en/references/DataSource_Redshift.md +49 -0
  164. package/bin/skills/lakehouse-doc-en/references/DataSource_RestApi.md +30 -0
  165. package/bin/skills/lakehouse-doc-en/references/DataSource_S3.md +25 -0
  166. package/bin/skills/lakehouse-doc-en/references/DataSource_SLS.md +31 -0
  167. package/bin/skills/lakehouse-doc-en/references/DataSource_StarRocks.md +35 -0
  168. package/bin/skills/lakehouse-doc-en/references/DataSource_TiDB.md +36 -0
  169. package/bin/skills/lakehouse-doc-en/references/DataSupplementationTask.md +51 -0
  170. package/bin/skills/lakehouse-doc-en/references/Data_Catalog_Management.md +1 -0
  171. package/bin/skills/lakehouse-doc-en/references/Data_Encryption.md +81 -0
  172. package/bin/skills/lakehouse-doc-en/references/Datalake_StorageConnection.md +12 -0
  173. package/bin/skills/lakehouse-doc-en/references/Datasource_SQLServer.md +36 -0
  174. package/bin/skills/lakehouse-doc-en/references/Datus_Lakehouse_Integrated_Guide.md +1 -0
  175. package/bin/skills/lakehouse-doc-en/references/Datus_Lakehouse_MCPServer.md +153 -0
  176. package/bin/skills/lakehouse-doc-en/references/Dify_Integrated_with_LakehouseMCPServer.md +71 -0
  177. package/bin/skills/lakehouse-doc-en/references/Dify_Integreated_with_LakehouseMCPServer.md +71 -0
  178. package/bin/skills/lakehouse-doc-en/references/DynamicTableDevPractical.md +1 -0
  179. package/bin/skills/lakehouse-doc-en/references/ELTModernDataStack.md +485 -0
  180. package/bin/skills/lakehouse-doc-en/references/ELT_practice.md +1 -0
  181. package/bin/skills/lakehouse-doc-en/references/EXPLAIN.md +91 -0
  182. package/bin/skills/lakehouse-doc-en/references/EXTERNALFUNCTIONDevGuide.md +121 -0
  183. package/bin/skills/lakehouse-doc-en/references/EXTERNALSCHEMA.md +95 -0
  184. package/bin/skills/lakehouse-doc-en/references/EXTERNALSCHMEA.md +90 -0
  185. package/bin/skills/lakehouse-doc-en/references/EditionsOverview.md +68 -0
  186. package/bin/skills/lakehouse-doc-en/references/ExternalFunctionDevGuideJava.md +554 -0
  187. package/bin/skills/lakehouse-doc-en/references/FLOAT.md +84 -0
  188. package/bin/skills/lakehouse-doc-en/references/FeatureEngineeringForExpandingCustomerFeatureswithZettapark.md +431 -0
  189. package/bin/skills/lakehouse-doc-en/references/FileCommand.md +1 -0
  190. package/bin/skills/lakehouse-doc-en/references/FileFunction.md +1 -0
  191. package/bin/skills/lakehouse-doc-en/references/FineBI.md +192 -0
  192. package/bin/skills/lakehouse-doc-en/references/Foreach.md +90 -0
  193. package/bin/skills/lakehouse-doc-en/references/Full_Text_Search.md +1 -0
  194. package/bin/skills/lakehouse-doc-en/references/GET.md +87 -0
  195. package/bin/skills/lakehouse-doc-en/references/GET_PRESIGNED_URL.md +59 -0
  196. package/bin/skills/lakehouse-doc-en/references/GrantPriveleges.md +156 -0
  197. package/bin/skills/lakehouse-doc-en/references/Hive_connection.md +50 -0
  198. package/bin/skills/lakehouse-doc-en/references/IDENTITY-Column.md +67 -0
  199. package/bin/skills/lakehouse-doc-en/references/INSERT.md +230 -0
  200. package/bin/skills/lakehouse-doc-en/references/INSERTOVERWRITE.md +61 -0
  201. package/bin/skills/lakehouse-doc-en/references/INT.md +74 -0
  202. package/bin/skills/lakehouse-doc-en/references/INTERVAL.md +247 -0
  203. package/bin/skills/lakehouse-doc-en/references/Ingesting_Data_from_Alibaba_Cloud_Data_Lake_into_Lakehouse.md +920 -0
  204. package/bin/skills/lakehouse-doc-en/references/Ingestion.md +87 -0
  205. package/bin/skills/lakehouse-doc-en/references/Introduction.md +148 -0
  206. package/bin/skills/lakehouse-doc-en/references/JDBC-Driver.md +62 -0
  207. package/bin/skills/lakehouse-doc-en/references/JDBC_MindsDB_ML_LLM.md +255 -0
  208. package/bin/skills/lakehouse-doc-en/references/JOIN.md +265 -0
  209. package/bin/skills/lakehouse-doc-en/references/JSON.md +164 -0
  210. package/bin/skills/lakehouse-doc-en/references/JSON_DataType.md +49 -0
  211. package/bin/skills/lakehouse-doc-en/references/KAFKA_Storage_connection.md +1 -0
  212. package/bin/skills/lakehouse-doc-en/references/Kafka_connection.md +36 -0
  213. package/bin/skills/lakehouse-doc-en/references/Key_Concepts.md +116 -0
  214. package/bin/skills/lakehouse-doc-en/references/LATERALVIEW.md +157 -0
  215. package/bin/skills/lakehouse-doc-en/references/Lakehouse-client-repository.md +11 -0
  216. package/bin/skills/lakehouse-doc-en/references/LakehouseAI-overview.md +99 -0
  217. package/bin/skills/lakehouse-doc-en/references/LakehouseAI.md +0 -0
  218. package/bin/skills/lakehouse-doc-en/references/LakehouseAI_overview.md +16 -0
  219. package/bin/skills/lakehouse-doc-en/references/LakehouseAI/346/246/202/350/277/260.md +0 -0
  220. package/bin/skills/lakehouse-doc-en/references/LakehouseDataGPT-tour.md +64 -0
  221. package/bin/skills/lakehouse-doc-en/references/LakehouseDataGPTTour.md +64 -0
  222. package/bin/skills/lakehouse-doc-en/references/LakehouseMCPServer-intro.md +493 -0
  223. package/bin/skills/lakehouse-doc-en/references/LakehouseMCPServer.md +2 -0
  224. package/bin/skills/lakehouse-doc-en/references/LakehouseMCPServer_intro.md +493 -0
  225. package/bin/skills/lakehouse-doc-en/references/LakehousePython-zettapark.md +48 -0
  226. package/bin/skills/lakehouse-doc-en/references/LakehouseStudio-tour.md +185 -0
  227. package/bin/skills/lakehouse-doc-en/references/LakehouseStudioTour.md +185 -0
  228. package/bin/skills/lakehouse-doc-en/references/Lakehouse_Insight.md +98 -0
  229. package/bin/skills/lakehouse-doc-en/references/Lakehouse_Platform_Release_Note.md +1 -0
  230. package/bin/skills/lakehouse-doc-en/references/Lakehouse_Studio_101.md +1 -0
  231. package/bin/skills/lakehouse-doc-en/references/Lakehouse_Studio_Release_Note.md +1 -0
  232. package/bin/skills/lakehouse-doc-en/references/Lakehouse_Zilliz_MakeDataReadyforBIandAI.md +222 -0
  233. package/bin/skills/lakehouse-doc-en/references/Langchain_plug_installation.md +244 -0
  234. package/bin/skills/lakehouse-doc-en/references/Langchain_plug_quick_start.md +225 -0
  235. package/bin/skills/lakehouse-doc-en/references/Langchain_plugins_overview.md +409 -0
  236. package/bin/skills/lakehouse-doc-en/references/Limitation.md +7 -0
  237. package/bin/skills/lakehouse-doc-en/references/LoaddataintoLakehouse.md +1 -0
  238. package/bin/skills/lakehouse-doc-en/references/Logstash.md +181 -0
  239. package/bin/skills/lakehouse-doc-en/references/MAP.md +158 -0
  240. package/bin/skills/lakehouse-doc-en/references/MATERIALIZEDVIEW.md +111 -0
  241. package/bin/skills/lakehouse-doc-en/references/MCPServers.md +268 -0
  242. package/bin/skills/lakehouse-doc-en/references/MERGE.md +471 -0
  243. package/bin/skills/lakehouse-doc-en/references/ManageAccounts.md +187 -0
  244. package/bin/skills/lakehouse-doc-en/references/Management_All.md +1 -0
  245. package/bin/skills/lakehouse-doc-en/references/ManagingFilesonDatalakeVolumewithZettapark.md +161 -0
  246. package/bin/skills/lakehouse-doc-en/references/MigrateSnowflakeRealtimeETLPipelinetoClickzettaLakehouse.md +845 -0
  247. package/bin/skills/lakehouse-doc-en/references/Migrate_Spark_DataEngineeringBestPractices_Project_to_Lakehouse.md +300 -0
  248. package/bin/skills/lakehouse-doc-en/references/ModelMarket.md +1 -0
  249. package/bin/skills/lakehouse-doc-en/references/ModernDataStackWithEcosystemTools.md +1 -0
  250. package/bin/skills/lakehouse-doc-en/references/MonitoringItemSpecification.md +44 -0
  251. package/bin/skills/lakehouse-doc-en/references/N8N_AI_Workflow_Integration.md +1 -0
  252. package/bin/skills/lakehouse-doc-en/references/N8N_Integrated_with_LakehouseMCPServer.md +128 -0
  253. package/bin/skills/lakehouse-doc-en/references/Notebook.md +98 -0
  254. package/bin/skills/lakehouse-doc-en/references/OPTIMIZE.md +125 -0
  255. package/bin/skills/lakehouse-doc-en/references/ObjectModelDesign.md +1 -0
  256. package/bin/skills/lakehouse-doc-en/references/ObtainingAWSCloudARNandExternalID.md +188 -0
  257. package/bin/skills/lakehouse-doc-en/references/Op_and_Monitoring.md +1 -0
  258. package/bin/skills/lakehouse-doc-en/references/PUT.md +94 -0
  259. package/bin/skills/lakehouse-doc-en/references/PerformingVectorandScalarRetrievalinheSameTableinLakehouse.md +84 -0
  260. package/bin/skills/lakehouse-doc-en/references/Permission_Management.md +1 -0
  261. package/bin/skills/lakehouse-doc-en/references/Permission_application.md +43 -0
  262. package/bin/skills/lakehouse-doc-en/references/PowerBI.md +112 -0
  263. package/bin/skills/lakehouse-doc-en/references/PythonSDKVersionHistory.md +22 -0
  264. package/bin/skills/lakehouse-doc-en/references/PythonSample_put_gharchive2oss.md +153 -0
  265. package/bin/skills/lakehouse-doc-en/references/PythonSample_put_github_rt_events.md +336 -0
  266. package/bin/skills/lakehouse-doc-en/references/PythonSqlAlchemyVersionHistory.md +23 -0
  267. package/bin/skills/lakehouse-doc-en/references/Python_Task.md +27 -0
  268. package/bin/skills/lakehouse-doc-en/references/QuickStartwithCopycommand.md +65 -0
  269. package/bin/skills/lakehouse-doc-en/references/REFRESH.md +83 -0
  270. package/bin/skills/lakehouse-doc-en/references/REMOTEFUNCTION.md +1 -0
  271. package/bin/skills/lakehouse-doc-en/references/Refactor_ELT_practice.md +241 -0
  272. package/bin/skills/lakehouse-doc-en/references/ReferenceManual.md +1 -0
  273. package/bin/skills/lakehouse-doc-en/references/RemoteFunction-as-udf.md +43 -0
  274. package/bin/skills/lakehouse-doc-en/references/RemoteFunction-best-practice.md +350 -0
  275. package/bin/skills/lakehouse-doc-en/references/RemoteFunction-dev-guide-python3.md +570 -0
  276. package/bin/skills/lakehouse-doc-en/references/RemoteFunction-intro.md +54 -0
  277. package/bin/skills/lakehouse-doc-en/references/RemoteFunction-on-acr.md +249 -0
  278. package/bin/skills/lakehouse-doc-en/references/RemoteFunctionAsUDF.md +1 -0
  279. package/bin/skills/lakehouse-doc-en/references/RemoteFunctionAsUDF_sql.md +1 -0
  280. package/bin/skills/lakehouse-doc-en/references/RemoteFunctionBestPractice.md +343 -0
  281. package/bin/skills/lakehouse-doc-en/references/RemoteFunctionDevGuidePython3.md +145 -0
  282. package/bin/skills/lakehouse-doc-en/references/RemoteFunctionOnACR.md +245 -0
  283. package/bin/skills/lakehouse-doc-en/references/RemoteFunctionintro.md +54 -0
  284. package/bin/skills/lakehouse-doc-en/references/RevokePriveleges.md +81 -0
  285. package/bin/skills/lakehouse-doc-en/references/Row_LevelPermissions.md +42 -0
  286. package/bin/skills/lakehouse-doc-en/references/SCHEMA.md +63 -0
  287. package/bin/skills/lakehouse-doc-en/references/SCHEMADDL.md +0 -0
  288. package/bin/skills/lakehouse-doc-en/references/SHOW-INDEX.md +67 -0
  289. package/bin/skills/lakehouse-doc-en/references/SHOWCONNECTIONS.md +32 -0
  290. package/bin/skills/lakehouse-doc-en/references/SHOWFUNCTIONS.md +30 -0
  291. package/bin/skills/lakehouse-doc-en/references/SHOWGRANTS.md +54 -0
  292. package/bin/skills/lakehouse-doc-en/references/SHOWROLES.md +55 -0
  293. package/bin/skills/lakehouse-doc-en/references/SHOWTABLES.md +39 -0
  294. package/bin/skills/lakehouse-doc-en/references/SHOWUSERS.md +17 -0
  295. package/bin/skills/lakehouse-doc-en/references/SMALLINT.md +71 -0
  296. package/bin/skills/lakehouse-doc-en/references/SQL_Approx_Aggregate_Functions_Guide.md +371 -0
  297. package/bin/skills/lakehouse-doc-en/references/SQL_Array_Explode_Guide.md +360 -0
  298. package/bin/skills/lakehouse-doc-en/references/SQL_Array_Map_Processing_Guide.md +391 -0
  299. package/bin/skills/lakehouse-doc-en/references/SQL_Attribution_Guide.md +445 -0
  300. package/bin/skills/lakehouse-doc-en/references/SQL_Batch_Insert_Guide.md +171 -0
  301. package/bin/skills/lakehouse-doc-en/references/SQL_Bitmap_Guide.md +282 -0
  302. package/bin/skills/lakehouse-doc-en/references/SQL_CREATE_TABLE_GUIDE.md +1208 -0
  303. package/bin/skills/lakehouse-doc-en/references/SQL_Clone_Guide.md +188 -0
  304. package/bin/skills/lakehouse-doc-en/references/SQL_Copy_Into_Guide.md +181 -0
  305. package/bin/skills/lakehouse-doc-en/references/SQL_DML_Considerations.md +601 -0
  306. package/bin/skills/lakehouse-doc-en/references/SQL_Deduplication_Guide.md +203 -0
  307. package/bin/skills/lakehouse-doc-en/references/SQL_Dynamic_Table_Guide.md +215 -0
  308. package/bin/skills/lakehouse-doc-en/references/SQL_Explain_Guide.md +142 -0
  309. package/bin/skills/lakehouse-doc-en/references/SQL_External_Catalog_Guide.md +147 -0
  310. package/bin/skills/lakehouse-doc-en/references/SQL_External_Table_Guide.md +156 -0
  311. package/bin/skills/lakehouse-doc-en/references/SQL_Filter_Sort_Guide.md +225 -0
  312. package/bin/skills/lakehouse-doc-en/references/SQL_FullText_Search_Guide.md +337 -0
  313. package/bin/skills/lakehouse-doc-en/references/SQL_Funnel_Analysis_Guide.md +473 -0
  314. package/bin/skills/lakehouse-doc-en/references/SQL_Group_Aggregation_Guide.md +230 -0
  315. package/bin/skills/lakehouse-doc-en/references/SQL_Hierarchy_Workaround_Guide.md +435 -0
  316. package/bin/skills/lakehouse-doc-en/references/SQL_Index_Guide.md +155 -0
  317. package/bin/skills/lakehouse-doc-en/references/SQL_JSON_Parsing_Guide.md +221 -0
  318. package/bin/skills/lakehouse-doc-en/references/SQL_Join_Guide.md +660 -0
  319. package/bin/skills/lakehouse-doc-en/references/SQL_Null_Handling_Guide.md +273 -0
  320. package/bin/skills/lakehouse-doc-en/references/SQL_Object_Storage_Guide.md +1 -0
  321. package/bin/skills/lakehouse-doc-en/references/SQL_Optimize_Guide.md +137 -0
  322. package/bin/skills/lakehouse-doc-en/references/SQL_Pipe_Guide.md +178 -0
  323. package/bin/skills/lakehouse-doc-en/references/SQL_Pivot_Guide.md +346 -0
  324. package/bin/skills/lakehouse-doc-en/references/SQL_Query_Analysis_Guide.md +1 -0
  325. package/bin/skills/lakehouse-doc-en/references/SQL_Ranking_Guide.md +254 -0
  326. package/bin/skills/lakehouse-doc-en/references/SQL_Realtime_Guide.md +1 -0
  327. package/bin/skills/lakehouse-doc-en/references/SQL_Retention_Cohort_Guide.md +463 -0
  328. package/bin/skills/lakehouse-doc-en/references/SQL_Running_Total_Guide.md +324 -0
  329. package/bin/skills/lakehouse-doc-en/references/SQL_SELECT_Considerations.md +1831 -0
  330. package/bin/skills/lakehouse-doc-en/references/SQL_Sampling_Guide.md +154 -0
  331. package/bin/skills/lakehouse-doc-en/references/SQL_Sessionization_Guide.md +407 -0
  332. package/bin/skills/lakehouse-doc-en/references/SQL_Set_Operations_Guide.md +218 -0
  333. package/bin/skills/lakehouse-doc-en/references/SQL_Share_Guide.md +156 -0
  334. package/bin/skills/lakehouse-doc-en/references/SQL_String_Processing_Guide.md +663 -0
  335. package/bin/skills/lakehouse-doc-en/references/SQL_Syntax_Guide.md +1 -0
  336. package/bin/skills/lakehouse-doc-en/references/SQL_Table_Stream_Guide.md +178 -0
  337. package/bin/skills/lakehouse-doc-en/references/SQL_TimeSeries_Guide.md +362 -0
  338. package/bin/skills/lakehouse-doc-en/references/SQL_Time_Travel_Guide.md +173 -0
  339. package/bin/skills/lakehouse-doc-en/references/SQL_Type_Conversion_Guide.md +241 -0
  340. package/bin/skills/lakehouse-doc-en/references/SQL_Update_Delete_Guide.md +229 -0
  341. package/bin/skills/lakehouse-doc-en/references/SQL_Upsert_Guide.md +199 -0
  342. package/bin/skills/lakehouse-doc-en/references/SQL_Vector_Search_Guide.md +555 -0
  343. package/bin/skills/lakehouse-doc-en/references/SQL_View_Guide.md +195 -0
  344. package/bin/skills/lakehouse-doc-en/references/SQL_Volume_Guide.md +149 -0
  345. package/bin/skills/lakehouse-doc-en/references/SQL_With_CTE_Guide.md +1526 -0
  346. package/bin/skills/lakehouse-doc-en/references/SQL_Write_Change_Guide.md +1 -0
  347. package/bin/skills/lakehouse-doc-en/references/SQL_customers.md +73 -0
  348. package/bin/skills/lakehouse-doc-en/references/SQL_revenue.md +31 -0
  349. package/bin/skills/lakehouse-doc-en/references/STRING.md +74 -0
  350. package/bin/skills/lakehouse-doc-en/references/STRUCT.md +199 -0
  351. package/bin/skills/lakehouse-doc-en/references/SUMMARY.md +1485 -0
  352. package/bin/skills/lakehouse-doc-en/references/SYNCPOINT.md +4 -0
  353. package/bin/skills/lakehouse-doc-en/references/Security_system_inventory_and_optimization_based_Information_Schema.md +411 -0
  354. package/bin/skills/lakehouse-doc-en/references/SecurityandGovernance.md +1 -0
  355. package/bin/skills/lakehouse-doc-en/references/SharedData.md +1 -0
  356. package/bin/skills/lakehouse-doc-en/references/SlowlyChangingDimensionsInLakehouseUsingStreamsandTasks.md +587 -0
  357. package/bin/skills/lakehouse-doc-en/references/Spark_Lakehouse_iceberg_REST.md +151 -0
  358. package/bin/skills/lakehouse-doc-en/references/Structured_and_semi-structured_data_analysis.md +171 -0
  359. package/bin/skills/lakehouse-doc-en/references/Studio.md +78 -0
  360. package/bin/skills/lakehouse-doc-en/references/StudioDI_PrivateLinkVPC_fromRDS.md +105 -0
  361. package/bin/skills/lakehouse-doc-en/references/Supported_Cloud_Platforms.md +34 -0
  362. package/bin/skills/lakehouse-doc-en/references/TABLE.md +183 -0
  363. package/bin/skills/lakehouse-doc-en/references/TIMESTAMP.md +117 -0
  364. package/bin/skills/lakehouse-doc-en/references/TIMETRAVEL.md +150 -0
  365. package/bin/skills/lakehouse-doc-en/references/TINYINT.md +77 -0
  366. package/bin/skills/lakehouse-doc-en/references/TPC-H100G_experience.md +45 -0
  367. package/bin/skills/lakehouse-doc-en/references/TRUNCATE.md +123 -0
  368. package/bin/skills/lakehouse-doc-en/references/TableDesign.md +270 -0
  369. package/bin/skills/lakehouse-doc-en/references/TableauConnectToLakehouse.md +73 -0
  370. package/bin/skills/lakehouse-doc-en/references/Transformation.md +1 -0
  371. package/bin/skills/lakehouse-doc-en/references/UNDROP-TABLE.md +171 -0
  372. package/bin/skills/lakehouse-doc-en/references/UPDATE.md +217 -0
  373. package/bin/skills/lakehouse-doc-en/references/USESCHEMA.md +52 -0
  374. package/bin/skills/lakehouse-doc-en/references/Unstructured_io.md +749 -0
  375. package/bin/skills/lakehouse-doc-en/references/Usage_Statistics.md +1 -0
  376. package/bin/skills/lakehouse-doc-en/references/VARCHARleghth.md +33 -0
  377. package/bin/skills/lakehouse-doc-en/references/VARCHARlength.md +73 -0
  378. package/bin/skills/lakehouse-doc-en/references/VIEW.md +74 -0
  379. package/bin/skills/lakehouse-doc-en/references/WEBIDE.md +1 -0
  380. package/bin/skills/lakehouse-doc-en/references/WINDOWCALUSE.md +66 -0
  381. package/bin/skills/lakehouse-doc-en/references/WINDOWFUNCTION.md +561 -0
  382. package/bin/skills/lakehouse-doc-en/references/WITH.md +137 -0
  383. package/bin/skills/lakehouse-doc-en/references/ZettaparkQuickStart.md +466 -0
  384. package/bin/skills/lakehouse-doc-en/references/Zettapark_Data_Engineering_Demo.md +351 -0
  385. package/bin/skills/lakehouse-doc-en/references/a_comprehensive_guide_to_ingesting_data_into_clickzetta_lakehouse.md +66 -0
  386. package/bin/skills/lakehouse-doc-en/references/access-control-configuration.md +249 -0
  387. package/bin/skills/lakehouse-doc-en/references/access-control-general.md +81 -0
  388. package/bin/skills/lakehouse-doc-en/references/access-control.md +235 -0
  389. package/bin/skills/lakehouse-doc-en/references/account-funds.md +87 -0
  390. package/bin/skills/lakehouse-doc-en/references/account.md +2 -0
  391. package/bin/skills/lakehouse-doc-en/references/account_user_management.md +108 -0
  392. package/bin/skills/lakehouse-doc-en/references/agg_function.md +1 -0
  393. package/bin/skills/lakehouse-doc-en/references/aggregate_functions/approx_count_distinct.md +50 -0
  394. package/bin/skills/lakehouse-doc-en/references/aggregate_functions/bit_and.md +40 -0
  395. package/bin/skills/lakehouse-doc-en/references/aggregate_functions/bit_or.md +41 -0
  396. package/bin/skills/lakehouse-doc-en/references/aggregate_functions/bit_xor.md +50 -0
  397. package/bin/skills/lakehouse-doc-en/references/aggregate_functions/bool_and.md +39 -0
  398. package/bin/skills/lakehouse-doc-en/references/aggregate_functions/bool_or.md +47 -0
  399. package/bin/skills/lakehouse-doc-en/references/aggregate_functions/collect_list.md +58 -0
  400. package/bin/skills/lakehouse-doc-en/references/aggregate_functions/collect_set.md +45 -0
  401. package/bin/skills/lakehouse-doc-en/references/aggregate_functions/count.md +44 -0
  402. package/bin/skills/lakehouse-doc-en/references/aggregate_functions/group_bitmap_merge_state.md +40 -0
  403. package/bin/skills/lakehouse-doc-en/references/aggregate_functions/group_bitmap_state.md +110 -0
  404. package/bin/skills/lakehouse-doc-en/references/aggregate_functions/max.md +58 -0
  405. package/bin/skills/lakehouse-doc-en/references/aggregate_functions/min.md +51 -0
  406. package/bin/skills/lakehouse-doc-en/references/aggregate_functions/percentile.md +48 -0
  407. package/bin/skills/lakehouse-doc-en/references/aggregate_functions/stddev_pop.md +51 -0
  408. package/bin/skills/lakehouse-doc-en/references/aggregate_functions/stddev_samp.md +55 -0
  409. package/bin/skills/lakehouse-doc-en/references/aggregate_functions/sum.md +51 -0
  410. package/bin/skills/lakehouse-doc-en/references/aggregate_functions/var_pop.md +60 -0
  411. package/bin/skills/lakehouse-doc-en/references/aggregate_functions/var_samp.md +46 -0
  412. package/bin/skills/lakehouse-doc-en/references/ai_app_dev_practical.md +3 -0
  413. package/bin/skills/lakehouse-doc-en/references/ai_classify.md +263 -0
  414. package/bin/skills/lakehouse-doc-en/references/ai_extract.md +248 -0
  415. package/bin/skills/lakehouse-doc-en/references/ai_fix_grammar.md +200 -0
  416. package/bin/skills/lakehouse-doc-en/references/ai_function_best_practice.md +1 -0
  417. package/bin/skills/lakehouse-doc-en/references/ai_functions_overview.md +259 -0
  418. package/bin/skills/lakehouse-doc-en/references/ai_mask.md +188 -0
  419. package/bin/skills/lakehouse-doc-en/references/ai_sentiment.md +204 -0
  420. package/bin/skills/lakehouse-doc-en/references/ai_similarity.md +201 -0
  421. package/bin/skills/lakehouse-doc-en/references/ai_summarize.md +168 -0
  422. package/bin/skills/lakehouse-doc-en/references/ai_transcribe.md +188 -0
  423. package/bin/skills/lakehouse-doc-en/references/ai_translate.md +197 -0
  424. package/bin/skills/lakehouse-doc-en/references/airbyte.md +107 -0
  425. package/bin/skills/lakehouse-doc-en/references/alert.md +139 -0
  426. package/bin/skills/lakehouse-doc-en/references/alicloud-arn-externalid.md +49 -0
  427. package/bin/skills/lakehouse-doc-en/references/alicloud_byos_configuration.md +129 -0
  428. package/bin/skills/lakehouse-doc-en/references/aliyun_storage_connection.md +133 -0
  429. package/bin/skills/lakehouse-doc-en/references/alter-dynamic-table.md +327 -0
  430. package/bin/skills/lakehouse-doc-en/references/alter-external-schema.md +86 -0
  431. package/bin/skills/lakehouse-doc-en/references/alter-materialized-view.md +212 -0
  432. package/bin/skills/lakehouse-doc-en/references/alter-network-policy.md +62 -0
  433. package/bin/skills/lakehouse-doc-en/references/alter-pipe.md +43 -0
  434. package/bin/skills/lakehouse-doc-en/references/alter-share.md +39 -0
  435. package/bin/skills/lakehouse-doc-en/references/alter-table.md +349 -0
  436. package/bin/skills/lakehouse-doc-en/references/alter-user.md +53 -0
  437. package/bin/skills/lakehouse-doc-en/references/alter-vcluster.md +154 -0
  438. package/bin/skills/lakehouse-doc-en/references/alter-volume.md +51 -0
  439. package/bin/skills/lakehouse-doc-en/references/alter-workspace.md +43 -0
  440. package/bin/skills/lakehouse-doc-en/references/alter.md +72 -0
  441. package/bin/skills/lakehouse-doc-en/references/analysis_internet_data_nyc_green_data.md +449 -0
  442. package/bin/skills/lakehouse-doc-en/references/analytics-agent-core-concepts.md +34 -0
  443. package/bin/skills/lakehouse-doc-en/references/analytics-modern-data-stack.md +386 -0
  444. package/bin/skills/lakehouse-doc-en/references/analytics_cluster_best_practices.md +367 -0
  445. package/bin/skills/lakehouse-doc-en/references/analyze-table.md +51 -0
  446. package/bin/skills/lakehouse-doc-en/references/answer-accuracy-improve.md +179 -0
  447. package/bin/skills/lakehouse-doc-en/references/application-list.md +26 -0
  448. package/bin/skills/lakehouse-doc-en/references/approval-list.md +61 -0
  449. package/bin/skills/lakehouse-doc-en/references/array_function.md +1 -0
  450. package/bin/skills/lakehouse-doc-en/references/array_size.md +31 -0
  451. package/bin/skills/lakehouse-doc-en/references/authentication.md +53 -0
  452. package/bin/skills/lakehouse-doc-en/references/authority-management.md +157 -0
  453. package/bin/skills/lakehouse-doc-en/references/authoritymanagement.md +1 -0
  454. package/bin/skills/lakehouse-doc-en/references/auto-index.md +52 -0
  455. package/bin/skills/lakehouse-doc-en/references/aws_storage_connection.md +112 -0
  456. package/bin/skills/lakehouse-doc-en/references/awscloud_privatelink.md +1 -0
  457. package/bin/skills/lakehouse-doc-en/references/backfilling_data.md +50 -0
  458. package/bin/skills/lakehouse-doc-en/references/batch-load-parquet-file-into-lakehouse.md +79 -0
  459. package/bin/skills/lakehouse-doc-en/references/batch_sync.md +62 -0
  460. package/bin/skills/lakehouse-doc-en/references/batch_sync_Sop.md +135 -0
  461. package/bin/skills/lakehouse-doc-en/references/batchloadparquetfileintoLakehouse.md +79 -0
  462. package/bin/skills/lakehouse-doc-en/references/benchmark.md +1 -0
  463. package/bin/skills/lakehouse-doc-en/references/benchmark_guide.md +43 -0
  464. package/bin/skills/lakehouse-doc-en/references/best_ractices.md +1 -0
  465. package/bin/skills/lakehouse-doc-en/references/bestpractice_bazhuanyu.md +1 -0
  466. package/bin/skills/lakehouse-doc-en/references/bit_function.md +1 -0
  467. package/bin/skills/lakehouse-doc-en/references/bitmap-type.md +381 -0
  468. package/bin/skills/lakehouse-doc-en/references/bitmap_function.md +1 -0
  469. package/bin/skills/lakehouse-doc-en/references/bitmap_uba_guide.md +1234 -0
  470. package/bin/skills/lakehouse-doc-en/references/bloomfilter-summary.md +136 -0
  471. package/bin/skills/lakehouse-doc-en/references/bluepipe-oracle-lakehouse-datasync.md +244 -0
  472. package/bin/skills/lakehouse-doc-en/references/bring_your_own_storage.md +1 -0
  473. package/bin/skills/lakehouse-doc-en/references/build-index.md +75 -0
  474. package/bin/skills/lakehouse-doc-en/references/build_rag_with_langchain.md +652 -0
  475. package/bin/skills/lakehouse-doc-en/references/bulkload-summary.md +37 -0
  476. package/bin/skills/lakehouse-doc-en/references/bulkloadv1-java-sdk.md +177 -0
  477. package/bin/skills/lakehouse-doc-en/references/bulkloadv1-python-sdk.md +169 -0
  478. package/bin/skills/lakehouse-doc-en/references/business-audit-trail-with-table-stream.md +281 -0
  479. package/bin/skills/lakehouse-doc-en/references/byok.md +1 -0
  480. package/bin/skills/lakehouse-doc-en/references/byos_general.md +165 -0
  481. package/bin/skills/lakehouse-doc-en/references/byos_tencentcloud_configuration.md +138 -0
  482. package/bin/skills/lakehouse-doc-en/references/cache-command.md +31 -0
  483. package/bin/skills/lakehouse-doc-en/references/cancel-job.md +49 -0
  484. package/bin/skills/lakehouse-doc-en/references/cardinality_array.md +43 -0
  485. package/bin/skills/lakehouse-doc-en/references/charge_analysis_with_lakehouse_mcp_server.md +393 -0
  486. package/bin/skills/lakehouse-doc-en/references/chart-auto-refresh-guide.md +30 -0
  487. package/bin/skills/lakehouse-doc-en/references/clickzetta-sample-data.md +239 -0
  488. package/bin/skills/lakehouse-doc-en/references/clone-doc.md +101 -0
  489. package/bin/skills/lakehouse-doc-en/references/cloud_object_storage.md +1 -0
  490. package/bin/skills/lakehouse-doc-en/references/cluster-table-guide.md +64 -0
  491. package/bin/skills/lakehouse-doc-en/references/cluster-table.md +111 -0
  492. package/bin/skills/lakehouse-doc-en/references/code_approval.md +34 -0
  493. package/bin/skills/lakehouse-doc-en/references/composite_task.md +192 -0
  494. package/bin/skills/lakehouse-doc-en/references/comprehensive_comparison.md +83 -0
  495. package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_3rd_tools.md +11 -0
  496. package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_dbv_sql_put.md +44 -0
  497. package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_environment_and_data_generate.md +669 -0
  498. package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_javasdk_bulkload_realtime.md +741 -0
  499. package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_kafka_realtime_sync.md +73 -0
  500. package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_local_file_into_table_by_studio.md +64 -0
  501. package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_overview.md +66 -0
  502. package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_pipe_kafka.md +8 -0
  503. package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_pipe_oss.md +7 -0
  504. package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_studio_batchload_public_network.md +52 -0
  505. package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_studio_python_node.md +113 -0
  506. package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_studio_realtime_cdc_public_network.md +253 -0
  507. package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_studio_sql_insert.md +174 -0
  508. package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_zettapark_put_file_to_lake.md +222 -0
  509. package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_zettapark_save_as_table.md +87 -0
  510. package/bin/skills/lakehouse-doc-en/references/comprehensive_guide_to_ingesting_zettapark_sql_insert.md +121 -0
  511. package/bin/skills/lakehouse-doc-en/references/compute-overview.md +142 -0
  512. package/bin/skills/lakehouse-doc-en/references/compute-resource-ddl.md +128 -0
  513. package/bin/skills/lakehouse-doc-en/references/concepts.md +209 -0
  514. package/bin/skills/lakehouse-doc-en/references/concurrency_scaling.md +56 -0
  515. package/bin/skills/lakehouse-doc-en/references/conditional_function.md +1 -0
  516. package/bin/skills/lakehouse-doc-en/references/config-datasource.md +82 -0
  517. package/bin/skills/lakehouse-doc-en/references/config_volume_dify_storage.md +342 -0
  518. package/bin/skills/lakehouse-doc-en/references/connect-with-cli.md +127 -0
  519. package/bin/skills/lakehouse-doc-en/references/connect_to_Lakehouse.md +1 -0
  520. package/bin/skills/lakehouse-doc-en/references/connection-guide.md +57 -0
  521. package/bin/skills/lakehouse-doc-en/references/connection-overview.md +171 -0
  522. package/bin/skills/lakehouse-doc-en/references/considerations-for-using-sql.md +1 -0
  523. package/bin/skills/lakehouse-doc-en/references/context_function.md +1 -0
  524. package/bin/skills/lakehouse-doc-en/references/continue-job.md +256 -0
  525. package/bin/skills/lakehouse-doc-en/references/conversational_analytics_datagpt.md +3 -0
  526. package/bin/skills/lakehouse-doc-en/references/copy-into-table.md +442 -0
  527. package/bin/skills/lakehouse-doc-en/references/copy.md +74 -0
  528. package/bin/skills/lakehouse-doc-en/references/cos_storage_connection.md +73 -0
  529. package/bin/skills/lakehouse-doc-en/references/cos_volume_creation.md +39 -0
  530. package/bin/skills/lakehouse-doc-en/references/cost_management.md +2 -0
  531. package/bin/skills/lakehouse-doc-en/references/create-api-connection.md +352 -0
  532. package/bin/skills/lakehouse-doc-en/references/create-catalog-connection.md +253 -0
  533. package/bin/skills/lakehouse-doc-en/references/create-dynamic-table.md +461 -0
  534. package/bin/skills/lakehouse-doc-en/references/create-embedding-function.md +244 -0
  535. package/bin/skills/lakehouse-doc-en/references/create-external-catalog.md +220 -0
  536. package/bin/skills/lakehouse-doc-en/references/create-external-delta.md +76 -0
  537. package/bin/skills/lakehouse-doc-en/references/create-external-schema.md +165 -0
  538. package/bin/skills/lakehouse-doc-en/references/create-external-table.md +75 -0
  539. package/bin/skills/lakehouse-doc-en/references/create-external-volume.md +102 -0
  540. package/bin/skills/lakehouse-doc-en/references/create-hive-catalog.md +64 -0
  541. package/bin/skills/lakehouse-doc-en/references/create-inverted-index.md +154 -0
  542. package/bin/skills/lakehouse-doc-en/references/create-kafka-external.md +298 -0
  543. package/bin/skills/lakehouse-doc-en/references/create-llm-function.md +245 -0
  544. package/bin/skills/lakehouse-doc-en/references/create-materialized-view.md +529 -0
  545. package/bin/skills/lakehouse-doc-en/references/create-network-policy.md +54 -0
  546. package/bin/skills/lakehouse-doc-en/references/create-pipe.md +60 -0
  547. package/bin/skills/lakehouse-doc-en/references/create-role.md +94 -0
  548. package/bin/skills/lakehouse-doc-en/references/create-schema-from-share.md +55 -0
  549. package/bin/skills/lakehouse-doc-en/references/create-schema.md +88 -0
  550. package/bin/skills/lakehouse-doc-en/references/create-share.md +132 -0
  551. package/bin/skills/lakehouse-doc-en/references/create-sql-function.md +119 -0
  552. package/bin/skills/lakehouse-doc-en/references/create-storage-connection.md +316 -0
  553. package/bin/skills/lakehouse-doc-en/references/create-synonym.md +64 -0
  554. package/bin/skills/lakehouse-doc-en/references/create-table-ddl.md +390 -0
  555. package/bin/skills/lakehouse-doc-en/references/create-table-stream.md +217 -0
  556. package/bin/skills/lakehouse-doc-en/references/create-user.md +59 -0
  557. package/bin/skills/lakehouse-doc-en/references/create-vector-index.md +105 -0
  558. package/bin/skills/lakehouse-doc-en/references/create-view.md +128 -0
  559. package/bin/skills/lakehouse-doc-en/references/create-volume.md +64 -0
  560. package/bin/skills/lakehouse-doc-en/references/create.md +93 -0
  561. package/bin/skills/lakehouse-doc-en/references/create_cluster.md +117 -0
  562. package/bin/skills/lakehouse-doc-en/references/creating_alicloud_privatelinkendpoint.md +37 -0
  563. package/bin/skills/lakehouse-doc-en/references/creating_alicloud_privatelinkservice.md +31 -0
  564. package/bin/skills/lakehouse-doc-en/references/creating_tencentcloud_privatelinkendpoint.md +35 -0
  565. package/bin/skills/lakehouse-doc-en/references/creating_tencentcloud_privatelinkservice.md +19 -0
  566. package/bin/skills/lakehouse-doc-en/references/credit-scoring-with-zettapark.md +873 -0
  567. package/bin/skills/lakehouse-doc-en/references/crete-external-catalog.md +16 -0
  568. package/bin/skills/lakehouse-doc-en/references/cz-cli-agent.md +142 -0
  569. package/bin/skills/lakehouse-doc-en/references/cz-cli-datasource.md +63 -0
  570. package/bin/skills/lakehouse-doc-en/references/cz-cli-sql.md +396 -0
  571. package/bin/skills/lakehouse-doc-en/references/cz-cli-studio-tasks.md +241 -0
  572. package/bin/skills/lakehouse-doc-en/references/cz-cli.md +130 -0
  573. package/bin/skills/lakehouse-doc-en/references/czguide-intro-to-cdc-using-clickzetta-rtsync-dynamic-tables.md +738 -0
  574. package/bin/skills/lakehouse-doc-en/references/dashboard-version-management-guide.md +109 -0
  575. package/bin/skills/lakehouse-doc-en/references/data-catalog.md +1 -0
  576. package/bin/skills/lakehouse-doc-en/references/data-integration-intro.md +58 -0
  577. package/bin/skills/lakehouse-doc-en/references/data-integration.md +51 -0
  578. package/bin/skills/lakehouse-doc-en/references/data-lifecycle.md +38 -0
  579. package/bin/skills/lakehouse-doc-en/references/data-load-summary.md +57 -0
  580. package/bin/skills/lakehouse-doc-en/references/data-mamager-tool.md +1 -0
  581. package/bin/skills/lakehouse-doc-en/references/data-manager-tool.md +1 -0
  582. package/bin/skills/lakehouse-doc-en/references/data-quality.md +99 -0
  583. package/bin/skills/lakehouse-doc-en/references/data-recover.md +52 -0
  584. package/bin/skills/lakehouse-doc-en/references/data-recovery-with-time-travel.md +248 -0
  585. package/bin/skills/lakehouse-doc-en/references/data-sharing-concept.md +110 -0
  586. package/bin/skills/lakehouse-doc-en/references/data-sharing-overview.md +149 -0
  587. package/bin/skills/lakehouse-doc-en/references/data-sharing.md +320 -0
  588. package/bin/skills/lakehouse-doc-en/references/data-sources.md +62 -0
  589. package/bin/skills/lakehouse-doc-en/references/data-sync-intro.md +23 -0
  590. package/bin/skills/lakehouse-doc-en/references/data-type-guide.md +86 -0
  591. package/bin/skills/lakehouse-doc-en/references/data-type.md +219 -0
  592. package/bin/skills/lakehouse-doc-en/references/data-types-timestamp-ntz.md +128 -0
  593. package/bin/skills/lakehouse-doc-en/references/data.md +1 -0
  594. package/bin/skills/lakehouse-doc-en/references/data_catalog.md +109 -0
  595. package/bin/skills/lakehouse-doc-en/references/data_clean_with_sql.md +378 -0
  596. package/bin/skills/lakehouse-doc-en/references/data_ops.md +7 -0
  597. package/bin/skills/lakehouse-doc-en/references/data_org.md +1 -0
  598. package/bin/skills/lakehouse-doc-en/references/data_partition.md +1 -0
  599. package/bin/skills/lakehouse-doc-en/references/data_privacy.md +43 -0
  600. package/bin/skills/lakehouse-doc-en/references/data_result_profile.md +21 -0
  601. package/bin/skills/lakehouse-doc-en/references/data_security.md +65 -0
  602. package/bin/skills/lakehouse-doc-en/references/data_share.md +1 -0
  603. package/bin/skills/lakehouse-doc-en/references/data_sharing_between_accounts_guide.md +331 -0
  604. package/bin/skills/lakehouse-doc-en/references/data_sharing_guide.md +117 -0
  605. package/bin/skills/lakehouse-doc-en/references/data_sync.md +6 -0
  606. package/bin/skills/lakehouse-doc-en/references/data_transfer_datalake.md +1 -0
  607. package/bin/skills/lakehouse-doc-en/references/data_visualization.md +96 -0
  608. package/bin/skills/lakehouse-doc-en/references/dataagent.md +80 -0
  609. package/bin/skills/lakehouse-doc-en/references/databricks_yunqi_integration_guide_v2.md +842 -0
  610. package/bin/skills/lakehouse-doc-en/references/datacatalog.md +127 -0
  611. package/bin/skills/lakehouse-doc-en/references/datagpt-release.md +1 -0
  612. package/bin/skills/lakehouse-doc-en/references/datagpt_bestpractice.md +1 -0
  613. package/bin/skills/lakehouse-doc-en/references/datagpt_data_source.md +57 -0
  614. package/bin/skills/lakehouse-doc-en/references/datagpt_get_accurate_answers.md +40 -0
  615. package/bin/skills/lakehouse-doc-en/references/datagpt_intro.md +75 -0
  616. package/bin/skills/lakehouse-doc-en/references/datagpt_introduction.md +129 -0
  617. package/bin/skills/lakehouse-doc-en/references/datagpt_quickstart.md +99 -0
  618. package/bin/skills/lakehouse-doc-en/references/datagpt_tutorial.md +1 -0
  619. package/bin/skills/lakehouse-doc-en/references/datalake-acceleration.md +5 -0
  620. package/bin/skills/lakehouse-doc-en/references/datalake-storage-connection.md +12 -0
  621. package/bin/skills/lakehouse-doc-en/references/datalake_FAQ.md +48 -0
  622. package/bin/skills/lakehouse-doc-en/references/datalake_overview.md +17 -0
  623. package/bin/skills/lakehouse-doc-en/references/datalake_privilege.md +55 -0
  624. package/bin/skills/lakehouse-doc-en/references/datalake_query_ingest.md +18 -0
  625. package/bin/skills/lakehouse-doc-en/references/datalake_unstructure_data.md +3 -0
  626. package/bin/skills/lakehouse-doc-en/references/datalake_volume.md +114 -0
  627. package/bin/skills/lakehouse-doc-en/references/datalake_volume_analytics.md +37 -0
  628. package/bin/skills/lakehouse-doc-en/references/datalake_volume_anlytics.md +1 -0
  629. package/bin/skills/lakehouse-doc-en/references/datalake_volume_object.md +1 -0
  630. package/bin/skills/lakehouse-doc-en/references/datalakeanalysis.md +272 -0
  631. package/bin/skills/lakehouse-doc-en/references/dataops_practice.md +104 -0
  632. package/bin/skills/lakehouse-doc-en/references/datasharing.md +328 -0
  633. package/bin/skills/lakehouse-doc-en/references/datasharing_catalog.md +1 -0
  634. package/bin/skills/lakehouse-doc-en/references/datasource-config-guide.md +1 -0
  635. package/bin/skills/lakehouse-doc-en/references/datasource_ip_whitelist.md +93 -0
  636. package/bin/skills/lakehouse-doc-en/references/datasources.md +62 -0
  637. package/bin/skills/lakehouse-doc-en/references/datatype-cast.md +89 -0
  638. package/bin/skills/lakehouse-doc-en/references/datatype-conversion.md +331 -0
  639. package/bin/skills/lakehouse-doc-en/references/datetime_patterns.md +61 -0
  640. package/bin/skills/lakehouse-doc-en/references/datus_lakehouse_installation.md +418 -0
  641. package/bin/skills/lakehouse-doc-en/references/datus_lakehouse_solution_overview.md +148 -0
  642. package/bin/skills/lakehouse-doc-en/references/db_dw_connection.md +1 -0
  643. package/bin/skills/lakehouse-doc-en/references/dbt-advanced-features.md +261 -0
  644. package/bin/skills/lakehouse-doc-en/references/dbt-bigquery-to-clickzetta-migration.md +458 -0
  645. package/bin/skills/lakehouse-doc-en/references/dbt-data-quality.md +237 -0
  646. package/bin/skills/lakehouse-doc-en/references/dbt-incremental.md +340 -0
  647. package/bin/skills/lakehouse-doc-en/references/dbt-practice-series.md +90 -0
  648. package/bin/skills/lakehouse-doc-en/references/dbt-realtime-pipeline.md +308 -0
  649. package/bin/skills/lakehouse-doc-en/references/dbt-snowflake-to-clickzetta-migration.md +384 -0
  650. package/bin/skills/lakehouse-doc-en/references/default-value.md +87 -0
  651. package/bin/skills/lakehouse-doc-en/references/delta-lake.md +190 -0
  652. package/bin/skills/lakehouse-doc-en/references/desc-catalog-table.md +27 -0
  653. package/bin/skills/lakehouse-doc-en/references/desc-catalog.md +28 -0
  654. package/bin/skills/lakehouse-doc-en/references/desc-connection.md +38 -0
  655. package/bin/skills/lakehouse-doc-en/references/desc-dynamic-table.md +95 -0
  656. package/bin/skills/lakehouse-doc-en/references/desc-external-schemas.md +57 -0
  657. package/bin/skills/lakehouse-doc-en/references/desc-external-table.md +63 -0
  658. package/bin/skills/lakehouse-doc-en/references/desc-function.md +37 -0
  659. package/bin/skills/lakehouse-doc-en/references/desc-history-dynamic-table.md +44 -0
  660. package/bin/skills/lakehouse-doc-en/references/desc-history-table.md +61 -0
  661. package/bin/skills/lakehouse-doc-en/references/desc-history.md +91 -0
  662. package/bin/skills/lakehouse-doc-en/references/desc-materialized-view.md +110 -0
  663. package/bin/skills/lakehouse-doc-en/references/desc-network-policy.md +43 -0
  664. package/bin/skills/lakehouse-doc-en/references/desc-pipe.md +37 -0
  665. package/bin/skills/lakehouse-doc-en/references/desc-schemas.md +59 -0
  666. package/bin/skills/lakehouse-doc-en/references/desc-share.md +48 -0
  667. package/bin/skills/lakehouse-doc-en/references/desc-table-stream.md +64 -0
  668. package/bin/skills/lakehouse-doc-en/references/desc-table.md +103 -0
  669. package/bin/skills/lakehouse-doc-en/references/desc-vcluster.md +79 -0
  670. package/bin/skills/lakehouse-doc-en/references/desc-view.md +66 -0
  671. package/bin/skills/lakehouse-doc-en/references/desc-volume.md +84 -0
  672. package/bin/skills/lakehouse-doc-en/references/desc-workspace.md +49 -0
  673. package/bin/skills/lakehouse-doc-en/references/describe.md +80 -0
  674. package/bin/skills/lakehouse-doc-en/references/dify_config_lakehouse_as_vectordb.md +314 -0
  675. package/bin/skills/lakehouse-doc-en/references/dify_yunqilakehouse_integration_overview.md +232 -0
  676. package/bin/skills/lakehouse-doc-en/references/discovery_analysis_data_in_json_file_on_external_volume.md +625 -0
  677. package/bin/skills/lakehouse-doc-en/references/discovery_analysis_data_in_parquet_file_on_external_volume.md +599 -0
  678. package/bin/skills/lakehouse-doc-en/references/dml.md +90 -0
  679. package/bin/skills/lakehouse-doc-en/references/download-data-with-copy.md +27 -0
  680. package/bin/skills/lakehouse-doc-en/references/download-data.md +1 -0
  681. package/bin/skills/lakehouse-doc-en/references/drop-connection.md +34 -0
  682. package/bin/skills/lakehouse-doc-en/references/drop-dynamic-table.md +76 -0
  683. package/bin/skills/lakehouse-doc-en/references/drop-external-schema.md +40 -0
  684. package/bin/skills/lakehouse-doc-en/references/drop-external-table.md +32 -0
  685. package/bin/skills/lakehouse-doc-en/references/drop-function.md +51 -0
  686. package/bin/skills/lakehouse-doc-en/references/drop-materialized-view.md +73 -0
  687. package/bin/skills/lakehouse-doc-en/references/drop-network-policy.md +36 -0
  688. package/bin/skills/lakehouse-doc-en/references/drop-pipe.md +15 -0
  689. package/bin/skills/lakehouse-doc-en/references/drop-role.md +61 -0
  690. package/bin/skills/lakehouse-doc-en/references/drop-schema.md +37 -0
  691. package/bin/skills/lakehouse-doc-en/references/drop-share.md +73 -0
  692. package/bin/skills/lakehouse-doc-en/references/drop-synonym.md +31 -0
  693. package/bin/skills/lakehouse-doc-en/references/drop-table-stream.md +31 -0
  694. package/bin/skills/lakehouse-doc-en/references/drop-table.md +70 -0
  695. package/bin/skills/lakehouse-doc-en/references/drop-user.md +43 -0
  696. package/bin/skills/lakehouse-doc-en/references/drop-vcluster.md +63 -0
  697. package/bin/skills/lakehouse-doc-en/references/drop-view.md +63 -0
  698. package/bin/skills/lakehouse-doc-en/references/drop-volume.md +55 -0
  699. package/bin/skills/lakehouse-doc-en/references/drop.md +84 -0
  700. package/bin/skills/lakehouse-doc-en/references/dynamic-mask.md +202 -0
  701. package/bin/skills/lakehouse-doc-en/references/dynamic-table-bestpractice.md +193 -0
  702. package/bin/skills/lakehouse-doc-en/references/dynamic-table-dml-sql.md +54 -0
  703. package/bin/skills/lakehouse-doc-en/references/dynamic-table-dml.md +48 -0
  704. package/bin/skills/lakehouse-doc-en/references/dynamic-table-incre.md +38 -0
  705. package/bin/skills/lakehouse-doc-en/references/dynamic-table-introduce.md +320 -0
  706. package/bin/skills/lakehouse-doc-en/references/dynamic-table-parameters.md +423 -0
  707. package/bin/skills/lakehouse-doc-en/references/dynamic-table-scheduling.md +42 -0
  708. package/bin/skills/lakehouse-doc-en/references/dynamic-table.md +96 -0
  709. package/bin/skills/lakehouse-doc-en/references/dynamicTable-DML-sql.md +59 -0
  710. package/bin/skills/lakehouse-doc-en/references/dynamicTable-dml.md +47 -0
  711. package/bin/skills/lakehouse-doc-en/references/dynamicTable-parmaters.md +250 -0
  712. package/bin/skills/lakehouse-doc-en/references/dynamic_table_summary.md +366 -0
  713. package/bin/skills/lakehouse-doc-en/references/dynamic_table_task.md +68 -0
  714. package/bin/skills/lakehouse-doc-en/references/dynamic_table_using_studio.md +163 -0
  715. package/bin/skills/lakehouse-doc-en/references/dynamictable.md +53 -0
  716. package/bin/skills/lakehouse-doc-en/references/eco_integration/Zeppelin.md +79 -0
  717. package/bin/skills/lakehouse-doc-en/references/eco_integration/airbyte.md +74 -0
  718. package/bin/skills/lakehouse-doc-en/references/eco_integration/datagrip-lakehouse.md +55 -0
  719. package/bin/skills/lakehouse-doc-en/references/eco_integration/datax.md +163 -0
  720. package/bin/skills/lakehouse-doc-en/references/eco_integration/dbeaver-lakehouse.md +65 -0
  721. package/bin/skills/lakehouse-doc-en/references/eco_integration/dbt-jaffle-shop-quickstart.md +234 -0
  722. package/bin/skills/lakehouse-doc-en/references/eco_integration/dbt.md +300 -0
  723. package/bin/skills/lakehouse-doc-en/references/eco_integration/rath.md +84 -0
  724. package/bin/skills/lakehouse-doc-en/references/eco_integration/sqlline.md +72 -0
  725. package/bin/skills/lakehouse-doc-en/references/eco_integration/sqlworkbench-j-lakehouse.md +52 -0
  726. package/bin/skills/lakehouse-doc-en/references/eco_integration/streamlit.md +104 -0
  727. package/bin/skills/lakehouse-doc-en/references/eco_integration/superset.md +98 -0
  728. package/bin/skills/lakehouse-doc-en/references/eco_integration/trino.md +73 -0
  729. package/bin/skills/lakehouse-doc-en/references/ecosystem-all.md +121 -0
  730. package/bin/skills/lakehouse-doc-en/references/encryption-function.md +1 -0
  731. package/bin/skills/lakehouse-doc-en/references/export_data_with_data-integration.md +3 -0
  732. package/bin/skills/lakehouse-doc-en/references/external-Volume.md +10 -0
  733. package/bin/skills/lakehouse-doc-en/references/external-catalog-concept.md +329 -0
  734. package/bin/skills/lakehouse-doc-en/references/external-catalog-summary.md +38 -0
  735. package/bin/skills/lakehouse-doc-en/references/external-catalog.md +1 -0
  736. package/bin/skills/lakehouse-doc-en/references/external-function-dev-guide-java.md +556 -0
  737. package/bin/skills/lakehouse-doc-en/references/external-function-summary.md +0 -0
  738. package/bin/skills/lakehouse-doc-en/references/external-hudi-table.md +188 -0
  739. package/bin/skills/lakehouse-doc-en/references/external-schema.md +100 -0
  740. package/bin/skills/lakehouse-doc-en/references/external-table-guide.md +101 -0
  741. package/bin/skills/lakehouse-doc-en/references/external_catalog_schema.md +182 -0
  742. package/bin/skills/lakehouse-doc-en/references/external_object_user_guide.md +298 -0
  743. package/bin/skills/lakehouse-doc-en/references/external_volume.md +199 -0
  744. package/bin/skills/lakehouse-doc-en/references/f6fc6447ee.md +161 -0
  745. package/bin/skills/lakehouse-doc-en/references/feature-engineering-with-zettapark.md +429 -0
  746. package/bin/skills/lakehouse-doc-en/references/federation-query.md +74 -0
  747. package/bin/skills/lakehouse-doc-en/references/file_functions.md +1 -0
  748. package/bin/skills/lakehouse-doc-en/references/filter-clause.md +76 -0
  749. package/bin/skills/lakehouse-doc-en/references/finebi-mysql.md +106 -0
  750. package/bin/skills/lakehouse-doc-en/references/flink-write-connector.md +646 -0
  751. package/bin/skills/lakehouse-doc-en/references/from_lakehouse_to_volume.md +109 -0
  752. package/bin/skills/lakehouse-doc-en/references/from_volume_to_table.md +45 -0
  753. package/bin/skills/lakehouse-doc-en/references/full-text-search.md +1 -0
  754. package/bin/skills/lakehouse-doc-en/references/fulltext_indexes_guide.md +1197 -0
  755. package/bin/skills/lakehouse-doc-en/references/function-overview.md +98 -0
  756. package/bin/skills/lakehouse-doc-en/references/functions.md +101 -0
  757. package/bin/skills/lakehouse-doc-en/references/funnel-analysis-with-window-functions.md +350 -0
  758. package/bin/skills/lakehouse-doc-en/references/generated-column.md +99 -0
  759. package/bin/skills/lakehouse-doc-en/references/generated_columns_guide.md +847 -0
  760. package/bin/skills/lakehouse-doc-en/references/geo.md +1 -0
  761. package/bin/skills/lakehouse-doc-en/references/geospatial_analysis.md +566 -0
  762. package/bin/skills/lakehouse-doc-en/references/get-started-with-sample-data.md +79 -0
  763. package/bin/skills/lakehouse-doc-en/references/getting_started_with_vcluster_for_processing_analytics.md +442 -0
  764. package/bin/skills/lakehouse-doc-en/references/gitfolder.md +57 -0
  765. package/bin/skills/lakehouse-doc-en/references/grant-privileges.md +140 -0
  766. package/bin/skills/lakehouse-doc-en/references/grant-to-share.md +54 -0
  767. package/bin/skills/lakehouse-doc-en/references/grant-user-privileges.md +112 -0
  768. package/bin/skills/lakehouse-doc-en/references/groupby.md +1258 -0
  769. package/bin/skills/lakehouse-doc-en/references/guides-overview-connecting.md +46 -0
  770. package/bin/skills/lakehouse-doc-en/references/hash.md +1 -0
  771. package/bin/skills/lakehouse-doc-en/references/high_order_function.md +1 -0
  772. package/bin/skills/lakehouse-doc-en/references/hive-connection.md +50 -0
  773. package/bin/skills/lakehouse-doc-en/references/hive-to-lakehouse-ecommerce.md +362 -0
  774. package/bin/skills/lakehouse-doc-en/references/ide.md +8 -0
  775. package/bin/skills/lakehouse-doc-en/references/identity-auth.md +8 -0
  776. package/bin/skills/lakehouse-doc-en/references/if_else_task.md +160 -0
  777. package/bin/skills/lakehouse-doc-en/references/ifnull.md +62 -0
  778. package/bin/skills/lakehouse-doc-en/references/ilike.md +83 -0
  779. package/bin/skills/lakehouse-doc-en/references/import-data-by-python-into-lakehouse.md +141 -0
  780. package/bin/skills/lakehouse-doc-en/references/import-feishu-data.md +389 -0
  781. package/bin/skills/lakehouse-doc-en/references/import_data_with_data-integration.md +3 -0
  782. package/bin/skills/lakehouse-doc-en/references/importdatabypythonintoLakehouse.md +134 -0
  783. package/bin/skills/lakehouse-doc-en/references/incremental-computing.md +482 -0
  784. package/bin/skills/lakehouse-doc-en/references/incremetal-compute.md +1 -0
  785. package/bin/skills/lakehouse-doc-en/references/index-overview.md +25 -0
  786. package/bin/skills/lakehouse-doc-en/references/index-partition-overview.md +137 -0
  787. package/bin/skills/lakehouse-doc-en/references/index-t.md +1 -0
  788. package/bin/skills/lakehouse-doc-en/references/index2.md +1 -0
  789. package/bin/skills/lakehouse-doc-en/references/index_guide.md +81 -0
  790. package/bin/skills/lakehouse-doc-en/references/indexs.md +1 -0
  791. package/bin/skills/lakehouse-doc-en/references/information_schema_guide.md +188 -0
  792. package/bin/skills/lakehouse-doc-en/references/ingesting-data-from-alibaba-cloud-datalake.md +977 -0
  793. package/bin/skills/lakehouse-doc-en/references/input_output.md +70 -0
  794. package/bin/skills/lakehouse-doc-en/references/instance-information-schema-summary.md +53 -0
  795. package/bin/skills/lakehouse-doc-en/references/instance-information-schema.md +344 -0
  796. package/bin/skills/lakehouse-doc-en/references/instance-information_schema.md +1 -0
  797. package/bin/skills/lakehouse-doc-en/references/internal_volume.md +213 -0
  798. package/bin/skills/lakehouse-doc-en/references/intro-supported-features.md +48 -0
  799. package/bin/skills/lakehouse-doc-en/references/inverted-index.md +350 -0
  800. package/bin/skills/lakehouse-doc-en/references/inverted_idx_bm25_param.md +251 -0
  801. package/bin/skills/lakehouse-doc-en/references/inverted_idx_multi-match.md +89 -0
  802. package/bin/skills/lakehouse-doc-en/references/ip_function.md +1 -0
  803. package/bin/skills/lakehouse-doc-en/references/is-null.md +53 -0
  804. package/bin/skills/lakehouse-doc-en/references/it-operation-management.md +1 -0
  805. package/bin/skills/lakehouse-doc-en/references/java_reference/bulkload-upload.md +164 -0
  806. package/bin/skills/lakehouse-doc-en/references/java_reference/client.md +48 -0
  807. package/bin/skills/lakehouse-doc-en/references/java_reference/java-sdk-release-notes.md +32 -0
  808. package/bin/skills/lakehouse-doc-en/references/java_reference/java-sdk-summary.md +187 -0
  809. package/bin/skills/lakehouse-doc-en/references/java_reference/jdbc.md +211 -0
  810. package/bin/skills/lakehouse-doc-en/references/java_reference/realtime-upload.md +288 -0
  811. package/bin/skills/lakehouse-doc-en/references/java_sdk_guide.md +35 -0
  812. package/bin/skills/lakehouse-doc-en/references/jdbc_task.md +37 -0
  813. package/bin/skills/lakehouse-doc-en/references/job-manage.md +57 -0
  814. package/bin/skills/lakehouse-doc-en/references/job_history_analysis_with_information_schema.md +674 -0
  815. package/bin/skills/lakehouse-doc-en/references/jobprofile-bestpractices.md +108 -0
  816. package/bin/skills/lakehouse-doc-en/references/json_analyze.md +424 -0
  817. package/bin/skills/lakehouse-doc-en/references/json_data_process_guide.md +881 -0
  818. package/bin/skills/lakehouse-doc-en/references/json_function.md +1 -0
  819. package/bin/skills/lakehouse-doc-en/references/json_guide_for_complex_biz_cases.md +1897 -0
  820. package/bin/skills/lakehouse-doc-en/references/kafka-connection.md +36 -0
  821. package/bin/skills/lakehouse-doc-en/references/kafka-external-table.md +93 -0
  822. package/bin/skills/lakehouse-doc-en/references/key-concepts.md +394 -0
  823. package/bin/skills/lakehouse-doc-en/references/lakehouse-acceleration-guide.md +136 -0
  824. package/bin/skills/lakehouse-doc-en/references/lakehouse-ai.md +1 -0
  825. package/bin/skills/lakehouse-doc-en/references/lakehouse-data-engineering-handbook.md +519 -0
  826. package/bin/skills/lakehouse-doc-en/references/lakehouse-index-best-practice.md +670 -0
  827. package/bin/skills/lakehouse-doc-en/references/lakehouse-insight.md +104 -0
  828. package/bin/skills/lakehouse-doc-en/references/lakehouse-llms-index-skill.md +209 -0
  829. package/bin/skills/lakehouse-doc-en/references/lakehouse-platform-release-note.md +1 -0
  830. package/bin/skills/lakehouse-doc-en/references/lakehouse-quick-experience_guide.md +980 -0
  831. package/bin/skills/lakehouse-doc-en/references/lakehouse-studio-101.md +1 -0
  832. package/bin/skills/lakehouse-doc-en/references/lakehouse-studio-concept.md +46 -0
  833. package/bin/skills/lakehouse-doc-en/references/lakehouse-studio-release-note.md +1 -0
  834. package/bin/skills/lakehouse-doc-en/references/lakehouse-table-stream-best-practices.md +607 -0
  835. package/bin/skills/lakehouse-doc-en/references/lakehouse-zilliz-make-data-ready-for-bi-and-ai.md +256 -0
  836. package/bin/skills/lakehouse-doc-en/references/lakehouse_billing_anomaly_alert_configuration_guide.md +294 -0
  837. package/bin/skills/lakehouse-doc-en/references/lakehouse_instance_overview.md +43 -0
  838. package/bin/skills/lakehouse-doc-en/references/lakehouse_studio.md +1 -0
  839. package/bin/skills/lakehouse-doc-en/references/lakehouse_table_design_guide.md +2674 -0
  840. package/bin/skills/lakehouse-doc-en/references/lance_guide.md +320 -0
  841. package/bin/skills/lakehouse-doc-en/references/langchain-plug-installation.md +276 -0
  842. package/bin/skills/lakehouse-doc-en/references/langchain-plug-quick-start.md +305 -0
  843. package/bin/skills/lakehouse-doc-en/references/langchain-plugins-overview.md +463 -0
  844. package/bin/skills/lakehouse-doc-en/references/langchain.md +95 -0
  845. package/bin/skills/lakehouse-doc-en/references/langchain_basic_samples.md +761 -0
  846. package/bin/skills/lakehouse-doc-en/references/langchain_integration.md +1 -0
  847. package/bin/skills/lakehouse-doc-en/references/left.md +43 -0
  848. package/bin/skills/lakehouse-doc-en/references/like.md +71 -0
  849. package/bin/skills/lakehouse-doc-en/references/list-partition.md +88 -0
  850. package/bin/skills/lakehouse-doc-en/references/llama-index.md +52 -0
  851. package/bin/skills/lakehouse-doc-en/references/load-data-local.md +85 -0
  852. package/bin/skills/lakehouse-doc-en/references/load-data-oss.md +175 -0
  853. package/bin/skills/lakehouse-doc-en/references/load-history-function.md +14 -0
  854. package/bin/skills/lakehouse-doc-en/references/load_history.md +17 -0
  855. package/bin/skills/lakehouse-doc-en/references/logging-in.md +68 -0
  856. package/bin/skills/lakehouse-doc-en/references/manage-accounts.md +187 -0
  857. package/bin/skills/lakehouse-doc-en/references/management.md +181 -0
  858. package/bin/skills/lakehouse-doc-en/references/management_guide.md +115 -0
  859. package/bin/skills/lakehouse-doc-en/references/managing-files-on-volume-with-zettapark.md +165 -0
  860. package/bin/skills/lakehouse-doc-en/references/managing-instance.md +68 -0
  861. package/bin/skills/lakehouse-doc-en/references/managing-security.md +1 -0
  862. package/bin/skills/lakehouse-doc-en/references/map-function.md +1 -0
  863. package/bin/skills/lakehouse-doc-en/references/mapjoin.md +98 -0
  864. package/bin/skills/lakehouse-doc-en/references/materialized_ddl.md +90 -0
  865. package/bin/skills/lakehouse-doc-en/references/math_function.md +1 -0
  866. package/bin/skills/lakehouse-doc-en/references/maxcompute-to-lakehouse-ecommerce.md +405 -0
  867. package/bin/skills/lakehouse-doc-en/references/medallion-lakehouse-from-scratch.md +720 -0
  868. package/bin/skills/lakehouse-doc-en/references/meta-objects-and-privileges.md +273 -0
  869. package/bin/skills/lakehouse-doc-en/references/metabase.md +59 -0
  870. package/bin/skills/lakehouse-doc-en/references/metadata_show_desc_command_guide.md +711 -0
  871. package/bin/skills/lakehouse-doc-en/references/metrics_answer_build.md +45 -0
  872. package/bin/skills/lakehouse-doc-en/references/migrate-snowflake-realtime-etl-to-lakehouse.md +862 -0
  873. package/bin/skills/lakehouse-doc-en/references/migrate-spark-data-engineering-best-practices-to-lakehouse.md +293 -0
  874. package/bin/skills/lakehouse-doc-en/references/migration-spark-sql.md +610 -0
  875. package/bin/skills/lakehouse-doc-en/references/migration-sql-compatibility.md +184 -0
  876. package/bin/skills/lakehouse-doc-en/references/mindsdb.md +282 -0
  877. package/bin/skills/lakehouse-doc-en/references/modelprice.md +155 -0
  878. package/bin/skills/lakehouse-doc-en/references/modern-data-stack-with-ecosystem-tools.md +1 -0
  879. package/bin/skills/lakehouse-doc-en/references/monitor_and_alert.md +177 -0
  880. package/bin/skills/lakehouse-doc-en/references/monitoring_and_alerting.md +177 -0
  881. package/bin/skills/lakehouse-doc-en/references/monitoring_item_specification.md +44 -0
  882. package/bin/skills/lakehouse-doc-en/references/multi_cloud_instance_manage_with_mcp_server.md +284 -0
  883. package/bin/skills/lakehouse-doc-en/references/multitable_batch_sync.md +465 -0
  884. package/bin/skills/lakehouse-doc-en/references/multitable_realtime_sync.md +401 -0
  885. package/bin/skills/lakehouse-doc-en/references/multitable_realtime_sync_sop.md +588 -0
  886. package/bin/skills/lakehouse-doc-en/references/n8n_Integreated_with_lakehouse_mcp_server.md +538 -0
  887. package/bin/skills/lakehouse-doc-en/references/navicat-mysql.md +67 -0
  888. package/bin/skills/lakehouse-doc-en/references/network_policy.md +286 -0
  889. package/bin/skills/lakehouse-doc-en/references/notes-and-guidelines-for-partition-tables.md +1724 -0
  890. package/bin/skills/lakehouse-doc-en/references/number_type_guide.md +56 -0
  891. package/bin/skills/lakehouse-doc-en/references/nyc_green_taxi_data_clean_transform_with_mcp_server.md +315 -0
  892. package/bin/skills/lakehouse-doc-en/references/object-model-overview.md +69 -0
  893. package/bin/skills/lakehouse-doc-en/references/object_identifier.md +270 -0
  894. package/bin/skills/lakehouse-doc-en/references/object_model_design.md +244 -0
  895. package/bin/skills/lakehouse-doc-en/references/om-api-connection.md +35 -0
  896. package/bin/skills/lakehouse-doc-en/references/om-bloomfilter.md +39 -0
  897. package/bin/skills/lakehouse-doc-en/references/om-catalog-connection.md +36 -0
  898. package/bin/skills/lakehouse-doc-en/references/om-data-sharing.md +39 -0
  899. package/bin/skills/lakehouse-doc-en/references/om-dynamic-mask.md +40 -0
  900. package/bin/skills/lakehouse-doc-en/references/om-dynamic-table.md +223 -0
  901. package/bin/skills/lakehouse-doc-en/references/om-external-function.md +49 -0
  902. package/bin/skills/lakehouse-doc-en/references/om-external-volume.md +57 -0
  903. package/bin/skills/lakehouse-doc-en/references/om-internal-volume.md +91 -0
  904. package/bin/skills/lakehouse-doc-en/references/om-inverted-index.md +38 -0
  905. package/bin/skills/lakehouse-doc-en/references/om-named-volume.md +75 -0
  906. package/bin/skills/lakehouse-doc-en/references/om-network-policy.md +33 -0
  907. package/bin/skills/lakehouse-doc-en/references/om-pipe.md +217 -0
  908. package/bin/skills/lakehouse-doc-en/references/om-roles.md +46 -0
  909. package/bin/skills/lakehouse-doc-en/references/om-row-level-permission.md +38 -0
  910. package/bin/skills/lakehouse-doc-en/references/om-schema.md +44 -0
  911. package/bin/skills/lakehouse-doc-en/references/om-semantic-view.md +37 -0
  912. package/bin/skills/lakehouse-doc-en/references/om-storage-connection.md +47 -0
  913. package/bin/skills/lakehouse-doc-en/references/om-synonym.md +119 -0
  914. package/bin/skills/lakehouse-doc-en/references/om-table-stream.md +196 -0
  915. package/bin/skills/lakehouse-doc-en/references/om-table.md +193 -0
  916. package/bin/skills/lakehouse-doc-en/references/om-time-travel.md +46 -0
  917. package/bin/skills/lakehouse-doc-en/references/om-user-management.md +42 -0
  918. package/bin/skills/lakehouse-doc-en/references/om-vcluster.md +101 -0
  919. package/bin/skills/lakehouse-doc-en/references/om-view.md +199 -0
  920. package/bin/skills/lakehouse-doc-en/references/om-workspace.md +39 -0
  921. package/bin/skills/lakehouse-doc-en/references/opensource/travel.md +126 -0
  922. package/bin/skills/lakehouse-doc-en/references/operation-maintenance.md +149 -0
  923. package/bin/skills/lakehouse-doc-en/references/optimizing-computing-resources.md +1 -0
  924. package/bin/skills/lakehouse-doc-en/references/org-hierarchy.md +56 -0
  925. package/bin/skills/lakehouse-doc-en/references/oss_volume_creation.md +39 -0
  926. package/bin/skills/lakehouse-doc-en/references/overview.md +187 -0
  927. package/bin/skills/lakehouse-doc-en/references/pandas-to-zettapark-migration-retail.md +262 -0
  928. package/bin/skills/lakehouse-doc-en/references/partition-func.md +1 -0
  929. package/bin/skills/lakehouse-doc-en/references/partition_table.md +324 -0
  930. package/bin/skills/lakehouse-doc-en/references/partition_table_guide.md +319 -0
  931. package/bin/skills/lakehouse-doc-en/references/performance_optimization.md +34 -0
  932. package/bin/skills/lakehouse-doc-en/references/performence_test.md +1 -0
  933. package/bin/skills/lakehouse-doc-en/references/permission-application.md +43 -0
  934. package/bin/skills/lakehouse-doc-en/references/permissions-of-built-in-workspace-level-roles.md +131 -0
  935. package/bin/skills/lakehouse-doc-en/references/pipe-introduction.md +97 -0
  936. package/bin/skills/lakehouse-doc-en/references/pipe-kafka-bestpractice-1.md +431 -0
  937. package/bin/skills/lakehouse-doc-en/references/pipe-kafka-table-stream.md +182 -0
  938. package/bin/skills/lakehouse-doc-en/references/pipe-kafka.md +217 -0
  939. package/bin/skills/lakehouse-doc-en/references/pipe-overview.md +167 -0
  940. package/bin/skills/lakehouse-doc-en/references/pipe-storage-object.md +263 -0
  941. package/bin/skills/lakehouse-doc-en/references/pipe-summary.md +107 -0
  942. package/bin/skills/lakehouse-doc-en/references/pipe-syntax.md +183 -0
  943. package/bin/skills/lakehouse-doc-en/references/pipe.md +1 -0
  944. package/bin/skills/lakehouse-doc-en/references/pow.md +26 -0
  945. package/bin/skills/lakehouse-doc-en/references/power_bi.md +117 -0
  946. package/bin/skills/lakehouse-doc-en/references/practice_data_analysis.md +1 -0
  947. package/bin/skills/lakehouse-doc-en/references/practice_data_import_and_export.md +1 -0
  948. package/bin/skills/lakehouse-doc-en/references/practice_python_task.md +203 -0
  949. package/bin/skills/lakehouse-doc-en/references/preparetion.md +39 -0
  950. package/bin/skills/lakehouse-doc-en/references/pricing.md +314 -0
  951. package/bin/skills/lakehouse-doc-en/references/primary key.md +82 -0
  952. package/bin/skills/lakehouse-doc-en/references/primary-key.md +204 -0
  953. package/bin/skills/lakehouse-doc-en/references/privacy-policy.md +113 -0
  954. package/bin/skills/lakehouse-doc-en/references/private-link-general.md +66 -0
  955. package/bin/skills/lakehouse-doc-en/references/private_link.md +1 -0
  956. package/bin/skills/lakehouse-doc-en/references/private_storage_overview.md +165 -0
  957. package/bin/skills/lakehouse-doc-en/references/product-trial-agreement.md +93 -0
  958. package/bin/skills/lakehouse-doc-en/references/product_concept.md +1 -0
  959. package/bin/skills/lakehouse-doc-en/references/put-get.md +1 -0
  960. package/bin/skills/lakehouse-doc-en/references/put_get_volume.md +3 -0
  961. package/bin/skills/lakehouse-doc-en/references/pyspark-to-zettapark-migration-f1.md +512 -0
  962. package/bin/skills/lakehouse-doc-en/references/python-igs.md +313 -0
  963. package/bin/skills/lakehouse-doc-en/references/python-sample-put-gharchive2oss.md +186 -0
  964. package/bin/skills/lakehouse-doc-en/references/python-sample-put-github-rt-events.md +348 -0
  965. package/bin/skills/lakehouse-doc-en/references/python-sdk-version-history.md +24 -0
  966. package/bin/skills/lakehouse-doc-en/references/python-sqlalchemy-version-history.md +23 -0
  967. package/bin/skills/lakehouse-doc-en/references/python-task-dev.md +1 -0
  968. package/bin/skills/lakehouse-doc-en/references/python-task.md +28 -0
  969. package/bin/skills/lakehouse-doc-en/references/python_package_install_import_guide.md +53 -0
  970. package/bin/skills/lakehouse-doc-en/references/python_reference/bulkload-upload.md +143 -0
  971. package/bin/skills/lakehouse-doc-en/references/python_reference/connector.md +248 -0
  972. package/bin/skills/lakehouse-doc-en/references/python_reference/connector_advanced.md +258 -0
  973. package/bin/skills/lakehouse-doc-en/references/python_reference/connector_examples.md +241 -0
  974. package/bin/skills/lakehouse-doc-en/references/python_reference/python-sdk-summary.md +88 -0
  975. package/bin/skills/lakehouse-doc-en/references/python_reference/sqlalchemy.md +145 -0
  976. package/bin/skills/lakehouse-doc-en/references/python_sdk_guide.md +40 -0
  977. package/bin/skills/lakehouse-doc-en/references/python_shell_datasource.md +356 -0
  978. package/bin/skills/lakehouse-doc-en/references/query-json-sy.md +80 -0
  979. package/bin/skills/lakehouse-doc-en/references/query-snowflake-open-catalog-iceberg-table.md +114 -0
  980. package/bin/skills/lakehouse-doc-en/references/query-syntax.md +294 -0
  981. package/bin/skills/lakehouse-doc-en/references/quick_start_batch_sync_data.md +116 -0
  982. package/bin/skills/lakehouse-doc-en/references/quick_start_bi_analysis.md +588 -0
  983. package/bin/skills/lakehouse-doc-en/references/quick_start_create_workspace.md +58 -0
  984. package/bin/skills/lakehouse-doc-en/references/quick_start_data_quality.md +75 -0
  985. package/bin/skills/lakehouse-doc-en/references/quick_start_etl.md +131 -0
  986. package/bin/skills/lakehouse-doc-en/references/quick_start_monitoring_and_alerting.md +93 -0
  987. package/bin/skills/lakehouse-doc-en/references/quick_start_sql_query.md +93 -0
  988. package/bin/skills/lakehouse-doc-en/references/quick_start_upload_data.md +69 -0
  989. package/bin/skills/lakehouse-doc-en/references/quick_start_user_management.md +72 -0
  990. package/bin/skills/lakehouse-doc-en/references/quick_start_workspace.md +72 -0
  991. package/bin/skills/lakehouse-doc-en/references/quick_start_workspace_user.md +67 -0
  992. package/bin/skills/lakehouse-doc-en/references/quickstart-with-copy-command.md +79 -0
  993. package/bin/skills/lakehouse-doc-en/references/quickstart.md +144 -0
  994. package/bin/skills/lakehouse-doc-en/references/quickstart_bak.md +592 -0
  995. package/bin/skills/lakehouse-doc-en/references/quickstart_datashare_between_companies.md +247 -0
  996. package/bin/skills/lakehouse-doc-en/references/quickstart_envirment_for_team.md +269 -0
  997. package/bin/skills/lakehouse-doc-en/references/quickstart_local_csv.md +90 -0
  998. package/bin/skills/lakehouse-doc-en/references/rdd-to-zettapark-migration-weblog.md +512 -0
  999. package/bin/skills/lakehouse-doc-en/references/realtime-pipeline-selection-guide.md +348 -0
  1000. package/bin/skills/lakehouse-doc-en/references/realtime-sales-dashboard-with-dynamic-table.md +317 -0
  1001. package/bin/skills/lakehouse-doc-en/references/realtime_sync.md +30 -0
  1002. package/bin/skills/lakehouse-doc-en/references/realtime_sync_and_analysis_practice.md +183 -0
  1003. package/bin/skills/lakehouse-doc-en/references/realtimesync_m.md +189 -0
  1004. package/bin/skills/lakehouse-doc-en/references/refactor-elt-practice.md +241 -0
  1005. package/bin/skills/lakehouse-doc-en/references/refresh-dynamic-table.md +35 -0
  1006. package/bin/skills/lakehouse-doc-en/references/refresh-history.md +54 -0
  1007. package/bin/skills/lakehouse-doc-en/references/refresh-materialized-view.md +35 -0
  1008. package/bin/skills/lakehouse-doc-en/references/regexp-function.md +1 -0
  1009. package/bin/skills/lakehouse-doc-en/references/regexp-statement.md +75 -0
  1010. package/bin/skills/lakehouse-doc-en/references/register_account.md +77 -0
  1011. package/bin/skills/lakehouse-doc-en/references/release-note-0414-1.1.md +56 -0
  1012. package/bin/skills/lakehouse-doc-en/references/release-note-2026-05-19.md +64 -0
  1013. package/bin/skills/lakehouse-doc-en/references/release-notes.md +1 -0
  1014. package/bin/skills/lakehouse-doc-en/references/releasenotes.md +1 -0
  1015. package/bin/skills/lakehouse-doc-en/references/releasenotesupdata.md +1 -0
  1016. package/bin/skills/lakehouse-doc-en/references/remove-volume.md +73 -0
  1017. package/bin/skills/lakehouse-doc-en/references/restore-dynamic-table.md +118 -0
  1018. package/bin/skills/lakehouse-doc-en/references/restore.md +118 -0
  1019. package/bin/skills/lakehouse-doc-en/references/result_cache.md +102 -0
  1020. package/bin/skills/lakehouse-doc-en/references/revoke-from-share.md +71 -0
  1021. package/bin/skills/lakehouse-doc-en/references/revoke-privileges.md +108 -0
  1022. package/bin/skills/lakehouse-doc-en/references/revoke-user-privileges.md +107 -0
  1023. package/bin/skills/lakehouse-doc-en/references/right.md +74 -0
  1024. package/bin/skills/lakehouse-doc-en/references/rlike.md +69 -0
  1025. package/bin/skills/lakehouse-doc-en/references/role-privilege-manage.md +80 -0
  1026. package/bin/skills/lakehouse-doc-en/references/role-privlilige-manage.md +1 -0
  1027. package/bin/skills/lakehouse-doc-en/references/roles.md +123 -0
  1028. package/bin/skills/lakehouse-doc-en/references/rom_lakehouse_to_volume.md +1 -0
  1029. package/bin/skills/lakehouse-doc-en/references/row_level_permission.md +41 -0
  1030. package/bin/skills/lakehouse-doc-en/references/rrf-fulltext-vector-hybrid-search-best-practices.md +233 -0
  1031. package/bin/skills/lakehouse-doc-en/references/s3_volume_creation.md +37 -0
  1032. package/bin/skills/lakehouse-doc-en/references/sample-data-using.md +768 -0
  1033. package/bin/skills/lakehouse-doc-en/references/scd2-product-dimension-with-merge-into.md +314 -0
  1034. package/bin/skills/lakehouse-doc-en/references/scheduled_task.md +54 -0
  1035. package/bin/skills/lakehouse-doc-en/references/search-functions.md +1 -0
  1036. package/bin/skills/lakehouse-doc-en/references/security-policy-overview.md +112 -0
  1037. package/bin/skills/lakehouse-doc-en/references/security-system-inventory-based-information-schema.md +411 -0
  1038. package/bin/skills/lakehouse-doc-en/references/security_compliance_audit_dir_guide.md +1 -0
  1039. package/bin/skills/lakehouse-doc-en/references/security_compliance_audit_guide.md +393 -0
  1040. package/bin/skills/lakehouse-doc-en/references/security_overview.md +41 -0
  1041. package/bin/skills/lakehouse-doc-en/references/select-catalog-table.md +48 -0
  1042. package/bin/skills/lakehouse-doc-en/references/semantic-view-advanced.md +124 -0
  1043. package/bin/skills/lakehouse-doc-en/references/semantic-view-agent-guide.md +474 -0
  1044. package/bin/skills/lakehouse-doc-en/references/semantic-view-ai.md +184 -0
  1045. package/bin/skills/lakehouse-doc-en/references/semantic-view-best-practices.md +163 -0
  1046. package/bin/skills/lakehouse-doc-en/references/semantic-view-create.md +202 -0
  1047. package/bin/skills/lakehouse-doc-en/references/semantic-view-manage.md +143 -0
  1048. package/bin/skills/lakehouse-doc-en/references/semantic-view-overview.md +42 -0
  1049. package/bin/skills/lakehouse-doc-en/references/semantic-view-query.md +194 -0
  1050. package/bin/skills/lakehouse-doc-en/references/semantic_view.md +891 -0
  1051. package/bin/skills/lakehouse-doc-en/references/server-data-for-ai.md +134 -0
  1052. package/bin/skills/lakehouse-doc-en/references/service-aggrement.md +299 -0
  1053. package/bin/skills/lakehouse-doc-en/references/set-command.md +200 -0
  1054. package/bin/skills/lakehouse-doc-en/references/set-operations.md +199 -0
  1055. package/bin/skills/lakehouse-doc-en/references/set-properties.md +119 -0
  1056. package/bin/skills/lakehouse-doc-en/references/setup.md +38 -0
  1057. package/bin/skills/lakehouse-doc-en/references/setup_cz_cli.md +495 -0
  1058. package/bin/skills/lakehouse-doc-en/references/share-ddl.md +53 -0
  1059. package/bin/skills/lakehouse-doc-en/references/show-cached-status.md +29 -0
  1060. package/bin/skills/lakehouse-doc-en/references/show-catalog-schema.md +43 -0
  1061. package/bin/skills/lakehouse-doc-en/references/show-catalog-table.md +51 -0
  1062. package/bin/skills/lakehouse-doc-en/references/show-catalog.md +43 -0
  1063. package/bin/skills/lakehouse-doc-en/references/show-columns.md +78 -0
  1064. package/bin/skills/lakehouse-doc-en/references/show-connections.md +42 -0
  1065. package/bin/skills/lakehouse-doc-en/references/show-create-dynamic-table.md +37 -0
  1066. package/bin/skills/lakehouse-doc-en/references/show-create-external-table.md +105 -0
  1067. package/bin/skills/lakehouse-doc-en/references/show-create-materialized-view.md +35 -0
  1068. package/bin/skills/lakehouse-doc-en/references/show-create-pipe.md +15 -0
  1069. package/bin/skills/lakehouse-doc-en/references/show-create-table.md +93 -0
  1070. package/bin/skills/lakehouse-doc-en/references/show-dynamic-table.md +60 -0
  1071. package/bin/skills/lakehouse-doc-en/references/show-external-functions.md +36 -0
  1072. package/bin/skills/lakehouse-doc-en/references/show-external-schemas.md +108 -0
  1073. package/bin/skills/lakehouse-doc-en/references/show-external-table.md +72 -0
  1074. package/bin/skills/lakehouse-doc-en/references/show-finctions.md +21 -0
  1075. package/bin/skills/lakehouse-doc-en/references/show-functions.md +38 -0
  1076. package/bin/skills/lakehouse-doc-en/references/show-grants-user.md +62 -0
  1077. package/bin/skills/lakehouse-doc-en/references/show-grants.md +129 -0
  1078. package/bin/skills/lakehouse-doc-en/references/show-jobs.md +87 -0
  1079. package/bin/skills/lakehouse-doc-en/references/show-materialized-view.md +81 -0
  1080. package/bin/skills/lakehouse-doc-en/references/show-network-policy.md +40 -0
  1081. package/bin/skills/lakehouse-doc-en/references/show-pipes.md +29 -0
  1082. package/bin/skills/lakehouse-doc-en/references/show-roles.md +122 -0
  1083. package/bin/skills/lakehouse-doc-en/references/show-schemas.md +41 -0
  1084. package/bin/skills/lakehouse-doc-en/references/show-shares.md +95 -0
  1085. package/bin/skills/lakehouse-doc-en/references/show-storage-connections.md +41 -0
  1086. package/bin/skills/lakehouse-doc-en/references/show-synonyms.md +23 -0
  1087. package/bin/skills/lakehouse-doc-en/references/show-table-streams.md +42 -0
  1088. package/bin/skills/lakehouse-doc-en/references/show-tables-history.md +81 -0
  1089. package/bin/skills/lakehouse-doc-en/references/show-tables.md +76 -0
  1090. package/bin/skills/lakehouse-doc-en/references/show-users.md +39 -0
  1091. package/bin/skills/lakehouse-doc-en/references/show-vclusters.md +59 -0
  1092. package/bin/skills/lakehouse-doc-en/references/show-views.md +78 -0
  1093. package/bin/skills/lakehouse-doc-en/references/show-volume.md +114 -0
  1094. package/bin/skills/lakehouse-doc-en/references/show-workspaces.md +48 -0
  1095. package/bin/skills/lakehouse-doc-en/references/show.md +105 -0
  1096. package/bin/skills/lakehouse-doc-en/references/simpletosimple_bazhuayu_datagpt.md +150 -0
  1097. package/bin/skills/lakehouse-doc-en/references/singdata_overview.md +1 -0
  1098. package/bin/skills/lakehouse-doc-en/references/slowly-changing-dimensions-with-streams-and-tasks.md +640 -0
  1099. package/bin/skills/lakehouse-doc-en/references/small_file_optimization.md +120 -0
  1100. package/bin/skills/lakehouse-doc-en/references/snowflake-dynamic-tables-to-lakehouse.md +268 -0
  1101. package/bin/skills/lakehouse-doc-en/references/snowflake-snowpark-to-zettapark-migration.md +390 -0
  1102. package/bin/skills/lakehouse-doc-en/references/spark-connector-summary.md +307 -0
  1103. package/bin/skills/lakehouse-doc-en/references/spark-connector-use.md +225 -0
  1104. package/bin/skills/lakehouse-doc-en/references/spark-connector.md +1 -0
  1105. package/bin/skills/lakehouse-doc-en/references/spark-lakehouse-iceberg-rest.md +180 -0
  1106. package/bin/skills/lakehouse-doc-en/references/spark-migration-guide.md +158 -0
  1107. package/bin/skills/lakehouse-doc-en/references/sql-commands.md +77 -0
  1108. package/bin/skills/lakehouse-doc-en/references/sql-comments.md +31 -0
  1109. package/bin/skills/lakehouse-doc-en/references/sql-function-guide.md +234 -0
  1110. package/bin/skills/lakehouse-doc-en/references/sql-parmaters.md +430 -0
  1111. package/bin/skills/lakehouse-doc-en/references/sql-qualify.md +286 -0
  1112. package/bin/skills/lakehouse-doc-en/references/sql-query-overview.md +39 -0
  1113. package/bin/skills/lakehouse-doc-en/references/sql-reference.md +79 -0
  1114. package/bin/skills/lakehouse-doc-en/references/sql_data_transfom_NestedDataTypes.md +452 -0
  1115. package/bin/skills/lakehouse-doc-en/references/sql_data_transform.md +114 -0
  1116. package/bin/skills/lakehouse-doc-en/references/sql_data_transform_basic.md +572 -0
  1117. package/bin/skills/lakehouse-doc-en/references/sql_data_transform_cte.md +166 -0
  1118. package/bin/skills/lakehouse-doc-en/references/sql_data_transform_tips.md +405 -0
  1119. package/bin/skills/lakehouse-doc-en/references/sql_data_transform_windows.md +430 -0
  1120. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/any_value.md +66 -0
  1121. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/approx_count_distinct.md +41 -0
  1122. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/approx_histogram.md +50 -0
  1123. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/approx_percentile.md +56 -0
  1124. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/approx_top_k.md +54 -0
  1125. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/array_agg.md +50 -0
  1126. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/avg.md +68 -0
  1127. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/bit_and.md +60 -0
  1128. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/bit_or.md +64 -0
  1129. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/bit_xor.md +60 -0
  1130. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/bitmap_agg.md +30 -0
  1131. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/bitmap_union.md +41 -0
  1132. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/bitmap_union_count.md +40 -0
  1133. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/bool_and.md +66 -0
  1134. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/bool_or.md +68 -0
  1135. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/collect_list.md +58 -0
  1136. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/collect_list_on_array.md +82 -0
  1137. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/collect_set.md +85 -0
  1138. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/collect_set_on_array.md +57 -0
  1139. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/corr.md +103 -0
  1140. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/count.md +96 -0
  1141. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/count_distinct.md +96 -0
  1142. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/count_if.md +57 -0
  1143. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/covar_pop.md +89 -0
  1144. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/covar_samp.md +113 -0
  1145. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/first_value.md +122 -0
  1146. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/group-array.md +90 -0
  1147. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/groupArray.md +90 -0
  1148. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/group_bitmap.md +56 -0
  1149. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/group_bitmap_and.md +59 -0
  1150. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/group_bitmap_and_state.md +71 -0
  1151. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/group_bitmap_merge.md +56 -0
  1152. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/group_bitmap_merge_state.md +28 -0
  1153. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/group_bitmap_or.md +56 -0
  1154. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/group_bitmap_or_state.md +54 -0
  1155. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/group_bitmap_state.md +46 -0
  1156. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/group_bitmap_xor.md +60 -0
  1157. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/group_bitmap_xor_state.md +89 -0
  1158. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/group_concat.md +74 -0
  1159. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/json_array_agg.md +49 -0
  1160. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/json_merge_agg.md +31 -0
  1161. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/json_object_agg.md +38 -0
  1162. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/last_value.md +100 -0
  1163. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/map_agg.md +79 -0
  1164. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/max.md +70 -0
  1165. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/max_by.md +46 -0
  1166. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/median.md +75 -0
  1167. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/min.md +58 -0
  1168. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/min_by.md +68 -0
  1169. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/percentile.md +51 -0
  1170. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/percentile_approx.md +71 -0
  1171. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/percentile_rank.md +33 -0
  1172. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/std.md +72 -0
  1173. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/stddev.md +67 -0
  1174. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/stddev_pop.md +67 -0
  1175. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/stddev_samp.md +67 -0
  1176. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/sum.md +67 -0
  1177. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/topn.md +42 -0
  1178. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/topn_array.md +42 -0
  1179. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/var_pop.md +65 -0
  1180. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/var_samp.md +65 -0
  1181. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/variance.md +72 -0
  1182. package/bin/skills/lakehouse-doc-en/references/sql_functions/aggregate_functions/wm_concat.md +72 -0
  1183. package/bin/skills/lakehouse-doc-en/references/sql_functions/context_functions/current_instance_id.md +17 -0
  1184. package/bin/skills/lakehouse-doc-en/references/sql_functions/context_functions/current_schema.md +29 -0
  1185. package/bin/skills/lakehouse-doc-en/references/sql_functions/context_functions/current_session_id.md +30 -0
  1186. package/bin/skills/lakehouse-doc-en/references/sql_functions/context_functions/current_user.md +24 -0
  1187. package/bin/skills/lakehouse-doc-en/references/sql_functions/context_functions/current_user_id.md +22 -0
  1188. package/bin/skills/lakehouse-doc-en/references/sql_functions/context_functions/current_vcluster.md +38 -0
  1189. package/bin/skills/lakehouse-doc-en/references/sql_functions/context_functions/current_workspace.md +19 -0
  1190. package/bin/skills/lakehouse-doc-en/references/sql_functions/context_functions/current_workspace_id.md +25 -0
  1191. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/binary_to_bitmap.md +25 -0
  1192. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_and.md +35 -0
  1193. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_and_cardinality.md +48 -0
  1194. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_andnot.md +60 -0
  1195. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_andnot_cardinality.md +58 -0
  1196. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_build.md +53 -0
  1197. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_cardinality.md +49 -0
  1198. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_contains.md +45 -0
  1199. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_count.md +45 -0
  1200. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_empty.md +52 -0
  1201. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_has_all.md +48 -0
  1202. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_has_any.md +63 -0
  1203. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_hash.md +52 -0
  1204. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_hash64.md +62 -0
  1205. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_max.md +25 -0
  1206. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_min.md +28 -0
  1207. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_or.md +58 -0
  1208. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_or_cardinality.md +22 -0
  1209. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_remove.md +42 -0
  1210. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_subset_in_range.md +48 -0
  1211. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_subset_limit.md +33 -0
  1212. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_to_array.md +23 -0
  1213. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_to_binary.md +23 -0
  1214. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_to_rb32.md +62 -0
  1215. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_to_rb64.md +62 -0
  1216. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_to_string.md +41 -0
  1217. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_transform.md +40 -0
  1218. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_xor.md +53 -0
  1219. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/bitmap_xor_cardinality.md +29 -0
  1220. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/rb32_to_bitmap.md +63 -0
  1221. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/rb64_to_bitmap.md +63 -0
  1222. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/string_to_bitmap.md +56 -0
  1223. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/sub_bitmap.md +33 -0
  1224. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitmap_functions/to_bitmap.md +78 -0
  1225. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitwise_functions/bit_count.md +38 -0
  1226. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitwise_functions/bitnot.md +30 -0
  1227. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitwise_functions/shiftleft.md +85 -0
  1228. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitwise_functions/shiftright.md +88 -0
  1229. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/bitwise_functions/shiftrightunsigned.md +88 -0
  1230. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/assert_true.md +74 -0
  1231. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/between.md +51 -0
  1232. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/case_when.md +87 -0
  1233. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/coalesce.md +43 -0
  1234. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/decode.md +45 -0
  1235. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/if.md +53 -0
  1236. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/ifnull.md +72 -0
  1237. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/in.md +32 -0
  1238. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/is-null.md +59 -0
  1239. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/is_false.md +63 -0
  1240. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/is_not_null.md +36 -0
  1241. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/is_null.md +32 -0
  1242. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/is_true.md +63 -0
  1243. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/multiif.md +48 -0
  1244. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/nullif.md +44 -0
  1245. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/nvl.md +33 -0
  1246. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/nvl2.md +41 -0
  1247. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/raise_error.md +52 -0
  1248. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/conditional_functions/typeof.md +70 -0
  1249. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/add_days.md +61 -0
  1250. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/add_months.md +38 -0
  1251. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/add_years.md +53 -0
  1252. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/adddate.md +53 -0
  1253. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/convert_timezone.md +45 -0
  1254. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/current_date.md +49 -0
  1255. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/current_timestamp.md +44 -0
  1256. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/date.md +39 -0
  1257. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/date_add.md +35 -0
  1258. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/date_format.md +40 -0
  1259. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/date_format_mysql.md +56 -0
  1260. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/date_format_pg.md +54 -0
  1261. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/date_sub.md +50 -0
  1262. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/date_trunc.md +58 -0
  1263. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/dateadd.md +59 -0
  1264. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/datediff.md +48 -0
  1265. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/datetime_patterns.md +60 -0
  1266. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/day.md +47 -0
  1267. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/dayofmonth.md +36 -0
  1268. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/dayofweek.md +30 -0
  1269. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/dayofweek_iso.md +45 -0
  1270. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/dayofyear.md +40 -0
  1271. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/days.md +25 -0
  1272. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/days_diff.md +39 -0
  1273. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/extract.md +47 -0
  1274. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/from_unixtime.md +42 -0
  1275. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/from_utc_timestamp.md +40 -0
  1276. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/hour.md +46 -0
  1277. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/hours.md +25 -0
  1278. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/hours_diff.md +39 -0
  1279. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/last_day.md +35 -0
  1280. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/localtimestamp.md +17 -0
  1281. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/makde_date.md +21 -0
  1282. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/make_date.md +20 -0
  1283. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/make_dt_interval.md +55 -0
  1284. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/make_ym_interval.md +49 -0
  1285. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/milliseconds_diff.md +39 -0
  1286. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/minute.md +38 -0
  1287. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/minutes_diff.md +39 -0
  1288. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/month.md +42 -0
  1289. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/months.md +25 -0
  1290. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/months_between.md +50 -0
  1291. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/months_diff.md +39 -0
  1292. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/next_day.md +51 -0
  1293. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/now.md +43 -0
  1294. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/quarter.md +44 -0
  1295. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/second.md +34 -0
  1296. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/seconds_diff.md +39 -0
  1297. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/str_to_date_mysql.md +37 -0
  1298. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/sub_days.md +58 -0
  1299. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/subdate.md +53 -0
  1300. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/timestamp_micros.md +32 -0
  1301. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/timestamp_millis.md +45 -0
  1302. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/timestamp_seconds.md +54 -0
  1303. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/timestampadd.md +59 -0
  1304. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/timestampdiff.md +67 -0
  1305. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/to_date.md +39 -0
  1306. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/to_start_of_interval.md +28 -0
  1307. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/to_timestamp.md +59 -0
  1308. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/to_timestamp_ntz.md +46 -0
  1309. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/to_unix_timestamp.md +49 -0
  1310. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/to_unix_timestamp_ms.md +45 -0
  1311. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/to_unix_timestamp_us.md +37 -0
  1312. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/to_utc_timestamp.md +56 -0
  1313. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/toyyyymmdd.md +62 -0
  1314. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/trunc.md +38 -0
  1315. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/unix_timestamp.md +86 -0
  1316. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/week.md +29 -0
  1317. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/weekday.md +48 -0
  1318. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/weekofyear.md +26 -0
  1319. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/weeks_diff.md +39 -0
  1320. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/year.md +35 -0
  1321. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/yearofweek.md +54 -0
  1322. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/years.md +25 -0
  1323. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/datetime_functions/years_diff.md +39 -0
  1324. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/file_functions/GET_PRESIGNED_URL.md +91 -0
  1325. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/geo_functions/st_geohash.md +33 -0
  1326. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/geo_functions/st_latfromgeohash.md +53 -0
  1327. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/geo_functions/st_longfromgeohash.md +52 -0
  1328. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/bucket.md +33 -0
  1329. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/crc32.md +60 -0
  1330. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/general_complexhash2.md +33 -0
  1331. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/general_hash.md +47 -0
  1332. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/general_murmurhash3.md +33 -0
  1333. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/hash_combine.md +35 -0
  1334. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/hash_combine_commutative.md +56 -0
  1335. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/md5.md +69 -0
  1336. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/murmurhash.md +33 -0
  1337. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/murmurhash3_32.md +33 -0
  1338. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/murmurhash3_64.md +33 -0
  1339. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/sha1.md +67 -0
  1340. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/sha2.md +106 -0
  1341. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/sha224.md +59 -0
  1342. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/sha256.md +59 -0
  1343. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/sha384.md +59 -0
  1344. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/sha512.md +59 -0
  1345. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/hash_functions/sm3.md +60 -0
  1346. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/array_aggregate.md +88 -0
  1347. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/array_filter_doris.md +78 -0
  1348. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/array_map_doris.md +39 -0
  1349. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/array_sort_by_key.md +40 -0
  1350. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/element_at.md +59 -0
  1351. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/exists.md +60 -0
  1352. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/filter.md +39 -0
  1353. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/forall.md +62 -0
  1354. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/high_order_functions.md +34 -0
  1355. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/map_filter.md +33 -0
  1356. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/map_zip_with.md +43 -0
  1357. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/transform.md +43 -0
  1358. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/transform_keys.md +42 -0
  1359. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/transform_values.md +34 -0
  1360. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/high_order_functions/zip_with.md +45 -0
  1361. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/ip_functions/get_ip_info.md +197 -0
  1362. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/ip_functions/ipv4_num_to_string.md +27 -0
  1363. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/ip_functions/ipv4_string_to_num.md +30 -0
  1364. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/ip_functions/ipv6_num_to_string.md +31 -0
  1365. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/ip_functions/ipv6_string_to_num.md +40 -0
  1366. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/ip_functions/is_ip_address_in_range.md +39 -0
  1367. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/from_json.md +82 -0
  1368. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/get_json_object.md +77 -0
  1369. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_array.md +36 -0
  1370. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_array_get.md +38 -0
  1371. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_contains.md +91 -0
  1372. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_extract.md +59 -0
  1373. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_extract_bigint.md +33 -0
  1374. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_extract_boolean.md +36 -0
  1375. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_extract_date.md +35 -0
  1376. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_extract_double.md +33 -0
  1377. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_extract_float.md +37 -0
  1378. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_extract_int.md +37 -0
  1379. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_extract_string.md +37 -0
  1380. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_extract_timestamp.md +35 -0
  1381. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_extract_timestamp_ntz.md +35 -0
  1382. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_length.md +37 -0
  1383. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_minify.md +33 -0
  1384. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_normalize.md +39 -0
  1385. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_object.md +47 -0
  1386. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_parse.md +45 -0
  1387. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_remove.md +39 -0
  1388. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_type.md +56 -0
  1389. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_unquote.md +39 -0
  1390. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/json_valid.md +45 -0
  1391. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/schema_of_json.md +63 -0
  1392. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/to_json.md +62 -0
  1393. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/json_functions/try_from_json.md +39 -0
  1394. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/abs.md +44 -0
  1395. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/acos.md +37 -0
  1396. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/acosh.md +39 -0
  1397. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/asin.md +38 -0
  1398. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/asinh.md +45 -0
  1399. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/atan.md +25 -0
  1400. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/atan2.md +40 -0
  1401. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/atanh.md +22 -0
  1402. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/bround.md +42 -0
  1403. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/cbrt.md +56 -0
  1404. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/ceil.md +45 -0
  1405. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/ceiling.md +47 -0
  1406. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/ceilling.md +41 -0
  1407. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/cos.md +40 -0
  1408. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/cosh.md +41 -0
  1409. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/cot.md +49 -0
  1410. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/csc.md +33 -0
  1411. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/degrees.md +38 -0
  1412. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/div.md +33 -0
  1413. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/e.md +29 -0
  1414. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/erf.md +74 -0
  1415. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/exp.md +31 -0
  1416. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/exp2.md +32 -0
  1417. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/expm1.md +49 -0
  1418. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/floor.md +42 -0
  1419. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/greatest.md +36 -0
  1420. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/hypot.md +35 -0
  1421. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/isnan.md +28 -0
  1422. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/least.md +38 -0
  1423. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/lgamma.md +75 -0
  1424. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/ln.md +52 -0
  1425. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/log.md +39 -0
  1426. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/log10.md +47 -0
  1427. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/log1p.md +45 -0
  1428. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/log2.md +28 -0
  1429. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/median.md +21 -0
  1430. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/mod.md +34 -0
  1431. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/monotonically_increasing_id.md +79 -0
  1432. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/negative.md +15 -0
  1433. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/operators.md +600 -0
  1434. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/pi.md +37 -0
  1435. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/pmod.md +32 -0
  1436. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/positive.md +15 -0
  1437. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/pow.md +37 -0
  1438. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/power.md +35 -0
  1439. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/radians.md +25 -0
  1440. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/rand.md +31 -0
  1441. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/randn.md +25 -0
  1442. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/random.md +54 -0
  1443. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/round.md +42 -0
  1444. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/shiftleft.md +78 -0
  1445. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/shiftright.md +81 -0
  1446. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/shiftrightunsigned.md +81 -0
  1447. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/sign.md +44 -0
  1448. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/sin.md +61 -0
  1449. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/sinh.md +44 -0
  1450. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/sqrt.md +38 -0
  1451. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/tan.md +41 -0
  1452. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/tanh.md +38 -0
  1453. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/math_functions/tgamma.md +75 -0
  1454. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array.md +45 -0
  1455. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_append.md +30 -0
  1456. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_compact.md +35 -0
  1457. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_contains.md +35 -0
  1458. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_distinct.md +38 -0
  1459. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_except.md +32 -0
  1460. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_intersect.md +39 -0
  1461. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_join.md +47 -0
  1462. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_max.md +52 -0
  1463. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_min.md +54 -0
  1464. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_position.md +44 -0
  1465. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_prepend.md +30 -0
  1466. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_remove.md +30 -0
  1467. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_repeat.md +50 -0
  1468. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_size.md +31 -0
  1469. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_sort.md +44 -0
  1470. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_sort_reverse.md +30 -0
  1471. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/array_union.md +32 -0
  1472. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/arrays_overlap.md +38 -0
  1473. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/arrays_zip.md +47 -0
  1474. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/cardinality.md +43 -0
  1475. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/concat.md +47 -0
  1476. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/concat_ws.md +67 -0
  1477. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/element_at.md +40 -0
  1478. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/flatten.md +50 -0
  1479. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/hasany_clickhouse.md +40 -0
  1480. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/map.md +214 -0
  1481. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/map_concat.md +36 -0
  1482. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/map_concat_array.md +30 -0
  1483. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/map_contains_key.md +33 -0
  1484. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/map_entries.md +40 -0
  1485. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/map_equal.md +32 -0
  1486. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/map_except.md +34 -0
  1487. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/map_from_arrays.md +40 -0
  1488. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/map_from_entries.md +50 -0
  1489. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/map_keys.md +34 -0
  1490. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/map_values.md +41 -0
  1491. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/multimap_from_entries.md +50 -0
  1492. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/named_struct.md +51 -0
  1493. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/sequence.md +33 -0
  1494. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/size.md +30 -0
  1495. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/slice.md +37 -0
  1496. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/sort_array.md +34 -0
  1497. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/struct.md +33 -0
  1498. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/struct_insert.md +48 -0
  1499. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/struct_update.md +39 -0
  1500. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/trans_array.md +219 -0
  1501. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/nested_functions/try_element_at.md +46 -0
  1502. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/partition/max_pt.md +36 -0
  1503. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/search_functions/match_all.md +52 -0
  1504. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/search_functions/match_any.md +52 -0
  1505. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/search_functions/match_phrase.md +50 -0
  1506. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/search_functions/match_phrase_prefix.md +35 -0
  1507. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/search_functions/match_regexp.md +28 -0
  1508. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/search_functions/tokenize.md +56 -0
  1509. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/aes_decrypt.md +37 -0
  1510. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/aes_decrypt_mysql.md +30 -0
  1511. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/aes_encrypt.md +33 -0
  1512. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/aes_encrypt_mysql.md +47 -0
  1513. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/ascii.md +34 -0
  1514. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/base64.md +27 -0
  1515. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/binary.md +36 -0
  1516. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/btrim.md +38 -0
  1517. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/char.md +51 -0
  1518. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/char_length.md +46 -0
  1519. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/character_length.md +46 -0
  1520. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/chr.md +26 -0
  1521. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/collation_sort_key.md +56 -0
  1522. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/concat.md +69 -0
  1523. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/concat_ws.md +67 -0
  1524. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/contains.md +29 -0
  1525. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/conv.md +48 -0
  1526. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/endswith.md +68 -0
  1527. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/find_in_set.md +49 -0
  1528. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/format_string.md +47 -0
  1529. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/gunzip.md +60 -0
  1530. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/gzip.md +60 -0
  1531. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/hex.md +43 -0
  1532. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/ilike.md +89 -0
  1533. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/instr.md +41 -0
  1534. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/is_ascii.md +27 -0
  1535. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/is_utf8.md +27 -0
  1536. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/lcase.md +45 -0
  1537. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/left.md +40 -0
  1538. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/length.md +30 -0
  1539. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/lengthb.md +42 -0
  1540. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/like.md +106 -0
  1541. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/locate.md +42 -0
  1542. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/lower.md +54 -0
  1543. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/lpad.md +42 -0
  1544. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/ltrim.md +43 -0
  1545. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/mask.md +36 -0
  1546. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/mask_inner.md +74 -0
  1547. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/mask_outer.md +74 -0
  1548. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/md5.md +59 -0
  1549. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/octet_length.md +47 -0
  1550. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/parse_url.md +72 -0
  1551. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/position.md +35 -0
  1552. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/regexp-statement.md +81 -0
  1553. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/regexp_count.md +112 -0
  1554. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/regexp_extract.md +37 -0
  1555. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/regexp_extract_all.md +41 -0
  1556. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/regexp_instr.md +146 -0
  1557. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/regexp_replace.md +33 -0
  1558. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/regexp_split_to_array.md +34 -0
  1559. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/repeat.md +44 -0
  1560. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/replace.md +37 -0
  1561. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/reverse.md +64 -0
  1562. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/right.md +39 -0
  1563. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/rlike.md +59 -0
  1564. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/rpad.md +46 -0
  1565. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/rtrim.md +42 -0
  1566. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/sha1.md +59 -0
  1567. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/space.md +30 -0
  1568. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/split.md +57 -0
  1569. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/split_by_regexp.md +34 -0
  1570. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/split_by_string.md +33 -0
  1571. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/split_part.md +42 -0
  1572. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/startswith.md +68 -0
  1573. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/str_to_map.md +46 -0
  1574. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/strpos.md +80 -0
  1575. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/substr.md +40 -0
  1576. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/substring.md +47 -0
  1577. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/substring_index.md +46 -0
  1578. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/translate.md +42 -0
  1579. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/trim.md +51 -0
  1580. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/typeof.md +63 -0
  1581. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/ucase.md +46 -0
  1582. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/unbase64.md +50 -0
  1583. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/unhex.md +46 -0
  1584. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/upper.md +45 -0
  1585. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/url_decode.md +36 -0
  1586. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/url_encode.md +37 -0
  1587. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/string_functions/uuid.md +37 -0
  1588. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/vector_functions/binary_quantize.md +52 -0
  1589. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/vector_functions/cosine_distance.md +47 -0
  1590. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/vector_functions/dot_product.md +48 -0
  1591. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/vector_functions/fill_vector.md +53 -0
  1592. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/vector_functions/hamming_distance.md +55 -0
  1593. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/vector_functions/jaccard_distance.md +53 -0
  1594. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/vector_functions/l2_distance.md +47 -0
  1595. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/vector_functions/l2_norm.md +46 -0
  1596. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/vector_functions/l2_normalize.md +48 -0
  1597. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/vector_functions/print_vector_bits.md +52 -0
  1598. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/vector_functions/vector.md +77 -0
  1599. package/bin/skills/lakehouse-doc-en/references/sql_functions/scalar_functions/vector_functions/vector_add_scalar.md +53 -0
  1600. package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/explode.md +64 -0
  1601. package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/explode_json_array_double.md +29 -0
  1602. package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/explode_json_array_int.md +29 -0
  1603. package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/explode_json_array_json.md +28 -0
  1604. package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/explode_json_array_string.md +29 -0
  1605. package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/explode_json_object.md +29 -0
  1606. package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/explode_outer.md +78 -0
  1607. package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/inline.md +42 -0
  1608. package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/json_tuple.md +72 -0
  1609. package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/load_history.md +55 -0
  1610. package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/posexplode.md +79 -0
  1611. package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/posexplode_outer.md +78 -0
  1612. package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/read_kafka.md +65 -0
  1613. package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/stack.md +62 -0
  1614. package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/table_changes.md +136 -0
  1615. package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/unnest.md +105 -0
  1616. package/bin/skills/lakehouse-doc-en/references/sql_functions/table_functions/unnset.md +101 -0
  1617. package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/avg.md +79 -0
  1618. package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/count.md +80 -0
  1619. package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/cume_dist.md +92 -0
  1620. package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/dense_rank.md +109 -0
  1621. package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/first.md +148 -0
  1622. package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/first_value.md +128 -0
  1623. package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/lag.md +59 -0
  1624. package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/last.md +158 -0
  1625. package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/last_value.md +154 -0
  1626. package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/lead.md +45 -0
  1627. package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/max.md +159 -0
  1628. package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/min.md +127 -0
  1629. package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/nth_value.md +108 -0
  1630. package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/ntile.md +53 -0
  1631. package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/percent_rank.md +53 -0
  1632. package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/rank.md +131 -0
  1633. package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/row_number.md +134 -0
  1634. package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/sum.md +99 -0
  1635. package/bin/skills/lakehouse-doc-en/references/sql_functions/window_functions/window_clause.md +81 -0
  1636. package/bin/skills/lakehouse-doc-en/references/sql_functions_guide.md +1 -0
  1637. package/bin/skills/lakehouse-doc-en/references/sql_practice.md +1 -0
  1638. package/bin/skills/lakehouse-doc-en/references/sql_rfm.md +197 -0
  1639. package/bin/skills/lakehouse-doc-en/references/sqlalchemy.md +76 -0
  1640. package/bin/skills/lakehouse-doc-en/references/ssb-benchmark.md +216 -0
  1641. package/bin/skills/lakehouse-doc-en/references/sso-configuration.md +160 -0
  1642. package/bin/skills/lakehouse-doc-en/references/storage_encryption.md +81 -0
  1643. package/bin/skills/lakehouse-doc-en/references/streaming_data_pipeline_overview.md +46 -0
  1644. package/bin/skills/lakehouse-doc-en/references/streaming_data_pipeline_overview1.md +1 -0
  1645. package/bin/skills/lakehouse-doc-en/references/streaming_pipeline_with_dynamic_table.md +93 -0
  1646. package/bin/skills/lakehouse-doc-en/references/string_function.md +1 -0
  1647. package/bin/skills/lakehouse-doc-en/references/string_guide.md +42 -0
  1648. package/bin/skills/lakehouse-doc-en/references/struct-function.md +1 -0
  1649. package/bin/skills/lakehouse-doc-en/references/structure_data_analysis.md +223 -0
  1650. package/bin/skills/lakehouse-doc-en/references/studio-di-privatelink-vpc-from-rds.md +105 -0
  1651. package/bin/skills/lakehouse-doc-en/references/studio-incremental-sync-practice.md +318 -0
  1652. package/bin/skills/lakehouse-doc-en/references/studio-jdbc-task.md +238 -0
  1653. package/bin/skills/lakehouse-doc-en/references/studio-python-task-connector.md +286 -0
  1654. package/bin/skills/lakehouse-doc-en/references/studio-python-task-zettapark.md +368 -0
  1655. package/bin/skills/lakehouse-doc-en/references/studio-shell-task.md +191 -0
  1656. package/bin/skills/lakehouse-doc-en/references/studio-task-practice.md +20 -0
  1657. package/bin/skills/lakehouse-doc-en/references/studio_manual.md +172 -0
  1658. package/bin/skills/lakehouse-doc-en/references/studio_overview.md +59 -0
  1659. package/bin/skills/lakehouse-doc-en/references/synonym.md +120 -0
  1660. package/bin/skills/lakehouse-doc-en/references/table-design.md +270 -0
  1661. package/bin/skills/lakehouse-doc-en/references/table-overview.md +68 -0
  1662. package/bin/skills/lakehouse-doc-en/references/table-stream-title.md +71 -0
  1663. package/bin/skills/lakehouse-doc-en/references/table-stream.md +1 -0
  1664. package/bin/skills/lakehouse-doc-en/references/table-summary.md +1 -0
  1665. package/bin/skills/lakehouse-doc-en/references/table_changes.md +127 -0
  1666. package/bin/skills/lakehouse-doc-en/references/table_function.md +1 -0
  1667. package/bin/skills/lakehouse-doc-en/references/table_rendering.md +34 -0
  1668. package/bin/skills/lakehouse-doc-en/references/table_stream.md +311 -0
  1669. package/bin/skills/lakehouse-doc-en/references/tableau-connect-to-lakehouse.md +64 -0
  1670. package/bin/skills/lakehouse-doc-en/references/tablesample.md +482 -0
  1671. package/bin/skills/lakehouse-doc-en/references/tablestream_summary.md +515 -0
  1672. package/bin/skills/lakehouse-doc-en/references/task-develop.md +277 -0
  1673. package/bin/skills/lakehouse-doc-en/references/task-instance-maintenance.md +198 -0
  1674. package/bin/skills/lakehouse-doc-en/references/task_development.md +54 -0
  1675. package/bin/skills/lakehouse-doc-en/references/task_group.md +158 -0
  1676. package/bin/skills/lakehouse-doc-en/references/task_instance.md +82 -0
  1677. package/bin/skills/lakehouse-doc-en/references/task_instance_operations.md +206 -0
  1678. package/bin/skills/lakehouse-doc-en/references/task_param.md +130 -0
  1679. package/bin/skills/lakehouse-doc-en/references/task_param_examples.md +220 -0
  1680. package/bin/skills/lakehouse-doc-en/references/task_param_reference.md +322 -0
  1681. package/bin/skills/lakehouse-doc-en/references/task_scheduling.md +1 -0
  1682. package/bin/skills/lakehouse-doc-en/references/task_scheduling_dependency.md +70 -0
  1683. package/bin/skills/lakehouse-doc-en/references/taskdevelop.md +268 -0
  1684. package/bin/skills/lakehouse-doc-en/references/tencentcloud_arn_and_externalid.md +29 -0
  1685. package/bin/skills/lakehouse-doc-en/references/tencentcloud_privatelink.md +1 -0
  1686. package/bin/skills/lakehouse-doc-en/references/time-function.md +67 -0
  1687. package/bin/skills/lakehouse-doc-en/references/time-travel-concept.md +175 -0
  1688. package/bin/skills/lakehouse-doc-en/references/time_date_guide.md +47 -0
  1689. package/bin/skills/lakehouse-doc-en/references/time_travel_guide.md +73 -0
  1690. package/bin/skills/lakehouse-doc-en/references/timetravel-summary.md +45 -0
  1691. package/bin/skills/lakehouse-doc-en/references/tools_AI.md +1 -0
  1692. package/bin/skills/lakehouse-doc-en/references/tools_BI.md +1 -0
  1693. package/bin/skills/lakehouse-doc-en/references/tools_app.md +1 -0
  1694. package/bin/skills/lakehouse-doc-en/references/tpcds-3tb-benchmark.md +754 -0
  1695. package/bin/skills/lakehouse-doc-en/references/tpcds-benchmark.md +756 -0
  1696. package/bin/skills/lakehouse-doc-en/references/tpch-benchmark.md +884 -0
  1697. package/bin/skills/lakehouse-doc-en/references/transform-dt.md +291 -0
  1698. package/bin/skills/lakehouse-doc-en/references/trial-account-quotas-and-limits.md +85 -0
  1699. package/bin/skills/lakehouse-doc-en/references/tutorial_DataGPT.md +1 -0
  1700. package/bin/skills/lakehouse-doc-en/references/tutorial_connect_to_lakehouse.md +1 -0
  1701. package/bin/skills/lakehouse-doc-en/references/tutorial_data_ingestion.md +1 -0
  1702. package/bin/skills/lakehouse-doc-en/references/tutorial_data_transformation.md +1 -0
  1703. package/bin/skills/lakehouse-doc-en/references/tutorial_migration.md +49 -0
  1704. package/bin/skills/lakehouse-doc-en/references/tutorial_virtual_cluster.md +149 -0
  1705. package/bin/skills/lakehouse-doc-en/references/tutorial_work_with_workspace.md +1 -0
  1706. package/bin/skills/lakehouse-doc-en/references/tutorial_zettapark.md +1 -0
  1707. package/bin/skills/lakehouse-doc-en/references/tutorials-streaming-data-pipeline-with_dynamic-table.md +123 -0
  1708. package/bin/skills/lakehouse-doc-en/references/tutorials.md +168 -0
  1709. package/bin/skills/lakehouse-doc-en/references/undrop-dynamic-table.md +74 -0
  1710. package/bin/skills/lakehouse-doc-en/references/undrop-materialized-view.md +74 -0
  1711. package/bin/skills/lakehouse-doc-en/references/undrop.md +36 -0
  1712. package/bin/skills/lakehouse-doc-en/references/unified-workflow-demo.md +175 -0
  1713. package/bin/skills/lakehouse-doc-en/references/unified-workflow-intro.md +31 -0
  1714. package/bin/skills/lakehouse-doc-en/references/unified-workflow.md +2 -0
  1715. package/bin/skills/lakehouse-doc-en/references/unifiedWorkflow.md +1 -0
  1716. package/bin/skills/lakehouse-doc-en/references/unloa-data-summary.md +17 -0
  1717. package/bin/skills/lakehouse-doc-en/references/unload-data-local.md +71 -0
  1718. package/bin/skills/lakehouse-doc-en/references/unload-data-summary.md +17 -0
  1719. package/bin/skills/lakehouse-doc-en/references/unstructure_data_analysis.md +1 -0
  1720. package/bin/skills/lakehouse-doc-en/references/unstructured-io.md +795 -0
  1721. package/bin/skills/lakehouse-doc-en/references/unstructured_etl_pipeline_notebook.md +11 -0
  1722. package/bin/skills/lakehouse-doc-en/references/unstructured_etl_pipeline_user_guide.md +1099 -0
  1723. package/bin/skills/lakehouse-doc-en/references/unstructured_etl_python_api.md +942 -0
  1724. package/bin/skills/lakehouse-doc-en/references/upload-data-with-sdk.md +4 -0
  1725. package/bin/skills/lakehouse-doc-en/references/upload-data.md +1 -0
  1726. package/bin/skills/lakehouse-doc-en/references/upload-json-jsonl.md +135 -0
  1727. package/bin/skills/lakehouse-doc-en/references/upload_data.md +122 -0
  1728. package/bin/skills/lakehouse-doc-en/references/use-copy-upload-data.md +88 -0
  1729. package/bin/skills/lakehouse-doc-en/references/use-dbt-dev.md +428 -0
  1730. package/bin/skills/lakehouse-doc-en/references/use-external-schema.md +34 -0
  1731. package/bin/skills/lakehouse-doc-en/references/use-external-upload-hive-data.md +18 -0
  1732. package/bin/skills/lakehouse-doc-en/references/use-java-sdk-realtime-uploaddata.md +163 -0
  1733. package/bin/skills/lakehouse-doc-en/references/use-java-sdk-upload-data-local.md +140 -0
  1734. package/bin/skills/lakehouse-doc-en/references/use-mysql-client.md +184 -0
  1735. package/bin/skills/lakehouse-doc-en/references/use-python-sdk-upload-data.md +103 -0
  1736. package/bin/skills/lakehouse-doc-en/references/use-schema.md +49 -0
  1737. package/bin/skills/lakehouse-doc-en/references/use-sql-analyze.md +1 -0
  1738. package/bin/skills/lakehouse-doc-en/references/use-vcluster.md +58 -0
  1739. package/bin/skills/lakehouse-doc-en/references/user-aggrement.md +1 -0
  1740. package/bin/skills/lakehouse-doc-en/references/user-external-function.md +56 -0
  1741. package/bin/skills/lakehouse-doc-en/references/user-identification.md +58 -0
  1742. package/bin/skills/lakehouse-doc-en/references/user_permission_grand_guide.md +322 -0
  1743. package/bin/skills/lakehouse-doc-en/references/user_rights_management.md +1 -0
  1744. package/bin/skills/lakehouse-doc-en/references/using-google-authenticator.md +44 -0
  1745. package/bin/skills/lakehouse-doc-en/references/using-udf-in-dynamic-table.md +162 -0
  1746. package/bin/skills/lakehouse-doc-en/references/using_mcp_solute_data_pipeline_issue.md +342 -0
  1747. package/bin/skills/lakehouse-doc-en/references/uuid.md +39 -0
  1748. package/bin/skills/lakehouse-doc-en/references/validate_schema_evolution.md +169 -0
  1749. package/bin/skills/lakehouse-doc-en/references/values.md +97 -0
  1750. package/bin/skills/lakehouse-doc-en/references/vc-job.md +1 -0
  1751. package/bin/skills/lakehouse-doc-en/references/vc_cache.md +85 -0
  1752. package/bin/skills/lakehouse-doc-en/references/vcluster_size_description.md +96 -0
  1753. package/bin/skills/lakehouse-doc-en/references/vector-and-scalar-retrieval-in-same-table.md +84 -0
  1754. package/bin/skills/lakehouse-doc-en/references/vector-functions.md +1 -0
  1755. package/bin/skills/lakehouse-doc-en/references/vector-search.md +140 -0
  1756. package/bin/skills/lakehouse-doc-en/references/vector-type.md +201 -0
  1757. package/bin/skills/lakehouse-doc-en/references/vector_data_process_guide.md +952 -0
  1758. package/bin/skills/lakehouse-doc-en/references/vector_search_ai.md +423 -0
  1759. package/bin/skills/lakehouse-doc-en/references/version-update.md +20 -0
  1760. package/bin/skills/lakehouse-doc-en/references/virtual-cluster.md +213 -0
  1761. package/bin/skills/lakehouse-doc-en/references/volume-introduction.md +163 -0
  1762. package/bin/skills/lakehouse-doc-en/references/volume-list.md +50 -0
  1763. package/bin/skills/lakehouse-doc-en/references/volume-overview.md +397 -0
  1764. package/bin/skills/lakehouse-doc-en/references/volume_best_practices.md +1147 -0
  1765. package/bin/skills/lakehouse-doc-en/references/volumeobject.md +1 -0
  1766. package/bin/skills/lakehouse-doc-en/references/web-job-history.md +178 -0
  1767. package/bin/skills/lakehouse-doc-en/references/web_search.md +30 -0
  1768. package/bin/skills/lakehouse-doc-en/references/what-is-clickzetta-lakehouse.md +55 -0
  1769. package/bin/skills/lakehouse-doc-en/references/what_is_clickzetta_lakehouse.md +90 -0
  1770. package/bin/skills/lakehouse-doc-en/references/window-frame.md +135 -0
  1771. package/bin/skills/lakehouse-doc-en/references/window-function-summary.md +134 -0
  1772. package/bin/skills/lakehouse-doc-en/references/windowframe.md +143 -0
  1773. package/bin/skills/lakehouse-doc-en/references/working_with_Vclusters.md +175 -0
  1774. package/bin/skills/lakehouse-doc-en/references/working_with_cache.md +96 -0
  1775. package/bin/skills/lakehouse-doc-en/references/worksheet.md +15 -0
  1776. package/bin/skills/lakehouse-doc-en/references/workspace-information_schema-views.md +203 -0
  1777. package/bin/skills/lakehouse-doc-en/references/workspace-informationschema-summary.md +52 -0
  1778. package/bin/skills/lakehouse-doc-en/references/workspace-introduction.md +43 -0
  1779. package/bin/skills/lakehouse-doc-en/references/workspace-sql.md +1 -0
  1780. package/bin/skills/lakehouse-doc-en/references/workspace_information_schema.md +1 -0
  1781. package/bin/skills/lakehouse-doc-en/references/zettapark-data-engineering-demo.md +348 -0
  1782. package/bin/skills/lakehouse-doc-en/references/zettapark-dataframe-guide.md +342 -0
  1783. package/bin/skills/lakehouse-doc-en/references/zettapark-dynamic-table-guide.md +204 -0
  1784. package/bin/skills/lakehouse-doc-en/references/zettapark-etl-guide.md +257 -0
  1785. package/bin/skills/lakehouse-doc-en/references/zettapark-feature-engineering.md +311 -0
  1786. package/bin/skills/lakehouse-doc-en/references/zettapark-functions-guide.md +321 -0
  1787. package/bin/skills/lakehouse-doc-en/references/zettapark-quick-start.md +123 -0
  1788. package/bin/skills/lakehouse-doc-en/references/zettapark-stream-guide.md +205 -0
  1789. package/bin/skills/lakehouse-doc-en/references/zettapark-volume-guide.md +291 -0
  1790. package/package.json +1 -1
  1791. package/bin/skills/clickzetta-access-control/LICENSE +0 -16
  1792. package/bin/skills/clickzetta-access-control/SKILL.md +0 -243
  1793. package/bin/skills/clickzetta-access-control/eval_cases.jsonl +0 -3
  1794. package/bin/skills/clickzetta-access-control/references/dynamic-masking.md +0 -86
  1795. package/bin/skills/clickzetta-access-control/references/grant-revoke.md +0 -103
  1796. package/bin/skills/clickzetta-access-control/references/role-management.md +0 -66
  1797. package/bin/skills/clickzetta-access-control/references/user-management.md +0 -61
  1798. package/bin/skills/clickzetta-ai-function/eval_cases.jsonl +0 -4
  1799. package/bin/skills/clickzetta-app-python-sdk/LICENSE +0 -16
  1800. package/bin/skills/clickzetta-app-python-sdk/SKILL.md +0 -153
  1801. package/bin/skills/clickzetta-app-python-sdk/eval_cases.jsonl +0 -12
  1802. package/bin/skills/clickzetta-app-python-sdk/references/bulkload.md +0 -196
  1803. package/bin/skills/clickzetta-app-python-sdk/references/connector.md +0 -143
  1804. package/bin/skills/clickzetta-app-python-sdk/references/realtime.md +0 -122
  1805. package/bin/skills/clickzetta-batch-sync-pipeline/eval_cases.jsonl +0 -5
  1806. package/bin/skills/clickzetta-bi-connect/LICENSE +0 -16
  1807. package/bin/skills/clickzetta-bi-connect/SKILL.md +0 -177
  1808. package/bin/skills/clickzetta-bi-connect/eval_cases.jsonl +0 -5
  1809. package/bin/skills/clickzetta-bi-connect/references/bi-tools.md +0 -170
  1810. package/bin/skills/clickzetta-cdc-sync-pipeline/eval_cases.jsonl +0 -5
  1811. package/bin/skills/clickzetta-data-ingest-pipeline/eval_cases.jsonl +0 -5
  1812. package/bin/skills/clickzetta-data-retention/LICENSE +0 -16
  1813. package/bin/skills/clickzetta-data-retention/SKILL.md +0 -160
  1814. package/bin/skills/clickzetta-data-retention/eval_cases.jsonl +0 -5
  1815. package/bin/skills/clickzetta-data-retention/references/lifecycle-reference.md +0 -175
  1816. package/bin/skills/clickzetta-data-science/eval_cases.jsonl +0 -12
  1817. package/bin/skills/clickzetta-data-sharing/LICENSE +0 -16
  1818. package/bin/skills/clickzetta-data-sharing/SKILL.md +0 -160
  1819. package/bin/skills/clickzetta-data-sharing/eval_cases.jsonl +0 -3
  1820. package/bin/skills/clickzetta-data-sharing/references/share-ddl.md +0 -134
  1821. package/bin/skills/clickzetta-dba-guide/LICENSE +0 -16
  1822. package/bin/skills/clickzetta-dba-guide/SKILL.md +0 -542
  1823. package/bin/skills/clickzetta-dba-guide/eval_cases.jsonl +0 -3
  1824. package/bin/skills/clickzetta-dw-modeling/eval_cases.jsonl +0 -4
  1825. package/bin/skills/clickzetta-dynamic-table/eval_cases.jsonl +0 -5
  1826. package/bin/skills/clickzetta-external-catalog/LICENSE +0 -16
  1827. package/bin/skills/clickzetta-external-catalog/SKILL.md +0 -123
  1828. package/bin/skills/clickzetta-external-catalog/eval_cases.jsonl +0 -5
  1829. package/bin/skills/clickzetta-external-catalog/references/external-catalog-ddl.md +0 -130
  1830. package/bin/skills/clickzetta-external-function/eval_cases.jsonl +0 -4
  1831. package/bin/skills/clickzetta-file-import-pipeline/eval_cases.jsonl +0 -5
  1832. package/bin/skills/clickzetta-index-manager/LICENSE +0 -16
  1833. package/bin/skills/clickzetta-index-manager/SKILL.md +0 -140
  1834. package/bin/skills/clickzetta-index-manager/eval_cases.jsonl +0 -5
  1835. package/bin/skills/clickzetta-index-manager/references/bloomfilter-index.md +0 -67
  1836. package/bin/skills/clickzetta-index-manager/references/index-management.md +0 -73
  1837. package/bin/skills/clickzetta-index-manager/references/inverted-index.md +0 -80
  1838. package/bin/skills/clickzetta-index-manager/references/vector-index.md +0 -81
  1839. package/bin/skills/clickzetta-java-sdk/LICENSE +0 -16
  1840. package/bin/skills/clickzetta-java-sdk/SKILL.md +0 -187
  1841. package/bin/skills/clickzetta-java-sdk/eval_cases.jsonl +0 -12
  1842. package/bin/skills/clickzetta-java-sdk/references/bulkload.md +0 -163
  1843. package/bin/skills/clickzetta-java-sdk/references/realtime.md +0 -212
  1844. package/bin/skills/clickzetta-kafka-ingest-pipeline/eval_cases.jsonl +0 -5
  1845. package/bin/skills/clickzetta-lakehouse-connect/LICENSE +0 -16
  1846. package/bin/skills/clickzetta-lakehouse-connect/SKILL.md +0 -218
  1847. package/bin/skills/clickzetta-lakehouse-connect/eval_cases.jsonl +0 -3
  1848. package/bin/skills/clickzetta-lakehouse-connect/evals/evals.json +0 -35
  1849. package/bin/skills/clickzetta-lakehouse-connect/references/config-file.md +0 -435
  1850. package/bin/skills/clickzetta-lakehouse-connect/references/jdbc.md +0 -478
  1851. package/bin/skills/clickzetta-lakehouse-connect/references/python-sdk.md +0 -225
  1852. package/bin/skills/clickzetta-lakehouse-connect/references/sqlalchemy.md +0 -468
  1853. package/bin/skills/clickzetta-lakehouse-connect/references/zettapark-session.md +0 -445
  1854. package/bin/skills/clickzetta-manage-comments/LICENSE +0 -16
  1855. package/bin/skills/clickzetta-manage-comments/SKILL.md +0 -219
  1856. package/bin/skills/clickzetta-manage-comments/eval_cases.jsonl +0 -3
  1857. package/bin/skills/clickzetta-metadata/LICENSE +0 -16
  1858. package/bin/skills/clickzetta-metadata/SKILL.md +0 -502
  1859. package/bin/skills/clickzetta-metadata/eval_cases.jsonl +0 -5
  1860. package/bin/skills/clickzetta-metadata/references/instance-views-reference.md +0 -276
  1861. package/bin/skills/clickzetta-metadata/references/metering-views-reference.md +0 -137
  1862. package/bin/skills/clickzetta-metadata/references/show-desc-reference.md +0 -326
  1863. package/bin/skills/clickzetta-metadata/references/views-reference.md +0 -271
  1864. package/bin/skills/clickzetta-monitoring/LICENSE +0 -16
  1865. package/bin/skills/clickzetta-monitoring/SKILL.md +0 -215
  1866. package/bin/skills/clickzetta-monitoring/eval_cases.jsonl +0 -5
  1867. package/bin/skills/clickzetta-monitoring/references/job-history-analysis.md +0 -97
  1868. package/bin/skills/clickzetta-monitoring/references/show-jobs.md +0 -48
  1869. package/bin/skills/clickzetta-oss-ingest-pipeline/eval_cases.jsonl +0 -5
  1870. package/bin/skills/clickzetta-overview/eval_cases.jsonl +0 -5
  1871. package/bin/skills/clickzetta-query-optimizer/LICENSE +0 -16
  1872. package/bin/skills/clickzetta-query-optimizer/SKILL.md +0 -156
  1873. package/bin/skills/clickzetta-query-optimizer/eval_cases.jsonl +0 -5
  1874. package/bin/skills/clickzetta-query-optimizer/references/explain.md +0 -56
  1875. package/bin/skills/clickzetta-query-optimizer/references/hints-and-sortkey.md +0 -78
  1876. package/bin/skills/clickzetta-query-optimizer/references/optimize.md +0 -65
  1877. package/bin/skills/clickzetta-query-optimizer/references/result-cache.md +0 -49
  1878. package/bin/skills/clickzetta-query-optimizer/references/show-jobs.md +0 -42
  1879. package/bin/skills/clickzetta-realtime-sync-pipeline/eval_cases.jsonl +0 -5
  1880. package/bin/skills/clickzetta-semantic-view/eval_cases.jsonl +0 -12
  1881. package/bin/skills/clickzetta-spark-flink-connector/eval_cases.jsonl +0 -5
  1882. package/bin/skills/clickzetta-sql-migration/eval_cases.jsonl +0 -10
  1883. package/bin/skills/clickzetta-sql-pipeline-manager/eval_cases.jsonl +0 -12
  1884. package/bin/skills/clickzetta-sql-pipeline-manager/evals/evals.json +0 -166
  1885. package/bin/skills/clickzetta-table-lineage/eval_cases.jsonl +0 -1
  1886. package/bin/skills/clickzetta-table-stream-pipeline/eval_cases.jsonl +0 -5
  1887. package/bin/skills/clickzetta-vcluster-manager/LICENSE +0 -16
  1888. package/bin/skills/clickzetta-vcluster-manager/SKILL.md +0 -212
  1889. package/bin/skills/clickzetta-vcluster-manager/eval_cases.jsonl +0 -5
  1890. package/bin/skills/clickzetta-vcluster-manager/references/vc-cache.md +0 -54
  1891. package/bin/skills/clickzetta-vcluster-manager/references/vcluster-ddl.md +0 -150
  1892. package/bin/skills/clickzetta-volume-manager/eval_cases.jsonl +0 -5
  1893. package/bin/skills/clickzetta-zettapark/eval_cases.jsonl +0 -12
@@ -0,0 +1,1897 @@
1
+ # JSON Data Processing Guide for Complex Business Scenarios
2
+
3
+ ## Guide Overview
4
+
5
+ This guide demonstrates the complete technical implementation of Singdata Lakehouse JSON functionality, starting from real-world business scenarios and providing professional solutions for JSON data processing. All SQL examples have been tested and verified.
6
+
7
+ ### Guide Structure
8
+
9
+ * **Chapter 1**: Business Scenario and Challenge Analysis
10
+ * **Chapter 2**: Singdata Lakehouse Solutions
11
+ * **Chapter 3**: Solutions for Core Technical Challenges
12
+ * **Chapter 4**: Deep Technical Implementation and Advanced Optimization
13
+ * **Chapter 5**: Chinese and Special Character Handling Guide
14
+ * **Chapter 6**: Technical Limitations and Best Practices
15
+ * **Chapter 7**: Environment Management and Implementation Recommendations
16
+
17
+ ***
18
+
19
+ ## Chapter 1: Business Scenario and Challenge Analysis
20
+
21
+ ### 1.1 JSON Data Processing Needs of Modern Enterprises
22
+
23
+ In the digital era, JSON has become the standard format for enterprise data exchange:
24
+
25
+ * **API Economy**: Under microservice architecture, a vast amount of data exchange adopts the JSON format
26
+ * **Real-time Data Streams**: IoT devices, user behaviors, and system logs generate massive amounts of JSON data
27
+ * **Diverse Data Sources**: Social media, e-commerce platforms, and financial transactions produce complex nested JSON
28
+ * **Internationalization Challenges**: JSON data contains multilingual content including Chinese, emoji, and more
29
+
30
+ ### 1.2 Core Business Scenario Analysis
31
+
32
+ #### 1.2.1 E-Commerce Scenario: Real-time Analysis of Complex Order Data
33
+
34
+ **Business Scenario Description**:
35
+ An e-commerce platform processes tens of thousands of orders daily, with each order containing complex nested structures such as customer information, product details, payment information, and logistics data:
36
+
37
+ ```json
38
+ {
39
+ "order_id": "ORD-2024-001",
40
+ "customer": {
41
+ "id": 10001,
42
+ "name": "Alice",
43
+ "profile": {
44
+ "level": "VIP",
45
+ "preferences": ["electronics", "gadgets", "books"],
46
+ "purchase_history": [
47
+ {"category": "electronics", "frequency": 15},
48
+ {"category": "books", "frequency": 8}
49
+ ]
50
+ },
51
+ "address": {"city": "Beijing", "district": "Chaoyang District"}
52
+ },
53
+ "items": [
54
+ {
55
+ "sku": "PHONE-001",
56
+ "name": "iPhone 15",
57
+ "price": 6999.00,
58
+ "qty": 1,
59
+ "attributes": {"color": "Blue", "storage": "256GB"},
60
+ "promotion": {"type": "vip_discount", "discount": 500}
61
+ }
62
+ ],
63
+ "payment": {
64
+ "method": "alipay",
65
+ "amount": 7197.00,
66
+ "promotion_applied": {"code": "VIP500", "discount": 500}
67
+ },
68
+ "logistics": {
69
+ "shipping_method": "express",
70
+ "estimated_delivery": "2024-12-03",
71
+ "tracking_events": [
72
+ {"status": "ordered", "timestamp": "2024-12-01T10:00:00"},
73
+ {"status": "paid", "timestamp": "2024-12-01T10:05:00"}
74
+ ]
75
+ },
76
+ "user_feedback": {
77
+ "rating": "5 Stars",
78
+ "comment": "Great product! Fast delivery!"
79
+ }
80
+ }
81
+ ```
82
+
83
+ **Core Technical Challenges**:
84
+
85
+ 1. **Personalized Recommendation Challenge**: Need real-time analysis of customer `preferences` arrays and `purchase_history` nested structures
86
+ 2. **Dynamic Promotion Strategy**: Each item's `promotion` information has an unfixed structure; different promotion types have completely different JSON structures
87
+ 3. **Real-time Inventory Alerts**: Need to extract all SKUs from the order's `items` array for real-time sales statistics
88
+ 4. **Customer Behavior Analysis**: Analyze the complete path from browsing to order placement
89
+ 5. **Multilingual Content Handling**: Customer names, addresses, and reviews contain multiple languages and emoji symbols
90
+
91
+ #### 1.2.2 IoT Scenario: Real-time Processing of Complex Industrial Equipment Monitoring Data
92
+
93
+ **Business Scenario Description**:
94
+ A manufacturing enterprise has thousands of production devices, each reporting complex monitoring data every minute:
95
+
96
+ ```json
97
+ {
98
+ "device_id": "MACHINE-001",
99
+ "timestamp": "2024-12-01T10:30:00Z",
100
+ "location": {
101
+ "building": "Factory-A",
102
+ "floor": 2,
103
+ "production_line": "Production-Line-1"
104
+ },
105
+ "sensors": {
106
+ "temperature": {"value": 85.2, "unit": "celsius", "status": "normal"},
107
+ "vibration": {
108
+ "x_axis": {"value": 0.02, "threshold": 0.05, "status": "normal"},
109
+ "y_axis": {"value": 0.03, "threshold": 0.05, "status": "normal"},
110
+ "z_axis": {"value": 0.08, "threshold": 0.05, "status": "warning"}
111
+ }
112
+ },
113
+ "operational_status": {
114
+ "machine_state": "running",
115
+ "production_rate": 85.5,
116
+ "efficiency": 92.3,
117
+ "maintenance": {
118
+ "last_service": "2024-11-15T08:00:00Z",
119
+ "next_scheduled": "2025-02-15T08:00:00Z",
120
+ "parts_status": [
121
+ {"part": "Motor Bearing", "condition": "Good", "life_remaining": 75},
122
+ {"part": "Conveyor Belt", "condition": "Fair", "life_remaining": 45}
123
+ ]
124
+ }
125
+ },
126
+ "alerts": {
127
+ "message": "Device running normally",
128
+ "level": "info"
129
+ }
130
+ }
131
+ ```
132
+
133
+ **Core Technical Challenges**:
134
+
135
+ 1. **Heterogeneous Device Data Fusion**: Different device models have completely different `sensors` structures
136
+ 2. **Real-time Anomaly Detection**: Need to monitor multiple nested metrics simultaneously
137
+ 3. **Complex Maintenance Planning**: Each part in the `maintenance.parts_status` array has a different lifespan
138
+ 4. **Multi-dimensional Production Analysis**: Need to analyze by production line, floor, device type, and other dimensions
139
+
140
+ #### 1.2.3 Financial Scenario: Real-time Decision Making for Complex Transaction Risk Control
141
+
142
+ **Business Scenario Description**:
143
+ An internet bank needs to perform real-time risk assessment on every transaction:
144
+
145
+ ```json
146
+ {
147
+ "transaction_id": "TXN-20241201-001",
148
+ "timestamp": "2024-12-01T14:35:22Z",
149
+ "user": {
150
+ "id": 30001,
151
+ "name": "Bob",
152
+ "profile": {
153
+ "age": 28,
154
+ "credit_score": 720,
155
+ "account_level": "Gold"
156
+ },
157
+ "behavior_pattern": {
158
+ "typical_amount_range": {"min": 500, "max": 3000},
159
+ "location_history": [
160
+ {"city": "Beijing", "frequency": 85},
161
+ {"city": "Shanghai", "frequency": 10}
162
+ ]
163
+ }
164
+ },
165
+ "transaction": {
166
+ "amount": 8500.00,
167
+ "currency": "CNY",
168
+ "type": "transfer",
169
+ "merchant": {"name": "Luxury Store", "category": "retail"}
170
+ },
171
+ "device": {
172
+ "type": "mobile",
173
+ "fingerprint": "ABC123XYZ789",
174
+ "location": {"city": "Shanghai", "ip": "121.xxx.xxx.xxx"},
175
+ "is_new_device": true,
176
+ "trusted_score": 0.3
177
+ },
178
+ "risk_analysis": {
179
+ "automated_factors": [
180
+ {"factor": "amount_anomaly", "score": 0.8, "reason": "Amount exceeds normal range"},
181
+ {"factor": "location_mismatch", "score": 0.6, "reason": "Transaction in different city"}
182
+ ],
183
+ "final_decision": {
184
+ "action": "manual_review",
185
+ "confidence": 0.85,
186
+ "reason": "Multiple risk factors detected"
187
+ }
188
+ }
189
+ }
190
+ ```
191
+
192
+ **Core Technical Challenges**:
193
+
194
+ 1. **Complex Risk Factor Real-time Calculation**: Need to simultaneously analyze risk factors from multiple nested objects
195
+ 2. **Fast Decision Requirements**: Risk control decisions must be completed within a short time frame
196
+ 3. **Dynamic Rule Engine**: Risk control rules change frequently, and data structures evolve continuously
197
+ 4. **Compliance Audit Trail**: Need to retain complete decision processes, supporting complex audit queries
198
+
199
+ ### 1.3 Limitations of Traditional Approaches
200
+
201
+ **Technical Challenges**:
202
+
203
+ * **Performance Bottleneck**: Traditional databases have limited JSON query performance
204
+ * **High Storage Cost**: JSON data is redundant with low storage efficiency
205
+ * **Development Complexity**: Complex ETL transformations are required
206
+ * **Insufficient Real-time Capability**: Batch processing mode cannot meet real-time requirements
207
+ * **Scalability Limitations**: Single-machine architecture struggles to handle large-scale data
208
+ * **Multilingual Support**: Chinese, emoji, and other special characters are difficult to handle
209
+
210
+ ***
211
+
212
+ ## Chapter 2: Singdata Lakehouse Solutions
213
+
214
+ ### 2.1 Core Technical Advantages
215
+
216
+ #### 2.1.1 Native JSON Support
217
+
218
+ **Solution Features**:
219
+
220
+ * **Native Data Type Support**: JSON is a first-class citizen, no pre-defined schema required
221
+ * **Dynamic Structure Adaptation**: New fields can be added without downtime or table structure modification
222
+ * **Zero Transformation Cost**: JSON data is stored and queried directly, no ETL preprocessing needed
223
+ * **Multilingual Compatibility**: Full support for Chinese and emoji content
224
+
225
+ ```sql
226
+ -- Create sample table
227
+ CREATE TABLE IF NOT EXISTS orders (
228
+ id INT,
229
+ order_data JSON
230
+ );
231
+
232
+ -- Directly store JSON data with different structures (including Chinese)
233
+ INSERT INTO orders VALUES
234
+ (1, parse_json('{"customer": {"name": "Alice"}, "promotion": {"type": "vip_discount", "amount": 500}}')),
235
+ (2, parse_json('{"customer": {"name": "Bob"}, "promotion": {"type": "flash_sale", "percentage": 0.2}}')),
236
+ (3, parse_json('{"customer": {"name": "Charlie"}, "promotion": {"type": "bundle_deal", "required_items": 3}}'));
237
+
238
+ -- Query promotion data with different structures
239
+ SELECT
240
+ id,
241
+ json_extract_string(order_data, "$.customer.name") as customer_name,
242
+ json_extract_string(order_data, "$.promotion.type") as promotion_type
243
+ FROM orders;
244
+ ```
245
+
246
+ #### 2.1.2 Intelligent Columnar Storage
247
+
248
+ **Solution Features**:
249
+
250
+ * **Automatic Field Optimization**: Frequently accessed JSON fields are automatically converted to columnar storage
251
+ * **Path Index Optimization**: Efficient indexes are built for commonly used JSON paths
252
+ * **Column Pruning Technology**: Only reads the JSON fields needed by the query, reducing I/O overhead
253
+
254
+ ```sql
255
+ -- Use the previously created orders table for high-frequency field queries
256
+ SELECT
257
+ json_extract_string(order_data, "$.customer.name") as customer_name,
258
+ json_extract_double(order_data, "$.promotion.amount") as discount_amount
259
+ FROM orders
260
+ WHERE json_extract_string(order_data, "$.promotion.type") = 'vip_discount';
261
+ ```
262
+
263
+ #### 2.1.3 High-Performance Query Engine
264
+
265
+ **Solution Features**:
266
+
267
+ * **Parallel Processing Framework**: Complex JSON queries are automatically parallelized
268
+ * **In-Memory Computing Optimization**: Hot JSON data resides in memory
269
+ * **Intelligent Caching Mechanism**: Results for frequently accessed JSON paths are cached
270
+
271
+ #### 2.1.4 Real-time Stream Processing Integration
272
+
273
+ **Solution Features**:
274
+
275
+ * **TABLE STREAM Technology**: Captures JSON data changes for incremental processing
276
+ * **Dynamic Table Auto-Refresh**: Real-time aggregation of complex JSON data
277
+ * **Unified Stream-Batch Processing**: Unified handling of real-time streams and historical batch data
278
+
279
+ ```sql
280
+ -- Create IoT sensor data table
281
+ CREATE TABLE IF NOT EXISTS iot_sensors (
282
+ device_id STRING,
283
+ device_data JSON,
284
+ timestamp TIMESTAMP DEFAULT CURRENT_TIMESTAMP()
285
+ );
286
+
287
+ -- Insert sample IoT data
288
+ INSERT INTO iot_sensors VALUES
289
+ ('DEVICE-001', parse_json('{"device_id": "DEVICE-001", "sensors": {"temperature": {"value": 86.5}}, "location": "Factory A"}'), CURRENT_TIMESTAMP());
290
+
291
+ -- Create alert events table
292
+ CREATE TABLE IF NOT EXISTS alert_events (
293
+ device_id STRING,
294
+ temp_value DOUBLE,
295
+ alert_time TIMESTAMP
296
+ );
297
+
298
+ -- Real-time anomaly detection (manual simulation)
299
+ INSERT INTO alert_events
300
+ SELECT
301
+ json_extract_string(device_data, "$.device_id") as device_id,
302
+ json_extract_double(device_data, "$.sensors.temperature.value") as temp_value,
303
+ CURRENT_TIMESTAMP() as alert_time
304
+ FROM iot_sensors
305
+ WHERE json_extract_double(device_data, "$.sensors.temperature.value") > 85;
306
+ ```
307
+
308
+ ***
309
+
310
+ ## Chapter 3: Solutions for Core Technical Challenges
311
+
312
+ This chapter demonstrates in detail how Singdata Lakehouse specifically addresses each core technical challenge raised in Chapter 1. Every solution directly corresponds to a specific business challenge.
313
+
314
+ ### 3.1 E-Commerce Scenario: Solutions to Technical Challenges
315
+
316
+ #### 3.1.1 Challenge 1: Nested Array Query for Personalized Recommendations
317
+
318
+ **Technical Challenge Description**:
319
+ Real-time analysis of customer `preferences` arrays and `purchase_history` nested structures is required. Traditional relational databases need complex multi-table JOINs or ETL preprocessing and cannot meet the response time requirements for real-time personalized recommendations.
320
+
321
+ **Singdata Lakehouse Solution**:
322
+
323
+ ```sql
324
+ -- Create e-commerce order analysis table with native JSON support
325
+ CREATE TABLE IF NOT EXISTS ecommerce_orders_json (
326
+ order_id STRING,
327
+ order_data JSON,
328
+ created_date DATE DEFAULT CURRENT_DATE()
329
+ );
330
+
331
+ -- Directly store complex nested structures, no preprocessing needed
332
+ INSERT INTO ecommerce_orders_json VALUES
333
+ ('ORD-2024-001', parse_json('{
334
+ "customer": {
335
+ "id": 10001,
336
+ "name": "Alice",
337
+ "level": "diamond",
338
+ "profile": {
339
+ "preferences": ["electronics", "gadgets", "books"],
340
+ "purchase_history": [
341
+ {"category": "electronics", "frequency": 15},
342
+ {"category": "books", "frequency": 8}
343
+ ]
344
+ }
345
+ },
346
+ "items": [{"sku": "PHONE-001", "category": "electronics", "price": 6999.00}],
347
+ "payment": {"amount": 7098.00}
348
+ }'), CURRENT_DATE()),
349
+ ('ORD-2024-002', parse_json('{
350
+ "customer": {
351
+ "id": 10002,
352
+ "name": "Bob",
353
+ "level": "diamond",
354
+ "profile": {
355
+ "preferences": ["books", "sports", "electronics"],
356
+ "purchase_history": [
357
+ {"category": "books", "frequency": 20},
358
+ {"category": "sports", "frequency": 12}
359
+ ]
360
+ }
361
+ },
362
+ "items": [{"sku": "BOOK-001", "category": "books", "price": 299.00}],
363
+ "payment": {"amount": 299.00}
364
+ }'), CURRENT_DATE()),
365
+ ('ORD-2024-003', parse_json('{
366
+ "customer": {
367
+ "id": 10003,
368
+ "name": "Charlie",
369
+ "level": "diamond",
370
+ "profile": {
371
+ "preferences": ["gadgets", "electronics", "fashion"],
372
+ "purchase_history": [
373
+ {"category": "gadgets", "frequency": 25},
374
+ {"category": "electronics", "frequency": 18}
375
+ ]
376
+ }
377
+ },
378
+ "items": [{"sku": "GADGET-001", "category": "gadgets", "price": 1599.00}],
379
+ "payment": {"amount": 1599.00}
380
+ }'), CURRENT_DATE());
381
+
382
+ -- Direct access to nested arrays, no JOIN needed
383
+ SELECT
384
+ json_extract_string(order_data, "$.customer.id") as customer_id,
385
+ json_extract_string(order_data, "$.customer.name") as customer_name,
386
+ -- Directly extract the first element of the preferences array (primary preference)
387
+ json_extract_string(order_data, "$.customer.profile.preferences[0]") as primary_preference,
388
+ -- Directly extract the most frequent category from purchase history
389
+ json_extract_int(order_data, "$.customer.profile.purchase_history[0].frequency") as top_frequency,
390
+ -- Real-time customer value calculation
391
+ json_extract_double(order_data, "$.payment.amount") as order_value
392
+ FROM ecommerce_orders_json
393
+ WHERE json_extract_string(order_data, "$.customer.level") = 'diamond'
394
+ ORDER BY json_extract_double(order_data, "$.payment.amount") DESC;
395
+ ```
396
+
397
+ **Technical Value**:
398
+
399
+ 1. **Zero ETL Processing**: Complex nested data is stored and queried directly
400
+ 2. **Native Array Access**: `[0]` syntax directly accesses array elements without table splitting
401
+ 3. **Real-time Aggregation**: Multi-dimensional customer profile analysis completed in a single query
402
+ 4. **Automatic Optimization**: High-frequency fields are automatically stored in columnar format, improving query efficiency
403
+
404
+ #### 3.1.2 Challenge 2: Flexible Querying of Dynamic Promotion Structures
405
+
406
+ **Technical Challenge Description**:
407
+ Different promotion types (VIP discount, flash sale, bundle deal) have completely different JSON structures. Traditional fixed schemas cannot adapt and require pre-defining all possible promotion fields, resulting in high maintenance costs.
408
+
409
+ **Singdata Lakehouse Dynamic Schema Solution**:
410
+
411
+ ```sql
412
+ -- Create promotion data table
413
+ CREATE TABLE IF NOT EXISTS promotion_orders_json (
414
+ order_id STRING,
415
+ order_data JSON,
416
+ created_date DATE DEFAULT CURRENT_DATE()
417
+ );
418
+
419
+ -- Store promotion data with different structures in the same table
420
+ INSERT INTO promotion_orders_json VALUES
421
+ -- VIP discount: fixed amount structure
422
+ ('ORD-VIP-001', parse_json('{"customer": {"name": "Alice"}, "promotion": {"type": "vip_discount", "amount": 500}}'), CURRENT_DATE()),
423
+ -- Flash sale: percentage structure
424
+ ('ORD-FLASH-001', parse_json('{"customer": {"name": "Bob"}, "promotion": {"type": "flash_sale", "percentage": 0.2}}'), CURRENT_DATE()),
425
+ -- Bundle deal: combined item structure
426
+ ('ORD-BUNDLE-001', parse_json('{"customer": {"name": "Charlie"}, "promotion": {"type": "bundle_deal", "required_items": 3, "discount_per_item": 50}}'), CURRENT_DATE()),
427
+ -- Coupon: code structure
428
+ ('ORD-COUPON-001', parse_json('{"customer": {"name": "Diana"}, "promotion": {"type": "coupon", "code": "SAVE20", "discount": 200}}'), CURRENT_DATE());
429
+
430
+ -- Adaptive query: one SQL handles all promotion types
431
+ SELECT
432
+ order_id,
433
+ json_extract_string(order_data, "$.customer.name") as customer_name,
434
+ json_extract_string(order_data, "$.promotion.type") as promotion_type,
435
+ -- Automatically extract corresponding fields based on promotion type
436
+ CASE WHEN json_extract_string(order_data, "$.promotion.type") = 'vip_discount'
437
+ THEN json_extract_double(order_data, "$.promotion.amount")
438
+ WHEN json_extract_string(order_data, "$.promotion.type") = 'coupon'
439
+ THEN json_extract_double(order_data, "$.promotion.discount")
440
+ ELSE 0
441
+ END as discount_amount,
442
+ CASE WHEN json_extract_string(order_data, "$.promotion.type") = 'flash_sale'
443
+ THEN json_extract_double(order_data, "$.promotion.percentage")
444
+ ELSE 0
445
+ END as discount_percentage,
446
+ CASE WHEN json_extract_string(order_data, "$.promotion.type") = 'bundle_deal'
447
+ THEN json_extract_int(order_data, "$.promotion.required_items")
448
+ ELSE 0
449
+ END as bundle_items,
450
+ CASE WHEN json_extract_string(order_data, "$.promotion.type") = 'coupon'
451
+ THEN json_extract_string(order_data, "$.promotion.code")
452
+ ELSE NULL
453
+ END as coupon_code
454
+ FROM promotion_orders_json
455
+ WHERE json_extract_string(order_data, "$.promotion.type") IS NOT NULL;
456
+ ```
457
+
458
+ **Technical Value**:
459
+
460
+ 1. **Dynamic Schema Adaptation**: New promotion types are automatically supported with zero downtime
461
+ 2. **Structure-Agnostic Queries**: A single SQL handles multiple data structures
462
+ 3. **Business Agility**: Promotion rule changes do not require database schema modifications
463
+
464
+ #### 3.1.3 Challenge 3: Array Aggregation for Real-time Inventory Alerts
465
+
466
+ **Technical Challenge Description**:
467
+ All SKUs need to be extracted from the order's `items` array and sales statistics calculated in real time. Traditional approaches require complex triggers or scheduled ETL jobs, with high latency and resource consumption.
468
+
469
+ **Singdata Lakehouse Real-time Stream Processing Solution**:
470
+
471
+ ```sql
472
+ -- Create inventory order data table
473
+ CREATE TABLE IF NOT EXISTS inventory_orders_json (
474
+ order_id STRING,
475
+ order_data JSON,
476
+ created_date DATE DEFAULT CURRENT_DATE()
477
+ );
478
+
479
+ -- Insert order data containing SKUs and quantities
480
+ INSERT INTO inventory_orders_json VALUES
481
+ ('ORD-INV-001', parse_json('{"items": [{"sku": "PHONE-001", "qty": 2}], "payment": {"amount": 13998.00}}'), CURRENT_DATE()),
482
+ ('ORD-INV-002', parse_json('{"items": [{"sku": "BOOK-001", "qty": 5}], "payment": {"amount": 1495.00}}'), CURRENT_DATE()),
483
+ ('ORD-INV-003', parse_json('{"items": [{"sku": "PHONE-001", "qty": 1}], "payment": {"amount": 6999.00}}'), CURRENT_DATE()),
484
+ ('ORD-INV-004', parse_json('{"items": [{"sku": "GADGET-001", "qty": 3}], "payment": {"amount": 4797.00}}'), CURRENT_DATE()),
485
+ ('ORD-INV-005', parse_json('{"items": [{"sku": "BOOK-001", "qty": 2}], "payment": {"amount": 598.00}}'), CURRENT_DATE());
486
+
487
+ -- Dynamic table for real-time inventory statistics with automatic refresh
488
+ CREATE OR REPLACE DYNAMIC TABLE IF NOT EXISTS real_time_inventory
489
+ REFRESH INTERVAL 1 MINUTES
490
+ AS SELECT
491
+ json_extract_string(order_data, "$.items[0].sku") as sku,
492
+ SUM(json_extract_int(order_data, "$.items[0].qty")) as total_sold,
493
+ COUNT(*) as order_count,
494
+ MAX(created_date) as last_order_date,
495
+ -- Real-time inventory alert threshold calculation
496
+ CASE
497
+ WHEN SUM(json_extract_int(order_data, "$.items[0].qty")) > 5 THEN 'high_demand'
498
+ WHEN SUM(json_extract_int(order_data, "$.items[0].qty")) > 2 THEN 'medium_demand'
499
+ ELSE 'low_demand'
500
+ END as demand_level
501
+ FROM inventory_orders_json
502
+ WHERE json_extract_string(order_data, "$.items[0].sku") IS NOT NULL
503
+ GROUP BY json_extract_string(order_data, "$.items[0].sku");
504
+
505
+ -- Real-time query for inventory alerts
506
+ SELECT * FROM real_time_inventory
507
+ WHERE demand_level = 'high_demand'
508
+ ORDER BY total_sold DESC;
509
+ ```
510
+
511
+ **Technical Value**:
512
+
513
+ 1. **Unified Stream-Batch**: Dynamic tables automatically aggregate data changes
514
+ 2. **Real-time Aggregation**: No need to manually maintain triggers and aggregation logic
515
+ 3. **Zero Maintenance Cost**: The system automatically handles complex aggregation computations
516
+
517
+ ### 3.2 IoT Scenario: Unified Processing of Complex Device Data
518
+
519
+ #### 3.2.1 Challenge 1: Unified Querying of Heterogeneous Device Data
520
+
521
+ **Technical Challenge Description**:
522
+ Different device models have completely different `sensors` structures: old devices only have temperature, while new devices have dozens of sensors. Traditional approaches require creating different table structures for each device type, resulting in severe data silos.
523
+
524
+ **Singdata Lakehouse Heterogeneous Data Unified Solution**:
525
+
526
+ ```sql
527
+ -- Create IoT device monitoring table supporting any device structure
528
+ CREATE TABLE IF NOT EXISTS iot_devices_unified (
529
+ device_id STRING,
530
+ sensor_data JSON,
531
+ collected_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP()
532
+ );
533
+
534
+ -- Store device data with different structures in the same table
535
+ INSERT INTO iot_devices_unified VALUES
536
+ -- Basic sensor: temperature only
537
+ ('BASIC-001', parse_json('{"device_type": "basic", "temp": 22.1, "battery": 85}'), CURRENT_TIMESTAMP()),
538
+ -- Standard sensor: temperature + humidity
539
+ ('STANDARD-001', parse_json('{"device_type": "standard", "readings": {"temperature": 24.5, "humidity": 58.2}}'), CURRENT_TIMESTAMP()),
540
+ -- Advanced sensor: complete multi-dimensional data
541
+ ('ADVANCED-001', parse_json('{"device_type": "advanced", "sensors": {"temperature": {"value": 85.2}, "vibration": {"x_axis": {"value": 0.02}}}}'), CURRENT_TIMESTAMP()),
542
+ -- Industrial sensor: most complex structure
543
+ ('INDUSTRIAL-001', parse_json('{"device_type": "industrial", "sensors": {"temperature": {"value": 78.5}, "vibration": {"x_axis": {"value": 0.01}, "y_axis": {"value": 0.03}, "z_axis": {"value": 0.02}}, "pressure": {"value": 1013.25}}}'), CURRENT_TIMESTAMP());
544
+
545
+ -- Unified query interface, automatically adapting to different device structures
546
+ SELECT
547
+ device_id,
548
+ json_extract_string(sensor_data, "$.device_type") as device_type,
549
+ -- Compatible with multiple temperature field structures
550
+ COALESCE(
551
+ json_extract_double(sensor_data, "$.sensors.temperature.value"), -- Advanced device
552
+ json_extract_double(sensor_data, "$.readings.temperature"), -- Standard device
553
+ json_extract_double(sensor_data, "$.temp") -- Basic device
554
+ ) as temperature,
555
+ -- Optional advanced sensor data
556
+ json_extract_double(sensor_data, "$.sensors.vibration.x_axis.value") as vibration_x,
557
+ json_extract_double(sensor_data, "$.sensors.vibration.y_axis.value") as vibration_y,
558
+ json_extract_double(sensor_data, "$.sensors.vibration.z_axis.value") as vibration_z,
559
+ json_extract_double(sensor_data, "$.sensors.pressure.value") as pressure,
560
+ -- Automatic device type identification
561
+ CASE
562
+ WHEN json_extract_string(sensor_data, "$.sensors.vibration") IS NOT NULL THEN 'high_end_device'
563
+ WHEN json_extract_string(sensor_data, "$.readings.humidity") IS NOT NULL THEN 'standard_device'
564
+ ELSE 'basic_device'
565
+ END as inferred_device_category
566
+ FROM iot_devices_unified
567
+ ORDER BY collected_time DESC;
568
+ ```
569
+
570
+ **Technical Value**:
571
+
572
+ 1. **Device Plug-and-Play**: New device types require no schema changes
573
+ 2. **Unified Query Interface**: A single SQL supports all device types
574
+ 3. **Intelligent Field Mapping**: COALESCE automatically adapts to different field structures
575
+
576
+ ### 3.3 Financial Scenario: Real-time Decision Making for Complex Risk Control
577
+
578
+ #### 3.3.1 Challenge 1: Complex Risk Factor Real-time Calculation
579
+
580
+ **Technical Challenge Description**:
581
+ Multiple nested objects such as user behavior patterns, device trust scores, and geographic locations must be analyzed simultaneously as risk factors. Traditional approaches require multiple database queries and complex business logic calculations, unable to meet fast decision-making requirements.
582
+
583
+ **Singdata Lakehouse Multi-dimensional Risk Factor Parallel Calculation Solution**:
584
+
585
+ ```sql
586
+ -- Create financial risk control data table
587
+ CREATE TABLE IF NOT EXISTS financial_risk_analysis (
588
+ transaction_id STRING,
589
+ risk_data JSON,
590
+ analysis_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP()
591
+ );
592
+
593
+ -- Insert complex risk control test data
594
+ INSERT INTO financial_risk_analysis VALUES
595
+ ('TXN-001', parse_json('{
596
+ "user": {
597
+ "id": "30001",
598
+ "behavior_pattern": {
599
+ "typical_amount_range": {"min": 500, "max": 3000},
600
+ "location_history": [{"city": "Beijing", "frequency": 85}]
601
+ }
602
+ },
603
+ "transaction": {"amount": 8500.00},
604
+ "device": {"is_new_device": true, "trusted_score": 0.3, "location": {"city": "Shanghai"}}
605
+ }'), CURRENT_TIMESTAMP()),
606
+ ('TXN-002', parse_json('{
607
+ "user": {
608
+ "id": "30002",
609
+ "behavior_pattern": {
610
+ "typical_amount_range": {"min": 1000, "max": 5000},
611
+ "location_history": [{"city": "Shanghai", "frequency": 90}]
612
+ }
613
+ },
614
+ "transaction": {"amount": 2500.00},
615
+ "device": {"is_new_device": false, "trusted_score": 0.9, "location": {"city": "Shanghai"}}
616
+ }'), CURRENT_TIMESTAMP()),
617
+ ('TXN-003', parse_json('{
618
+ "user": {
619
+ "id": "30003",
620
+ "behavior_pattern": {
621
+ "typical_amount_range": {"min": 200, "max": 1500},
622
+ "location_history": [{"city": "Shenzhen", "frequency": 95}]
623
+ }
624
+ },
625
+ "transaction": {"amount": 4500.00},
626
+ "device": {"is_new_device": true, "trusted_score": 0.2, "location": {"city": "Beijing"}}
627
+ }'), CURRENT_TIMESTAMP());
628
+
629
+ -- Complete complex multi-dimensional risk assessment in a single query
630
+ SELECT
631
+ transaction_id,
632
+ json_extract_string(risk_data, "$.user.id") as user_id,
633
+ -- Real-time amount anomaly risk calculation
634
+ CASE
635
+ WHEN json_extract_double(risk_data, "$.transaction.amount") >
636
+ json_extract_double(risk_data, "$.user.behavior_pattern.typical_amount_range.max") * 2
637
+ THEN 0.8 -- Exceeds normal amount by 2x: high risk
638
+ WHEN json_extract_double(risk_data, "$.transaction.amount") >
639
+ json_extract_double(risk_data, "$.user.behavior_pattern.typical_amount_range.max") * 1.5
640
+ THEN 0.5 -- Exceeds normal amount by 1.5x: medium risk
641
+ ELSE 0.2 -- Within normal range: low risk
642
+ END as amount_risk_score,
643
+
644
+ -- Real-time device trust risk calculation
645
+ CASE
646
+ WHEN json_extract_string(risk_data, "$.device.is_new_device") = 'true'
647
+ THEN 1.0 - json_extract_double(risk_data, "$.device.trusted_score")
648
+ ELSE 0.1
649
+ END as device_risk_score,
650
+
651
+ -- Real-time geographic location risk calculation
652
+ CASE
653
+ WHEN json_extract_string(risk_data, "$.device.location.city") !=
654
+ json_extract_string(risk_data, "$.user.behavior_pattern.location_history[0].city")
655
+ THEN 0.6 -- Transaction in different city: medium risk
656
+ ELSE 0.1 -- Usual location: low risk
657
+ END as location_risk_score,
658
+
659
+ -- Comprehensive risk score: weighted algorithm calculated in one pass
660
+ ((CASE
661
+ WHEN json_extract_double(risk_data, "$.transaction.amount") >
662
+ json_extract_double(risk_data, "$.user.behavior_pattern.typical_amount_range.max") * 2
663
+ THEN 0.8 ELSE 0.2 END) * 0.4 + -- Amount risk weight 40%
664
+ (CASE
665
+ WHEN json_extract_string(risk_data, "$.device.is_new_device") = 'true'
666
+ THEN 1.0 - json_extract_double(risk_data, "$.device.trusted_score")
667
+ ELSE 0.1 END) * 0.3 + -- Device risk weight 30%
668
+ (CASE
669
+ WHEN json_extract_string(risk_data, "$.device.location.city") !=
670
+ json_extract_string(risk_data, "$.user.behavior_pattern.location_history[0].city")
671
+ THEN 0.6 ELSE 0.1 END) * 0.3 -- Location risk weight 30%
672
+ ) as final_risk_score,
673
+
674
+ -- Real-time decision recommendation
675
+ CASE
676
+ WHEN ((CASE
677
+ WHEN json_extract_double(risk_data, "$.transaction.amount") >
678
+ json_extract_double(risk_data, "$.user.behavior_pattern.typical_amount_range.max") * 2
679
+ THEN 0.8 ELSE 0.2 END) * 0.4 +
680
+ (CASE
681
+ WHEN json_extract_string(risk_data, "$.device.is_new_device") = 'true'
682
+ THEN 1.0 - json_extract_double(risk_data, "$.device.trusted_score")
683
+ ELSE 0.1 END) * 0.3 +
684
+ (CASE
685
+ WHEN json_extract_string(risk_data, "$.device.location.city") !=
686
+ json_extract_string(risk_data, "$.user.behavior_pattern.location_history[0].city")
687
+ THEN 0.6 ELSE 0.1 END) * 0.3) > 0.7 THEN 'REJECT'
688
+ WHEN ((CASE
689
+ WHEN json_extract_double(risk_data, "$.transaction.amount") >
690
+ json_extract_double(risk_data, "$.user.behavior_pattern.typical_amount_range.max") * 2
691
+ THEN 0.8 ELSE 0.2 END) * 0.4 +
692
+ (CASE
693
+ WHEN json_extract_string(risk_data, "$.device.is_new_device") = 'true'
694
+ THEN 1.0 - json_extract_double(risk_data, "$.device.trusted_score")
695
+ ELSE 0.1 END) * 0.3 +
696
+ (CASE
697
+ WHEN json_extract_string(risk_data, "$.device.location.city") !=
698
+ json_extract_string(risk_data, "$.user.behavior_pattern.location_history[0].city")
699
+ THEN 0.6 ELSE 0.1 END) * 0.3) > 0.4 THEN 'MANUAL_REVIEW'
700
+ ELSE 'APPROVE'
701
+ END as recommended_action
702
+ FROM financial_risk_analysis
703
+ ORDER BY final_risk_score DESC;
704
+ ```
705
+
706
+ **Technical Value**:
707
+
708
+ 1. **Multi-dimensional Analysis in a Single Query**: All risk factor calculations completed in one SQL
709
+ 2. **Parallel Access to Nested Objects**: Simultaneously extract multiple deeply nested fields
710
+ 3. **Fast Decision Support**: Significantly reduces risk control decision processing time
711
+
712
+ ***
713
+
714
+ ## Chapter 4: Deep Technical Implementation and Advanced Optimization
715
+
716
+ This chapter demonstrates the advanced technical features of Singdata Lakehouse JSON processing in depth. Each technical implementation provides a deep solution targeting the specific technical challenges raised in Chapter 1.
717
+
718
+ ### 4.1 Time-series Array Processing for the "Customer Behavior Analysis" Challenge
719
+
720
+ #### 4.1.1 Technical Challenge Review
721
+
722
+ **Original Challenge**: Analyzing the complete path from browsing to order placement, with data stored in the `logistics.tracking_events` time-series array. Traditional approaches require splitting array data into multiple rows for storage, making queries complex and performance-limited.
723
+
724
+ #### 4.1.2 Singdata Lakehouse Time-series Array Processing Implementation
725
+
726
+ **Core Technical Implementation**:
727
+
728
+ ```sql
729
+ -- Create customer behavior analysis table
730
+ CREATE TABLE IF NOT EXISTS customer_behavior_analysis (
731
+ order_id STRING,
732
+ behavior_data JSON,
733
+ created_date DATE DEFAULT CURRENT_DATE()
734
+ );
735
+
736
+ -- Insert time-series behavior data
737
+ INSERT INTO customer_behavior_analysis VALUES
738
+ ('ORD-BEHAVIOR-001', parse_json('{
739
+ "customer": {"id": 10001, "name": "Alice"},
740
+ "items": [{"sku": "PHONE-001", "price": 6999.00}],
741
+ "behavior_tracking": {
742
+ "source": "search_engine",
743
+ "conversion_funnel": [
744
+ {"event": "product_view", "timestamp": "2024-12-01T09:00:00", "duration": 120},
745
+ {"event": "add_to_cart", "timestamp": "2024-12-01T09:02:00", "duration": 30},
746
+ {"event": "checkout_start", "timestamp": "2024-12-01T09:02:30", "duration": 180},
747
+ {"event": "payment_complete", "timestamp": "2024-12-01T09:05:30", "duration": 45}
748
+ ]
749
+ },
750
+ "logistics": {
751
+ "tracking_events": [
752
+ {"status": "ordered", "timestamp": "2024-12-01T09:05:30", "location": "Beijing"},
753
+ {"status": "paid", "timestamp": "2024-12-01T09:06:00", "location": "Beijing"},
754
+ {"status": "shipped", "timestamp": "2024-12-01T14:00:00", "location": "Beijing Warehouse"},
755
+ {"status": "delivered", "timestamp": "2024-12-02T10:00:00", "location": "Chaoyang District"}
756
+ ]
757
+ }
758
+ }'), CURRENT_DATE()),
759
+ ('ORD-BEHAVIOR-002', parse_json('{
760
+ "customer": {"id": 10002, "name": "Bob"},
761
+ "items": [{"sku": "BOOK-001", "price": 299.00}],
762
+ "behavior_tracking": {
763
+ "source": "direct_visit",
764
+ "conversion_funnel": [
765
+ {"event": "product_view", "timestamp": "2024-12-01T10:00:00", "duration": 200},
766
+ {"event": "add_to_cart", "timestamp": "2024-12-01T10:03:20", "duration": 45},
767
+ {"event": "checkout_start", "timestamp": "2024-12-01T10:04:05", "duration": 90},
768
+ {"event": "payment_complete", "timestamp": "2024-12-01T10:05:35", "duration": 30}
769
+ ]
770
+ },
771
+ "logistics": {
772
+ "tracking_events": [
773
+ {"status": "ordered", "timestamp": "2024-12-01T10:05:35", "location": "Shanghai"},
774
+ {"status": "paid", "timestamp": "2024-12-01T10:06:00", "location": "Shanghai"},
775
+ {"status": "shipped", "timestamp": "2024-12-01T16:00:00", "location": "Shanghai Warehouse"},
776
+ {"status": "delivered", "timestamp": "2024-12-02T14:00:00", "location": "Pudong New Area"}
777
+ ]
778
+ }
779
+ }'), CURRENT_DATE());
780
+
781
+ -- Complex time-series analysis: complete behavior path analysis in a single query
782
+ SELECT
783
+ order_id,
784
+ json_extract_string(behavior_data, "$.customer.id") as customer_id,
785
+ json_extract_string(behavior_data, "$.customer.name") as customer_name,
786
+ -- Extract the complete conversion funnel path
787
+ json_extract_string(behavior_data, "$.behavior_tracking.conversion_funnel[0].event") as funnel_step1,
788
+ json_extract_string(behavior_data, "$.behavior_tracking.conversion_funnel[1].event") as funnel_step2,
789
+ json_extract_string(behavior_data, "$.behavior_tracking.conversion_funnel[2].event") as funnel_step3,
790
+ json_extract_string(behavior_data, "$.behavior_tracking.conversion_funnel[3].event") as funnel_step4,
791
+
792
+ -- Calculate duration at each stage
793
+ json_extract_int(behavior_data, "$.behavior_tracking.conversion_funnel[0].duration") as view_duration,
794
+ json_extract_int(behavior_data, "$.behavior_tracking.conversion_funnel[1].duration") as cart_duration,
795
+ json_extract_int(behavior_data, "$.behavior_tracking.conversion_funnel[2].duration") as checkout_duration,
796
+
797
+ -- Logistics status time-series analysis
798
+ json_extract_string(behavior_data, "$.logistics.tracking_events[0].status") as initial_status,
799
+ json_extract_string(behavior_data, "$.logistics.tracking_events[3].status") as final_status,
800
+
801
+ -- Real-time conversion efficiency calculation
802
+ CASE
803
+ WHEN json_extract_string(behavior_data, "$.logistics.tracking_events[1].status") = 'paid'
804
+ THEN 'successful_conversion'
805
+ ELSE 'incomplete_conversion'
806
+ END as conversion_result,
807
+
808
+ -- Geographic location change tracking
809
+ json_extract_string(behavior_data, "$.logistics.tracking_events[0].location") as order_location,
810
+ json_extract_string(behavior_data, "$.logistics.tracking_events[3].location") as delivery_location,
811
+
812
+ -- Conversion efficiency analysis
813
+ (json_extract_int(behavior_data, "$.behavior_tracking.conversion_funnel[0].duration") +
814
+ json_extract_int(behavior_data, "$.behavior_tracking.conversion_funnel[1].duration") +
815
+ json_extract_int(behavior_data, "$.behavior_tracking.conversion_funnel[2].duration") +
816
+ json_extract_int(behavior_data, "$.behavior_tracking.conversion_funnel[3].duration")) as total_conversion_time
817
+
818
+ FROM customer_behavior_analysis
819
+ WHERE json_extract_string(behavior_data, "$.behavior_tracking.conversion_funnel") IS NOT NULL
820
+ ORDER BY total_conversion_time ASC;
821
+ ```
822
+
823
+ **Technical Value**:
824
+
825
+ 1. **Zero Data Restructuring**: Time-series arrays are analyzed directly without splitting storage
826
+ 2. **Single Query Full Chain**: The complete path from browsing to delivery is obtained in one go
827
+ 3. **Real-time Conversion Analysis**: Quickly calculates conversion rates and user behavior patterns
828
+
829
+ ### 4.2 Dynamic Array Computation for the "Complex Maintenance Planning" Challenge
830
+
831
+ #### 4.2.1 Technical Challenge Review
832
+
833
+ **Original Challenge**: Each part in the `maintenance.parts_status` array has a different lifespan, requiring dynamic calculation of maintenance priorities. Traditional approaches need complex stored procedures and scheduled calculations.
834
+
835
+ #### 4.2.2 Singdata Lakehouse Dynamic Array Calculation Implementation
836
+
837
+ **Core Technical Implementation**:
838
+
839
+ ```sql
840
+ -- Create device maintenance analysis table
841
+ CREATE TABLE IF NOT EXISTS device_maintenance_analysis (
842
+ device_id STRING,
843
+ maintenance_data JSON,
844
+ collected_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP()
845
+ );
846
+
847
+ -- Store complex part status data
848
+ INSERT INTO device_maintenance_analysis VALUES
849
+ ('MACHINE-COMPLEX-001', parse_json('{
850
+ "device_info": {"type": "production_machine", "location": "Factory A - Production Line 1"},
851
+ "operational_status": {
852
+ "machine_state": "running",
853
+ "production_rate": 85.5,
854
+ "maintenance": {
855
+ "last_service": "2024-11-15T08:00:00Z",
856
+ "next_scheduled": "2025-02-15T08:00:00Z",
857
+ "parts_status": [
858
+ {"part": "Main Motor", "condition": "Good", "life_remaining": 75, "cost": 50000, "priority": 1},
859
+ {"part": "Conveyor Belt", "condition": "Fair", "life_remaining": 45, "cost": 8000, "priority": 2},
860
+ {"part": "Hydraulic System", "condition": "Good", "life_remaining": 30, "cost": 25000, "priority": 1},
861
+ {"part": "Control Panel", "condition": "Excellent", "life_remaining": 90, "cost": 15000, "priority": 3},
862
+ {"part": "Cooling System", "condition": "Needs Attention", "life_remaining": 20, "cost": 12000, "priority": 1}
863
+ ]
864
+ }
865
+ }
866
+ }'), CURRENT_TIMESTAMP()),
867
+ ('MACHINE-COMPLEX-002', parse_json('{
868
+ "device_info": {"type": "assembly_machine", "location": "Factory B - Production Line 2"},
869
+ "operational_status": {
870
+ "machine_state": "running",
871
+ "production_rate": 92.3,
872
+ "maintenance": {
873
+ "last_service": "2024-10-20T08:00:00Z",
874
+ "next_scheduled": "2025-01-20T08:00:00Z",
875
+ "parts_status": [
876
+ {"part": "Assembly Arm", "condition": "Good", "life_remaining": 85, "cost": 35000, "priority": 1},
877
+ {"part": "Sensor", "condition": "Fair", "life_remaining": 55, "cost": 5000, "priority": 2},
878
+ {"part": "Circuit Board", "condition": "Excellent", "life_remaining": 95, "cost": 8000, "priority": 2},
879
+ {"part": "Motor", "condition": "Needs Attention", "life_remaining": 25, "cost": 18000, "priority": 1}
880
+ ]
881
+ }
882
+ }
883
+ }'), CURRENT_TIMESTAMP());
884
+
885
+ -- Intelligent maintenance priority dynamic calculation
886
+ SELECT
887
+ device_id,
888
+ json_extract_string(maintenance_data, "$.device_info.location") as location,
889
+ json_extract_string(maintenance_data, "$.device_info.type") as device_type,
890
+
891
+ -- Comprehensive analysis of part status array
892
+ json_extract_string(maintenance_data, "$.operational_status.maintenance.parts_status[0].part") as part1_name,
893
+ json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[0].life_remaining") as part1_life,
894
+ json_extract_string(maintenance_data, "$.operational_status.maintenance.parts_status[1].part") as part2_name,
895
+ json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[1].life_remaining") as part2_life,
896
+ json_extract_string(maintenance_data, "$.operational_status.maintenance.parts_status[2].part") as part3_name,
897
+ json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[2].life_remaining") as part3_life,
898
+
899
+ -- Intelligent maintenance decision algorithm: comprehensive consideration of lifespan, cost, and priority
900
+ CASE
901
+ -- High-priority parts with less than 30% life remaining: urgent maintenance
902
+ WHEN (json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[0].life_remaining") < 30 AND
903
+ json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[0].priority") = 1) OR
904
+ (json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[2].life_remaining") < 30 AND
905
+ json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[2].priority") = 1) OR
906
+ (COALESCE(json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[4].life_remaining"), 100) < 30 AND
907
+ COALESCE(json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[4].priority"), 2) = 1)
908
+ THEN 'urgent_maintenance'
909
+ -- Any part with less than 50% life remaining: scheduled maintenance
910
+ WHEN json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[0].life_remaining") < 50 OR
911
+ json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[1].life_remaining") < 50 OR
912
+ json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[2].life_remaining") < 50 OR
913
+ COALESCE(json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[3].life_remaining"), 100) < 50 OR
914
+ COALESCE(json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[4].life_remaining"), 100) < 50
915
+ THEN 'scheduled_maintenance'
916
+ ELSE 'normal_operation'
917
+ END as maintenance_priority,
918
+
919
+ -- Identify the most critical part (high-priority part with shortest life remaining)
920
+ LEAST(
921
+ CASE WHEN json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[0].priority") = 1
922
+ THEN json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[0].life_remaining")
923
+ ELSE 100 END,
924
+ CASE WHEN COALESCE(json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[2].priority"), 2) = 1
925
+ THEN json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[2].life_remaining")
926
+ ELSE 100 END,
927
+ CASE WHEN COALESCE(json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[4].priority"), 2) = 1
928
+ THEN COALESCE(json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[4].life_remaining"), 100)
929
+ ELSE 100 END
930
+ ) as critical_part_min_life,
931
+
932
+ -- Maintenance cost estimation (dynamically calculated based on part status)
933
+ (CASE WHEN json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[0].life_remaining") < 30
934
+ THEN json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[0].cost") ELSE 0 END +
935
+ CASE WHEN json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[1].life_remaining") < 30
936
+ THEN json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[1].cost") ELSE 0 END +
937
+ CASE WHEN json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[2].life_remaining") < 30
938
+ THEN json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[2].cost") ELSE 0 END +
939
+ CASE WHEN COALESCE(json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[3].life_remaining"), 100) < 30
940
+ THEN COALESCE(json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[3].cost"), 0) ELSE 0 END +
941
+ CASE WHEN COALESCE(json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[4].life_remaining"), 100) < 30
942
+ THEN COALESCE(json_extract_int(maintenance_data, "$.operational_status.maintenance.parts_status[4].cost"), 0) ELSE 0 END
943
+ ) as estimated_maintenance_cost
944
+
945
+ FROM device_maintenance_analysis
946
+ WHERE json_extract_string(maintenance_data, "$.operational_status.maintenance.parts_status") IS NOT NULL
947
+ ORDER BY critical_part_min_life ASC;
948
+ ```
949
+
950
+ **Technical Value**:
951
+
952
+ 1. **Intelligent Decision Algorithm**: Complex maintenance strategy integrating lifespan, cost, and priority
953
+ 2. **Native Array Computation**: Complex mathematical operations on arrays without splitting
954
+ 3. **Real-time Cost Estimation**: Dynamically calculates maintenance budget based on real-time part status
955
+
956
+ ### 4.3 Performance Optimization Techniques
957
+
958
+ #### 4.3.1 High-Frequency Field Access Pattern Optimization
959
+
960
+ ```sql
961
+ -- Create performance optimization demo table
962
+ CREATE TABLE IF NOT EXISTS performance_orders (
963
+ id INT,
964
+ order_data JSON,
965
+ created_date DATE DEFAULT CURRENT_DATE()
966
+ );
967
+
968
+ -- Insert test data
969
+ INSERT INTO performance_orders VALUES
970
+ (1, parse_json('{"customer": {"id": "C001", "level": "VIP"}, "payment": {"amount": 1500.00}, "items": [{"detail": {"description": "Premium Electronics"}}]}'), CURRENT_DATE()),
971
+ (2, parse_json('{"customer": {"id": "C002", "level": "regular"}, "payment": {"amount": 2300.00}, "items": [{"detail": {"description": "Home Goods"}}]}'), CURRENT_DATE()),
972
+ (3, parse_json('{"customer": {"id": "C003", "level": "VIP"}, "payment": {"amount": 800.00}, "items": [{"detail": {"description": "Daily Necessities"}}]}'), CURRENT_DATE()),
973
+ (4, parse_json('{"customer": {"id": "C004", "level": "diamond"}, "payment": {"amount": 3500.00}, "items": [{"detail": {"description": "Luxury Goods"}}]}'), CURRENT_DATE());
974
+
975
+ -- High-frequency field access pattern optimization
976
+ WITH high_performance_query AS (
977
+ SELECT
978
+ -- Top-level field access: automatic columnar storage optimization
979
+ json_extract_string(order_data, "$.customer.id") as customer_id,
980
+ json_extract_double(order_data, "$.payment.amount") as amount,
981
+ json_extract_string(order_data, "$.customer.level") as level,
982
+
983
+ -- Batch field extraction: reduce repeated JSON parsing overhead
984
+ order_data as full_order_data,
985
+ created_date
986
+ FROM performance_orders
987
+ WHERE json_extract_string(order_data, "$.customer.id") IS NOT NULL -- Efficient top-level field filtering
988
+ AND json_extract_double(order_data, "$.payment.amount") > 1000 -- Efficient numeric field filtering
989
+ )
990
+
991
+ -- Secondary computation optimization: complex analysis based on pre-extracted fields
992
+ SELECT
993
+ customer_id,
994
+ level,
995
+ amount,
996
+ -- Complex nested fields extracted on demand (avoid repeated full-table parsing)
997
+ json_extract_string(full_order_data, "$.items[0].detail.description") as product_description,
998
+
999
+ -- Aggregation optimization: pre-group to reduce computation
1000
+ CASE
1001
+ WHEN amount > 3000 THEN 'high_value'
1002
+ WHEN amount > 1500 THEN 'medium_value'
1003
+ ELSE 'low_value'
1004
+ END as value_segment
1005
+ FROM high_performance_query
1006
+ ORDER BY amount DESC;
1007
+ ```
1008
+
1009
+ #### 4.3.2 Alternative Solutions for JSON Data Updates
1010
+
1011
+ **Important Technical Limitation**: After practical verification, Singdata Lakehouse does not support `json_set`, `json_insert`, `json_remove`, or other JSON modification functions. Below are verified alternative solutions:
1012
+
1013
+ **Approach 1: Complete JSON Reconstruction (suitable for simple updates)**
1014
+
1015
+ ```sql
1016
+ -- Create transaction demo table
1017
+ CREATE TABLE IF NOT EXISTS transaction_demo (
1018
+ customer_id STRING,
1019
+ customer_data JSON,
1020
+ updated_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP()
1021
+ );
1022
+
1023
+ -- Insert initial data
1024
+ INSERT INTO transaction_demo VALUES
1025
+ ('10001', parse_json('{"name": "Alice", "level": "regular", "profile": {"upgrade_date": null}, "payment": {"vip_discount": 0}}'), CURRENT_TIMESTAMP());
1026
+
1027
+ -- Use parse_json + CONCAT to reconstruct JSON object for update
1028
+ UPDATE transaction_demo
1029
+ SET customer_data = parse_json(CONCAT(
1030
+ '{"name": "', json_extract_string(customer_data, "$.name"), '", ',
1031
+ '"level": "VIP", ',
1032
+ '"profile": {"upgrade_date": "2024-12-01"}, ',
1033
+ '"payment": {"vip_discount": 500.0}}'
1034
+ )),
1035
+ updated_time = CURRENT_TIMESTAMP()
1036
+ WHERE customer_id = '10001'
1037
+ AND json_extract_string(customer_data, "$.level") != 'VIP';
1038
+
1039
+ -- Verify update result
1040
+ SELECT
1041
+ customer_id,
1042
+ json_extract_string(customer_data, "$.name") as name,
1043
+ json_extract_string(customer_data, "$.level") as level,
1044
+ json_extract_string(customer_data, "$.profile.upgrade_date") as upgrade_date,
1045
+ json_extract_double(customer_data, "$.payment.vip_discount") as vip_discount
1046
+ FROM transaction_demo
1047
+ WHERE customer_id = '10001';
1048
+ ```
1049
+
1050
+ **Approach 2: Hybrid Storage Strategy (recommended for frequent updates)**
1051
+
1052
+ ```sql
1053
+ -- Separate frequently updated fields; use JSON for stable data
1054
+ CREATE TABLE IF NOT EXISTS hybrid_storage_demo (
1055
+ id INT,
1056
+ user_level STRING, -- Frequently updated fields stored separately
1057
+ update_count INT, -- Frequently updated fields stored separately
1058
+ user_profile JSON, -- Stable complex data stored as JSON
1059
+ last_updated TIMESTAMP DEFAULT CURRENT_TIMESTAMP()
1060
+ );
1061
+
1062
+ -- Insert hybrid storage data
1063
+ INSERT INTO hybrid_storage_demo VALUES
1064
+ (1, 'VIP', 5,
1065
+ parse_json('{"preferences": ["electronics", "books"], "address": {"city": "Beijing", "district": "Chaoyang District"}}'),
1066
+ CURRENT_TIMESTAMP());
1067
+
1068
+ -- Query hybrid storage data
1069
+ SELECT
1070
+ id,
1071
+ user_level, -- Relational field, high update efficiency
1072
+ update_count, -- Relational field, high update efficiency
1073
+ json_extract_string(user_profile, "$.preferences[0]") as primary_preference, -- JSON field, flexible querying
1074
+ json_extract_string(user_profile, "$.address.city") as city -- JSON field, structured storage
1075
+ FROM hybrid_storage_demo;
1076
+ ```
1077
+
1078
+ ***
1079
+
1080
+ ## Chapter 5: Chinese and Special Character Handling Guide
1081
+
1082
+ ### 5.1 Chinese and Emoji Support Verification
1083
+
1084
+ Based on comprehensive testing, Singdata Lakehouse provides complete support for Chinese and emoji symbols:
1085
+
1086
+ #### 5.1.1 Fully Supported Scenarios
1087
+
1088
+ **Chinese Content Values**:
1089
+
1090
+ ```sql
1091
+ -- Create user data table
1092
+ CREATE TABLE IF NOT EXISTS user_data_chinese (
1093
+ id STRING,
1094
+ data JSON
1095
+ );
1096
+
1097
+ -- Insert Chinese content
1098
+ INSERT INTO user_data_chinese VALUES
1099
+ ('user001', parse_json('{"name": "Alice", "city": "Beijing", "message": "Hello World!"}')),
1100
+ ('user002', parse_json('{"name": "Bob", "city": "Shanghai", "message": "Data processing is simple"}')),
1101
+ ('user003', parse_json('{"name": "Charlie", "city": "Shenzhen", "message": "JSON features are powerful"}'));
1102
+
1103
+ -- Query Chinese content
1104
+ SELECT
1105
+ json_extract_string(data, "$.name") as name,
1106
+ json_extract_string(data, "$.city") as city,
1107
+ json_extract_string(data, "$.message") as message
1108
+ FROM user_data_chinese;
1109
+ ```
1110
+
1111
+ **Emoji Symbols**:
1112
+
1113
+ ```sql
1114
+ -- Create social data table
1115
+ CREATE TABLE IF NOT EXISTS social_data_emoji (
1116
+ id STRING,
1117
+ data JSON
1118
+ );
1119
+
1120
+ -- Insert emoji data
1121
+ INSERT INTO social_data_emoji VALUES
1122
+ ('post001', parse_json('{"content": "Feeling great today😊", "reactions": "👍❤️🔥", "rating": "⭐⭐⭐⭐⭐"}')),
1123
+ ('post002', parse_json('{"content": "Product quality is really good👌", "reactions": "👏🎉💯", "rating": "⭐⭐⭐⭐"}')),
1124
+ ('post003', parse_json('{"content": "Very satisfied with the service🙂", "reactions": "😀👍✨", "rating": "⭐⭐⭐⭐⭐"}'));
1125
+
1126
+ -- Query emoji data
1127
+ SELECT
1128
+ json_extract_string(data, "$.content") as content,
1129
+ json_extract_string(data, "$.reactions") as reactions,
1130
+ json_extract_string(data, "$.rating") as rating
1131
+ FROM social_data_emoji;
1132
+ ```
1133
+
1134
+ **Complex Chinese Content**:
1135
+
1136
+ ```sql
1137
+ -- Create feedback data table
1138
+ CREATE TABLE IF NOT EXISTS feedback_data_complex (
1139
+ id STRING,
1140
+ data JSON,
1141
+ created_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP()
1142
+ );
1143
+
1144
+ -- Insert complex Chinese and emoji content
1145
+ INSERT INTO feedback_data_complex VALUES
1146
+ ('fb001', parse_json('{"comment": "Product quality is great, fast delivery, good customer service👍", "sentiment": "positive", "tags": ["quality", "logistics", "service"]}'), CURRENT_TIMESTAMP()),
1147
+ ('fb002', parse_json('{"comment": "Beautiful packaging, powerful features, very satisfied😊", "sentiment": "positive", "tags": ["packaging", "features", "satisfaction"]}'), CURRENT_TIMESTAMP()),
1148
+ ('fb003', parse_json('{"comment": "Great value, recommended purchase🛒", "sentiment": "positive", "tags": ["value", "recommendation"]}'), CURRENT_TIMESTAMP());
1149
+
1150
+ -- Query complex content
1151
+ SELECT
1152
+ id,
1153
+ json_extract_string(data, "$.comment") as comment,
1154
+ json_extract_string(data, "$.sentiment") as sentiment,
1155
+ json_extract_string(data, "$.tags[0]") as first_tag,
1156
+ json_extract_string(data, "$.tags[1]") as second_tag
1157
+ FROM feedback_data_complex
1158
+ ORDER BY created_time DESC;
1159
+ ```
1160
+
1161
+ #### 5.1.2 Querying Chinese and Emoji Data
1162
+
1163
+ ```sql
1164
+ -- Create user feedback data table
1165
+ CREATE TABLE IF NOT EXISTS user_feedback_full (
1166
+ id STRING,
1167
+ data JSON,
1168
+ created_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP()
1169
+ );
1170
+
1171
+ -- Insert test data containing Chinese and emoji
1172
+ INSERT INTO user_feedback_full VALUES
1173
+ ('user001', parse_json('{"name": "Alice", "city": "Beijing", "comment": "Product is great😊", "score": 5}'), CURRENT_TIMESTAMP()),
1174
+ ('user002', parse_json('{"name": "Bob", "city": "Shanghai", "comment": "Good service👍", "score": 4}'), CURRENT_TIMESTAMP()),
1175
+ ('user003', parse_json('{"name": "Charlie", "city": "Beijing", "comment": "Fast delivery, beautiful packaging🎉", "score": 5}'), CURRENT_TIMESTAMP()),
1176
+ ('user004', parse_json('{"name": "David", "city": "Shenzhen", "comment": "Powerful features, worth recommending💯", "score": 5}'), CURRENT_TIMESTAMP());
1177
+
1178
+ -- Query data containing Chinese and emoji
1179
+ SELECT
1180
+ json_extract_string(data, "$.name") as user_name,
1181
+ json_extract_string(data, "$.city") as city,
1182
+ json_extract_string(data, "$.comment") as feedback,
1183
+ json_extract_int(data, "$.score") as score
1184
+ FROM user_feedback_full
1185
+ WHERE json_extract_string(data, "$.city") = 'Beijing'
1186
+ AND json_extract_string(data, "$.comment") LIKE '%😊%';
1187
+
1188
+ -- Group statistics by Chinese field
1189
+ SELECT
1190
+ json_extract_string(data, "$.city") as city,
1191
+ COUNT(*) as user_count,
1192
+ AVG(json_extract_int(data, "$.score")) as avg_score
1193
+ FROM user_feedback_full
1194
+ GROUP BY json_extract_string(data, "$.city")
1195
+ ORDER BY user_count DESC;
1196
+
1197
+ -- Emoji usage analysis for high-score users
1198
+ SELECT
1199
+ json_extract_string(data, "$.name") as user_name,
1200
+ json_extract_string(data, "$.comment") as comment,
1201
+ json_extract_int(data, "$.score") as score,
1202
+ CASE
1203
+ WHEN json_extract_string(data, "$.comment") LIKE '%😊%' THEN 'happy'
1204
+ WHEN json_extract_string(data, "$.comment") LIKE '%👍%' THEN 'thumbs_up'
1205
+ WHEN json_extract_string(data, "$.comment") LIKE '%🎉%' THEN 'celebration'
1206
+ WHEN json_extract_string(data, "$.comment") LIKE '%💯%' THEN 'perfect'
1207
+ ELSE 'no_emoji'
1208
+ END as emoji_sentiment
1209
+ FROM user_feedback_full
1210
+ WHERE json_extract_int(data, "$.score") >= 4
1211
+ ORDER BY json_extract_int(data, "$.score") DESC;
1212
+ ```
1213
+
1214
+ ### 5.2 Best Practice Recommendations
1215
+
1216
+ #### 5.2.1 Field Naming Conventions
1217
+
1218
+ **Recommended: Use English field names**
1219
+
1220
+ ```sql
1221
+ -- Create best practice demo table
1222
+ CREATE TABLE IF NOT EXISTS best_practice_demo (
1223
+ id STRING,
1224
+ data JSON
1225
+ );
1226
+
1227
+ -- Recommended field naming approach
1228
+ INSERT INTO best_practice_demo VALUES
1229
+ ('demo001', parse_json('{"user_name": "Alice", "user_city": "Beijing", "user_comment": "Product is great😊", "rating_score": 5}'));
1230
+
1231
+ -- Query demonstration
1232
+ SELECT
1233
+ json_extract_string(data, "$.user_name") as name,
1234
+ json_extract_string(data, "$.user_city") as city,
1235
+ json_extract_string(data, "$.user_comment") as comment,
1236
+ json_extract_int(data, "$.rating_score") as score
1237
+ FROM best_practice_demo;
1238
+ ```
1239
+
1240
+ **Use with Caution: Chinese field names**
1241
+
1242
+ ```sql
1243
+ -- Create Chinese field name demo table (not recommended)
1244
+ CREATE TABLE IF NOT EXISTS chinese_field_demo (
1245
+ id STRING,
1246
+ data JSON
1247
+ );
1248
+
1249
+ -- Chinese field name example (functional but not recommended)
1250
+ INSERT INTO chinese_field_demo VALUES
1251
+ ('demo001', parse_json('{"user_name_cn": "Alice", "user_city_cn": "Beijing", "user_review_cn": "Product is great😊"}'));
1252
+
1253
+ -- Query Chinese field names (syntactically correct but not recommended)
1254
+ SELECT
1255
+ json_extract_string(data, "$.user_name_cn") as name,
1256
+ json_extract_string(data, "$.user_city_cn") as city,
1257
+ json_extract_string(data, "$.user_review_cn") as comment
1258
+ FROM chinese_field_demo;
1259
+ ```
1260
+
1261
+ #### 5.2.2 Special Character Handling
1262
+
1263
+ **Safe Content Formats**:
1264
+
1265
+ ```sql
1266
+ -- Create special character handling demo table
1267
+ CREATE TABLE IF NOT EXISTS special_char_demo (
1268
+ id STRING,
1269
+ data JSON
1270
+ );
1271
+
1272
+ -- Insert data containing various special characters
1273
+ INSERT INTO special_char_demo VALUES
1274
+ ('char001', parse_json('{"message": "Normal text content and emoji😊", "symbols": "!@#$%^&*()_+-=[]{}|;:,.<>?/", "punctuation": "Punctuation marks: ,。;:""''()【】、?!"}'));
1275
+
1276
+ -- Query special character data
1277
+ SELECT
1278
+ json_extract_string(data, "$.message") as message,
1279
+ json_extract_string(data, "$.symbols") as symbols,
1280
+ json_extract_string(data, "$.punctuation") as punctuation
1281
+ FROM special_char_demo;
1282
+ ```
1283
+
1284
+ ### 5.3 Troubleshooting Guide
1285
+
1286
+ If you encounter Chinese or emoji display issues:
1287
+
1288
+ 1. **Check field naming**: Prefer English field names
1289
+ 2. **Verify JSON format**: Ensure the JSON format is correct with no syntax errors
1290
+ 3. **Use standard functions**: Consistently use json_extract_* functions
1291
+ 4. **Avoid complex escaping**: Minimize the use of complex escape characters in JSON strings
1292
+ 5. **Encoding settings**: Ensure client and database character encoding settings are correct
1293
+
1294
+ ```sql
1295
+ -- Troubleshooting demo query
1296
+ CREATE TABLE IF NOT EXISTS troubleshoot_demo (
1297
+ id STRING,
1298
+ data JSON
1299
+ );
1300
+
1301
+ -- Correct data insertion method
1302
+ INSERT INTO troubleshoot_demo VALUES
1303
+ ('test001', parse_json('{"name": "Test User", "message": "This is a test message🔧"}'));
1304
+
1305
+ -- Verify that data is correctly stored and queried
1306
+ SELECT
1307
+ id,
1308
+ json_extract_string(data, "$.name") as name,
1309
+ json_extract_string(data, "$.message") as message,
1310
+ LENGTH(json_extract_string(data, "$.name")) as name_length,
1311
+ LENGTH(json_extract_string(data, "$.message")) as message_length
1312
+ FROM troubleshoot_demo;
1313
+ ```
1314
+
1315
+ ***
1316
+
1317
+ ## Chapter 6: Technical Limitations and Best Practices
1318
+
1319
+ ### 6.1 JSON Type Limitation Summary (Verified and Revised)
1320
+
1321
+ Core limitations discovered based on comprehensive verification:
1322
+
1323
+ #### 6.1.1 Confirmed Supported Features
1324
+
1325
+ **Supported JSON Functions**:
1326
+
1327
+ * `parse_json()` - JSON string parsing
1328
+ * `json_extract_string()` - Extract string values
1329
+ * `json_extract_int()` - Extract integer values
1330
+ * `json_extract_double()` - Extract floating-point values
1331
+ * `json_extract()` - General extraction function
1332
+
1333
+ **Supported Syntax**:
1334
+
1335
+ * `CREATE TABLE IF NOT EXISTS`
1336
+ * Complete DDL operations (CREATE/ALTER/DROP)
1337
+ * Array access syntax `[0]`, `[1]`
1338
+ * Nested object access `$.path.to.field`
1339
+ * Full support for Chinese and emoji content
1340
+
1341
+ #### 6.1.2 Confirmed Unsupported Features
1342
+
1343
+ **Unsupported JSON Functions**:
1344
+
1345
+ ```sql
1346
+ -- The following function has been verified as unsupported:
1347
+ -- json_set() - JSON field update (important limitation)
1348
+ ```
1349
+
1350
+ **Unsupported Operations**:
1351
+
1352
+ ```sql
1353
+ -- Create limitation demo table
1354
+ CREATE TABLE IF NOT EXISTS limitation_demo (
1355
+ id INT,
1356
+ json_data JSON
1357
+ );
1358
+
1359
+ -- Insert test data
1360
+ INSERT INTO limitation_demo VALUES
1361
+ (1, parse_json('{"name": "Alice", "score": 85}')),
1362
+ (2, parse_json('{"name": "Bob", "score": 92}')),
1363
+ (3, parse_json('{"name": "Charlie", "score": 78}'));
1364
+
1365
+ -- The following operations are not supported and will cause errors:
1366
+ -- JSON type does not support direct comparison
1367
+ -- SELECT * FROM limitation_demo WHERE json_data = parse_json('{}');
1368
+
1369
+ -- JSON type does not support direct ordering
1370
+ -- SELECT * FROM limitation_demo ORDER BY json_data;
1371
+
1372
+ -- JSON type does not support direct GROUP BY
1373
+ -- SELECT json_data, COUNT(*) FROM limitation_demo GROUP BY json_data;
1374
+ ```
1375
+
1376
+ #### 6.1.3 Solutions
1377
+
1378
+ ```sql
1379
+ -- Use json_extract functions for comparison
1380
+ SELECT * FROM limitation_demo
1381
+ WHERE json_extract_string(json_data, "$.name") = 'Alice';
1382
+
1383
+ -- Extract fields then sort
1384
+ SELECT
1385
+ id,
1386
+ json_extract_string(json_data, "$.name") as name,
1387
+ json_extract_int(json_data, "$.score") as score
1388
+ FROM limitation_demo
1389
+ ORDER BY json_extract_int(json_data, "$.score") DESC;
1390
+
1391
+ -- Extract fields then group
1392
+ SELECT
1393
+ CASE
1394
+ WHEN json_extract_int(json_data, "$.score") >= 90 THEN 'excellent'
1395
+ WHEN json_extract_int(json_data, "$.score") >= 80 THEN 'good'
1396
+ ELSE 'average'
1397
+ END as grade,
1398
+ COUNT(*) as count
1399
+ FROM limitation_demo
1400
+ GROUP BY CASE
1401
+ WHEN json_extract_int(json_data, "$.score") >= 90 THEN 'excellent'
1402
+ WHEN json_extract_int(json_data, "$.score") >= 80 THEN 'good'
1403
+ ELSE 'average'
1404
+ END;
1405
+ ```
1406
+
1407
+ ### 6.2 Alternative Strategies for JSON Data Updates
1408
+
1409
+ #### 6.2.1 Update Strategy Design Principles
1410
+
1411
+ 1. **Read-Heavy, Write-Light Principle**: JSON is primarily used for read-intensive scenarios
1412
+ 2. **Hybrid Storage Strategy**: Separate frequently updated fields
1413
+ 3. **Application-Layer Processing**: Complex updates are completed at the application layer
1414
+ 4. **Versioned Management**: Important data supports historical versions
1415
+
1416
+ #### 6.2.2 Specific Implementation Plans
1417
+
1418
+ **Approach 1: Complete JSON Reconstruction**
1419
+
1420
+ ```sql
1421
+ -- Suitable for: simple JSON updates, low update frequency scenarios
1422
+ UPDATE table_name
1423
+ SET json_column = parse_json(CONCAT(
1424
+ '{"field1": "', json_extract_string(json_column, "$.field1"), '", ',
1425
+ '"field2": "new_value", ',
1426
+ '"field3": ', json_extract_int(json_column, "$.field3"), '}'
1427
+ ))
1428
+ WHERE conditions;
1429
+ ```
1430
+
1431
+ **Approach 2: Hybrid Storage Strategy**
1432
+
1433
+ ```sql
1434
+ -- Recommended for: business scenarios with frequent update requirements
1435
+ CREATE TABLE IF NOT EXISTS hybrid_table (
1436
+ id INT,
1437
+ frequently_updated_field STRING, -- Relational field
1438
+ status_field INT, -- Relational field
1439
+ stable_json_data JSON, -- JSON field for stable data
1440
+ last_updated TIMESTAMP
1441
+ );
1442
+ ```
1443
+
1444
+ **Approach 3: Versioned Storage**
1445
+
1446
+ ```sql
1447
+ -- Suitable for: important data requiring historical version retention
1448
+ CREATE TABLE IF NOT EXISTS versioned_json_data (
1449
+ record_id STRING,
1450
+ version_number INT,
1451
+ json_data JSON,
1452
+ created_time TIMESTAMP,
1453
+ is_current BOOLEAN DEFAULT TRUE
1454
+ );
1455
+ ```
1456
+
1457
+ ### 6.3 Unified Syntax Recommendations
1458
+
1459
+ To avoid issues caused by mixing different approaches, it is recommended to consistently use json_extract functions:
1460
+
1461
+ ```sql
1462
+ -- Create unified syntax demo table
1463
+ CREATE TABLE IF NOT EXISTS syntax_demo (
1464
+ order_id STRING,
1465
+ data JSON
1466
+ );
1467
+
1468
+ -- Insert test data
1469
+ INSERT INTO syntax_demo VALUES
1470
+ ('ORD001', parse_json('{"customer": {"id": "C001", "name": "Alice", "level": "VIP"}, "payment": {"amount": 1500.00}, "items": [{"qty": 2}]}')),
1471
+ ('ORD002', parse_json('{"customer": {"id": "C002", "name": "Bob", "level": "regular"}, "payment": {"amount": 800.00}, "items": [{"qty": 1}]}')),
1472
+ ('ORD003', parse_json('{"customer": {"id": "C003", "name": "Charlie", "level": "VIP"}, "payment": {"amount": 2200.00}, "items": [{"qty": 3}]}'));
1473
+
1474
+ -- Recommended unified syntax pattern
1475
+ SELECT
1476
+ order_id,
1477
+ json_extract_string(data, "$.customer.id") as customer_id,
1478
+ json_extract_string(data, "$.customer.name") as customer_name,
1479
+ json_extract_string(data, "$.customer.level") as customer_level,
1480
+ json_extract_double(data, "$.payment.amount") as amount,
1481
+ json_extract_int(data, "$.items[0].qty") as quantity
1482
+ FROM syntax_demo
1483
+ WHERE json_extract_string(data, "$.customer.level") = 'VIP'
1484
+ ORDER BY json_extract_double(data, "$.payment.amount") DESC;
1485
+ ```
1486
+
1487
+ ### 6.4 Type-Safe Handling
1488
+
1489
+ #### 6.4.1 Safe Default Value Handling
1490
+
1491
+ ```sql
1492
+ -- Create type-safety demo table
1493
+ CREATE TABLE IF NOT EXISTS type_safety_demo (
1494
+ order_id STRING,
1495
+ order_data JSON
1496
+ );
1497
+
1498
+ -- Insert data containing missing fields
1499
+ INSERT INTO type_safety_demo VALUES
1500
+ ('ORD001', parse_json('{"customer": {"name": "Alice", "vip_level": "gold"}, "payment": {"discount": 100}}')),
1501
+ ('ORD002', parse_json('{"customer": {"name": "Bob"}, "payment": {}}')), -- Missing vip_level and discount
1502
+ ('ORD003', parse_json('{"customer": {"name": "Charlie", "vip_level": "silver"}, "payment": {"discount": 50}}'));
1503
+
1504
+ -- Safe default value handling
1505
+ SELECT
1506
+ order_id,
1507
+ json_extract_string(order_data, "$.customer.name") as customer_name,
1508
+ -- Ensure type-consistent default value handling
1509
+ CASE WHEN json_extract_string(order_data, "$.customer.vip_level") IS NOT NULL
1510
+ THEN json_extract_string(order_data, "$.customer.vip_level")
1511
+ ELSE 'regular'
1512
+ END as safe_vip_level,
1513
+ -- Safe handling of numeric types
1514
+ CASE WHEN json_extract_double(order_data, "$.payment.discount") IS NOT NULL
1515
+ THEN json_extract_double(order_data, "$.payment.discount")
1516
+ ELSE 0.0
1517
+ END as safe_discount,
1518
+ -- Use COALESCE to simplify default value handling
1519
+ COALESCE(json_extract_string(order_data, "$.customer.vip_level"), 'regular') as vip_level_coalesce,
1520
+ COALESCE(json_extract_double(order_data, "$.payment.discount"), 0.0) as discount_coalesce
1521
+ FROM type_safety_demo;
1522
+ ```
1523
+
1524
+ ### 6.5 Performance Optimization Strategies
1525
+
1526
+ #### 6.5.1 High-Frequency Field Optimization
1527
+
1528
+ ```sql
1529
+ -- Create performance optimization demo table
1530
+ CREATE TABLE IF NOT EXISTS perf_orders (
1531
+ id INT,
1532
+ order_data JSON,
1533
+ created_date DATE DEFAULT CURRENT_DATE()
1534
+ );
1535
+
1536
+ -- Insert test data
1537
+ INSERT INTO perf_orders VALUES
1538
+ (1, parse_json('{"customer_id": "C001", "payment_amount": 1500.00, "items": [{"detail": {"description": "Premium Electronics"}}]}'), CURRENT_DATE()),
1539
+ (2, parse_json('{"customer_id": "C002", "payment_amount": 2300.00, "items": [{"detail": {"description": "Home Goods"}}]}'), CURRENT_DATE()),
1540
+ (3, parse_json('{"customer_id": "C003", "payment_amount": 800.00, "items": [{"detail": {"description": "Daily Necessities"}}]}'), CURRENT_DATE()),
1541
+ (4, parse_json('{"customer_id": "C004", "payment_amount": 3200.00, "items": [{"detail": {"description": "Luxury Goods"}}]}'), CURRENT_DATE());
1542
+
1543
+ -- Place frequently used fields at the JSON top level to leverage automatic columnar storage optimization
1544
+ SELECT
1545
+ json_extract_string(order_data, "$.customer_id") as customer_id, -- High-frequency field
1546
+ json_extract_double(order_data, "$.payment_amount") as amount, -- High-frequency field
1547
+ json_extract_string(order_data, "$.items[0].detail.description") as desc -- Deep-level field
1548
+ FROM perf_orders
1549
+ WHERE json_extract_string(order_data, "$.customer_id") IS NOT NULL -- Efficient filtering
1550
+ AND json_extract_double(order_data, "$.payment_amount") > 1000; -- Numeric filtering
1551
+ ```
1552
+
1553
+ #### 6.5.2 Batch Extraction Optimization
1554
+
1555
+ ```sql
1556
+ -- Create batch optimization demo table
1557
+ CREATE TABLE IF NOT EXISTS batch_orders (
1558
+ id INT,
1559
+ order_data JSON
1560
+ );
1561
+
1562
+ -- Insert more test data
1563
+ INSERT INTO batch_orders VALUES
1564
+ (1, parse_json('{"customer": {"id": "C001", "level": "VIP"}, "payment": {"amount": 3500.00}}')),
1565
+ (2, parse_json('{"customer": {"id": "C002", "level": "regular"}, "payment": {"amount": 1200.00}}')),
1566
+ (3, parse_json('{"customer": {"id": "C003", "level": "VIP"}, "payment": {"amount": 4200.00}}')),
1567
+ (4, parse_json('{"customer": {"id": "C004", "level": "diamond"}, "payment": {"amount": 5800.00}}')),
1568
+ (5, parse_json('{"customer": {"id": "C005", "level": "regular"}, "payment": {"amount": 900.00}}'));
1569
+
1570
+ -- Use CTE to reduce repeated parsing
1571
+ WITH extracted_data AS (
1572
+ SELECT
1573
+ id as order_id,
1574
+ json_extract_string(order_data, "$.customer.id") as customer_id,
1575
+ json_extract_string(order_data, "$.customer.level") as customer_level,
1576
+ json_extract_double(order_data, "$.payment.amount") as payment_amount
1577
+ FROM batch_orders
1578
+ WHERE json_extract_string(order_data, "$.customer.id") IS NOT NULL
1579
+ )
1580
+ SELECT
1581
+ customer_level,
1582
+ COUNT(*) as order_count,
1583
+ AVG(payment_amount) as avg_amount,
1584
+ MAX(payment_amount) as max_amount,
1585
+ MIN(payment_amount) as min_amount
1586
+ FROM extracted_data
1587
+ GROUP BY customer_level
1588
+ ORDER BY avg_amount DESC;
1589
+ ```
1590
+
1591
+ ***
1592
+
1593
+ ## Chapter 7: Environment Management and Implementation Recommendations
1594
+
1595
+ ### 7.1 Pre-Implementation Checklist
1596
+
1597
+ #### 7.1.1 Technical Preparation
1598
+
1599
+ * [ ] Verify character encoding settings (UTF-8)
1600
+ * [ ] Test Chinese and emoji data processing
1601
+ * [ ] Prepare data migration plan
1602
+ * [ ] **New: Develop a JSON data update strategy**
1603
+
1604
+ #### 7.1.2 Syntax Specification Check
1605
+
1606
+ * [ ] Confirm all CREATE statements include IF NOT EXISTS
1607
+ * [ ] Verify that json_set/json_insert/json_remove functions are not used
1608
+ * [ ] Consistently use json_extract functions instead of direct JSON operations
1609
+ * [ ] Verify that JSON type is not used for direct comparison, sorting, or grouping
1610
+ * [ ] **New: Design a hybrid storage architecture**
1611
+
1612
+ #### 7.1.3 Development Standards
1613
+
1614
+ * [ ] Establish JSON field naming conventions (recommend English field names)
1615
+ * [ ] Consistently use json_extract functions
1616
+ * [ ] Establish error handling and default value handling standards
1617
+ * [ ] Design performance monitoring metrics
1618
+ * [ ] **New: Establish alternative solution standards for JSON data updates**
1619
+
1620
+ #### 7.1.4 Verification Testing
1621
+
1622
+ ```sql
1623
+ -- Create system verification table
1624
+ CREATE TABLE IF NOT EXISTS system_verification (
1625
+ test_id STRING,
1626
+ test_data JSON,
1627
+ test_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP()
1628
+ );
1629
+
1630
+ -- Basic functionality verification
1631
+ INSERT INTO system_verification VALUES
1632
+ ('test_001', parse_json('{"basic_test": "Basic functionality test", "emoji_test": "😊👍", "number_test": 123.45}'), CURRENT_TIMESTAMP()),
1633
+ ('test_002', parse_json('{"nested_test": {"level1": {"level2": "Deep nesting test"}}, "array_test": ["Array", "Test", "Items"]}'), CURRENT_TIMESTAMP());
1634
+
1635
+ -- Verification query
1636
+ SELECT
1637
+ test_id,
1638
+ json_extract_string(test_data, "$.basic_test") as basic_result,
1639
+ json_extract_string(test_data, "$.emoji_test") as emoji_result,
1640
+ json_extract_double(test_data, "$.number_test") as number_result,
1641
+ json_extract_string(test_data, "$.nested_test.level1.level2") as nested_result,
1642
+ json_extract_string(test_data, "$.array_test[0]") as array_result
1643
+ FROM system_verification
1644
+ ORDER BY test_time DESC;
1645
+ ```
1646
+
1647
+ ### 7.2 Phased Implementation Strategy
1648
+
1649
+ 1. **Proof of Concept Phase**: Select 1-2 key business scenarios for pilot testing
1650
+ 2. **Small-Scale Deployment**: Verify performance and stability in non-core business systems
1651
+ 3. **Architecture Optimization Phase**: Implement hybrid storage strategy and JSON update alternatives
1652
+ 4. **Full Rollout**: Develop a complete migration plan based on pilot experience
1653
+
1654
+ ```sql
1655
+ -- Implementation phase tracking table
1656
+ CREATE TABLE IF NOT EXISTS implementation_tracking (
1657
+ phase STRING,
1658
+ milestone STRING,
1659
+ status STRING,
1660
+ completion_date DATE,
1661
+ notes JSON
1662
+ );
1663
+
1664
+ -- Record implementation progress
1665
+ INSERT INTO implementation_tracking VALUES
1666
+ ('Phase1', 'Proof of Concept', 'completed', CURRENT_DATE(), parse_json('{"scenarios": ["E-commerce order analysis", "User behavior tracking"], "success_rate": 0.95}')),
1667
+ ('Phase2', 'Small-scale deployment', 'in_progress', NULL, parse_json('{"target_systems": ["Test environment", "Development environment"], "expected_completion": "2024-12-15"}')),
1668
+ ('Phase3', 'Architecture optimization', 'planned', NULL, parse_json('{"focus": ["Hybrid storage design", "JSON update alternatives"], "expected_start": "2024-12-20"}'));
1669
+ ```
1670
+
1671
+ ### 7.3 Monitoring and Operations
1672
+
1673
+ ```sql
1674
+ -- Create operational monitoring table
1675
+ CREATE TABLE IF NOT EXISTS operational_monitoring (
1676
+ metric_name STRING,
1677
+ metric_value DOUBLE,
1678
+ metric_metadata JSON,
1679
+ measurement_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP()
1680
+ );
1681
+
1682
+ -- Insert monitoring data example
1683
+ INSERT INTO operational_monitoring VALUES
1684
+ ('json_query_performance', 0.95, parse_json('{"avg_response_time_ms": 145, "query_count": 1000, "success_rate": 0.99}'), CURRENT_TIMESTAMP()),
1685
+ ('storage_efficiency', 0.87, parse_json('{"compression_ratio": 0.72, "storage_saved_gb": 250, "cost_reduction": 0.35}'), CURRENT_TIMESTAMP()),
1686
+ ('json_update_performance', 0.78, parse_json('{"avg_update_time_ms": 280, "update_success_rate": 0.95, "method": "json_reconstruction"}'), CURRENT_TIMESTAMP());
1687
+
1688
+ -- Performance monitoring query template
1689
+ SELECT
1690
+ metric_name,
1691
+ metric_value,
1692
+ json_extract_double(metric_metadata, "$.avg_response_time_ms") as avg_response_time,
1693
+ json_extract_int(metric_metadata, "$.query_count") as query_count,
1694
+ json_extract_double(metric_metadata, "$.success_rate") as success_rate,
1695
+ measurement_time
1696
+ FROM operational_monitoring
1697
+ WHERE metric_name = 'json_query_performance'
1698
+ ORDER BY measurement_time DESC;
1699
+ ```
1700
+
1701
+ ### 7.4 Performance Monitoring and Tuning
1702
+
1703
+ #### 7.4.1 JSON Query Performance Monitoring
1704
+
1705
+ ```sql
1706
+ -- Create performance monitoring demo table
1707
+ CREATE TABLE IF NOT EXISTS performance_monitor (
1708
+ id INT,
1709
+ json_column JSON,
1710
+ created_date DATE DEFAULT CURRENT_DATE()
1711
+ );
1712
+
1713
+ -- Insert test data
1714
+ INSERT INTO performance_monitor VALUES
1715
+ (1, parse_json('{"frequently_accessed_field": "value1", "other_data": "test", "nested": {"deep": {"field": "deep_value1"}}}'), CURRENT_DATE()),
1716
+ (2, parse_json('{"frequently_accessed_field": "value2", "other_data": "test", "nested": {"deep": {"field": "deep_value2"}}}'), CURRENT_DATE() - INTERVAL 10 DAYS),
1717
+ (3, parse_json('{"frequently_accessed_field": "value1", "other_data": "test", "nested": {"deep": {"field": "deep_value3"}}}'), CURRENT_DATE() - INTERVAL 2 DAYS),
1718
+ (4, parse_json('{"frequently_accessed_field": "value3", "other_data": "test", "nested": {"deep": {"field": "deep_value4"}}}'), CURRENT_DATE()),
1719
+ (5, parse_json('{"frequently_accessed_field": "value2", "other_data": "test", "nested": {"deep": {"field": "deep_value5"}}}'), CURRENT_DATE() - INTERVAL 5 DAYS);
1720
+
1721
+ -- Query performance analysis template
1722
+ SELECT
1723
+ 'performance_monitor' as table_name,
1724
+ COUNT(*) as total_records,
1725
+ AVG(LENGTH(CAST(json_column AS STRING))) as avg_json_size,
1726
+ -- High-frequency field distribution analysis
1727
+ COUNT(DISTINCT json_extract_string(json_column, "$.frequently_accessed_field")) as unique_values,
1728
+ -- Data recency analysis
1729
+ COUNT(CASE WHEN created_date >= CURRENT_DATE() - INTERVAL 7 DAYS THEN 1 END) as recent_records,
1730
+ -- Field access complexity analysis
1731
+ COUNT(CASE WHEN json_extract_string(json_column, "$.nested.deep.field") IS NOT NULL THEN 1 END) as deep_nested_fields
1732
+ FROM performance_monitor
1733
+ WHERE json_column IS NOT NULL;
1734
+ ```
1735
+
1736
+ #### 7.4.2 Automatic Optimization Recommendation Generation
1737
+
1738
+ ```sql
1739
+ -- Create optimization analysis demo table
1740
+ CREATE TABLE IF NOT EXISTS optimization_analysis (
1741
+ id INT,
1742
+ order_data JSON,
1743
+ created_date DATE DEFAULT CURRENT_DATE()
1744
+ );
1745
+
1746
+ -- Insert test data
1747
+ INSERT INTO optimization_analysis VALUES
1748
+ (1, parse_json('{"customer": {"level": "VIP"}, "payment": {"amount": 1500.00}}'), CURRENT_DATE()),
1749
+ (2, parse_json('{"customer": {"level": "regular"}, "payment": {"amount": 800.00}}'), CURRENT_DATE()),
1750
+ (3, parse_json('{"customer": {"level": "VIP"}, "payment": {"amount": 2200.00}}'), CURRENT_DATE()),
1751
+ (4, parse_json('{"customer": {"level": "diamond"}, "payment": {"amount": 5000.00}}'), CURRENT_DATE()),
1752
+ (5, parse_json('{"customer": {"level": "VIP"}, "payment": {"amount": 3200.00}}'), CURRENT_DATE()),
1753
+ (6, parse_json('{"customer": {"level": "regular"}, "payment": {"amount": 600.00}}'), CURRENT_DATE());
1754
+
1755
+ -- Automatic optimization recommendations based on usage patterns
1756
+ WITH query_pattern_analysis AS (
1757
+ SELECT
1758
+ json_extract_string(order_data, "$.customer.level") as access_pattern,
1759
+ COUNT(*) as usage_frequency,
1760
+ AVG(json_extract_double(order_data, "$.payment.amount")) as avg_amount
1761
+ FROM optimization_analysis
1762
+ GROUP BY json_extract_string(order_data, "$.customer.level")
1763
+ )
1764
+ SELECT
1765
+ access_pattern,
1766
+ usage_frequency,
1767
+ ROUND(avg_amount, 2) as avg_amount,
1768
+ CASE
1769
+ WHEN usage_frequency > 1000 THEN 'recommend_column_optimization'
1770
+ WHEN usage_frequency > 100 THEN 'consider_indexing'
1771
+ ELSE 'current_performance_sufficient'
1772
+ END as optimization_recommendation,
1773
+ CASE
1774
+ WHEN avg_amount > 3000 THEN 'high_value_customer_segment'
1775
+ WHEN avg_amount > 1500 THEN 'medium_value_customer_segment'
1776
+ ELSE 'low_value_customer_segment'
1777
+ END as business_insight
1778
+ FROM query_pattern_analysis
1779
+ ORDER BY usage_frequency DESC;
1780
+ ```
1781
+
1782
+ ### 7.5 Environment Cleanup
1783
+
1784
+ ```sql
1785
+ -- View all created tables
1786
+ SHOW TABLES LIKE '%json%';
1787
+
1788
+ -- Clean up test tables (optional)
1789
+ /*
1790
+ DROP TABLE IF EXISTS orders;
1791
+ DROP TABLE IF EXISTS ecommerce_orders_json;
1792
+ DROP TABLE IF EXISTS promotion_orders_json;
1793
+ DROP TABLE IF EXISTS inventory_orders_json;
1794
+ DROP TABLE IF EXISTS iot_devices_unified;
1795
+ DROP TABLE IF EXISTS financial_risk_analysis;
1796
+ DROP TABLE IF EXISTS customer_behavior_analysis;
1797
+ DROP TABLE IF EXISTS device_maintenance_analysis;
1798
+ DROP TABLE IF EXISTS user_data_chinese;
1799
+ DROP TABLE IF EXISTS social_data_emoji;
1800
+ DROP TABLE IF EXISTS feedback_data_complex;
1801
+ DROP TABLE IF EXISTS user_feedback_full;
1802
+ DROP TABLE IF EXISTS best_practice_demo;
1803
+ DROP TABLE IF EXISTS chinese_field_demo;
1804
+ DROP TABLE IF EXISTS special_char_demo;
1805
+ DROP TABLE IF EXISTS troubleshoot_demo;
1806
+ DROP TABLE IF EXISTS limitation_demo;
1807
+ DROP TABLE IF EXISTS syntax_demo;
1808
+ DROP TABLE IF EXISTS type_safety_demo;
1809
+ DROP TABLE IF EXISTS perf_orders;
1810
+ DROP TABLE IF EXISTS batch_orders;
1811
+ DROP TABLE IF EXISTS performance_monitor;
1812
+ DROP TABLE IF EXISTS optimization_analysis;
1813
+ DROP TABLE IF EXISTS system_verification;
1814
+ DROP TABLE IF EXISTS implementation_tracking;
1815
+ DROP TABLE IF EXISTS operational_monitoring;
1816
+ DROP TABLE IF EXISTS transaction_demo;
1817
+ DROP TABLE IF EXISTS hybrid_storage_demo;
1818
+ */
1819
+
1820
+ -- Verify cleanup results
1821
+ SELECT COUNT(*) as remaining_json_tables
1822
+ FROM information_schema.tables
1823
+ WHERE table_name LIKE '%json%';
1824
+ ```
1825
+
1826
+ ***
1827
+
1828
+ ## Summary
1829
+
1830
+ ### Core Value Summary
1831
+
1832
+ Singdata Lakehouse JSON data processing capabilities demonstrate the following core values:
1833
+
1834
+ #### Technical Advantages
1835
+
1836
+ * **Native JSON Support**: Full compatibility with standard JSON syntax; json_extract function queries are highly efficient
1837
+ * **Intelligent Storage Optimization**: High-frequency fields are stored in columnar format based on JSON Schema
1838
+ * **Real-time Processing Capability**: Dynamic tables enable real-time responsiveness
1839
+ * **Multilingual Support**: Complete support for Chinese, emoji, and other special characters
1840
+ * **Enterprise-Grade Features**: Complete elastic computing, multi-layer caching, and cluster isolation
1841
+
1842
+ #### Business Value
1843
+
1844
+ * **E-Commerce**: Implement personalized recommendation systems, improving conversion effectiveness and user experience
1845
+ * **IoT**: Establish predictive maintenance systems, reducing equipment failures and maintenance costs
1846
+ * **Financial**: Build real-time risk control engines, enhancing risk management and compliance capabilities
1847
+
1848
+ #### Implementation Advantages
1849
+
1850
+ * **Quick Start**: Based on standard SQL, significantly improving development efficiency
1851
+ * **Smooth Migration**: No need to restructure existing JSON data; import and use directly
1852
+ * **Strong Scalability**: Seamless scaling from GB to PB-level data, supporting long-term enterprise development
1853
+
1854
+ ### Key Technical Points
1855
+
1856
+ #### Syntax Specifications
1857
+
1858
+ * **Consistently use json_extract functions**: Avoid mixing different access methods
1859
+ * **Type Safety**: JSON type does not support direct comparison, sorting, or grouping operations
1860
+ * **Chinese Support**: Full support for Chinese and emoji; recommend using English field names
1861
+ * **CREATE Statement Standard**: Consistently use IF NOT EXISTS to avoid duplicate creation errors
1862
+ * **Important Limitation**: json_set function is not supported
1863
+
1864
+ #### JSON Update Strategies
1865
+
1866
+ * **Hybrid Storage Design**: Use relational storage for frequently updated fields, JSON for stable data
1867
+ * **Application-Layer Processing**: Complete complex JSON updates at the application layer before full replacement
1868
+ * **Version Control**: Retain historical versions for important JSON data changes
1869
+ * **Batch Updates**: Avoid row-by-row JSON reconstruction; prioritize batch processing
1870
+
1871
+ #### Performance Optimization
1872
+
1873
+ * **Columnar Design for High-Frequency Fields**: Can significantly improve query efficiency
1874
+ * **Multi-Layer Cache Utilization**: Query result cache, metadata cache, and compute cluster local cache work together
1875
+ * **Real-time Stream Processing**: Dynamic tables enable efficient data aggregation
1876
+
1877
+ ### Action Recommendations
1878
+
1879
+ 1. **Start Immediately**: Select a key business scenario and launch a proof of concept for JSON data processing
1880
+ 2. **Architecture Design**: Develop a hybrid storage strategy and clearly define JSON usage boundaries
1881
+ 3. **Team Training**: Organize technical team learning of this guide's best practices and syntax specifications
1882
+ 4. **Gradual Expansion**: Based on successful pilot experience, develop a comprehensive JSON data strategy
1883
+ 5. **Continuous Optimization**: Establish performance monitoring and optimization mechanisms to ensure long-term value realization
1884
+
1885
+ ***
1886
+
1887
+ **Singdata Lakehouse JSON Data Processing - Making complex JSON data processing simple and efficient within clearly defined technical boundaries**
1888
+
1889
+ *This guide provides a complete solution for enterprise JSON data processing. All SQL statements have been verified in Singdata Lakehouse. Each example includes complete table creation and data preparation statements, using IF NOT EXISTS to ensure repeatable execution. By following the best practices in this revised edition, enterprises can fully leverage the business value of JSON data and accelerate their digital transformation journey within clearly defined technical boundaries*.
1890
+
1891
+ ## References
1892
+
1893
+ [JSON Data Type](json.md)
1894
+
1895
+ [JSON Functions](json_function.md)
1896
+
1897
+ *Note: This guide is based on test results from the Singdata Lakehouse version as of May 2025. Subsequent versions may introduce changes. Please regularly check the official documentation for the latest information*.