@clickzetta/cz-cli-darwin-x64 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cz-cli +0 -0
- package/bin/skills/cz-cli/SKILL.md +58 -0
- package/bin/skills/cz-cli/references/profile-setup.md +88 -0
- package/bin/skills/cz-cli-inner/SKILL.md +96 -0
- package/bin/skills/dt-creator/SKILL.md +15 -0
- package/bin/skills/dt-creator/references/dt-declaration-strategy.md +185 -0
- package/bin/skills/dt-creator/references/incremental-config-reference.md +429 -0
- package/bin/skills/dt-creator/references/refresh-history-guide.md +268 -0
- package/bin/skills/dt-creator/references/sql-limitations.md +80 -0
- package/bin/skills/dynamic-table-alter/SKILL.md +190 -0
- package/bin/skills/lakehouse-doc/SKILL.md +107 -0
- package/bin/skills/lakehouse-doc/references/.gitattributes +1 -0
- package/bin/skills/lakehouse-doc/references/.gitlab-ci.yml +11 -0
- package/bin/skills/lakehouse-doc/references/702bc8f656.md +387 -0
- package/bin/skills/lakehouse-doc/references/774c65e217.md +136 -0
- package/bin/skills/lakehouse-doc/references/9164fed65a.md +1 -0
- package/bin/skills/lakehouse-doc/references/AIGateway.md +3 -0
- package/bin/skills/lakehouse-doc/references/AI_COMPLETE.md +157 -0
- package/bin/skills/lakehouse-doc/references/AI_EMBEDDING.md +70 -0
- package/bin/skills/lakehouse-doc/references/AI_Gateway.md +255 -0
- package/bin/skills/lakehouse-doc/references/AI_eco.md +1 -0
- package/bin/skills/lakehouse-doc/references/AI_function_in_SQL.md +25 -0
- package/bin/skills/lakehouse-doc/references/AI_function_overview.md +25 -0
- package/bin/skills/lakehouse-doc/references/ALTER-EXTERNAL-TABLE.md +78 -0
- package/bin/skills/lakehouse-doc/references/ALTER-SCHEMA.md +85 -0
- package/bin/skills/lakehouse-doc/references/ALTER-TABLE-COLUMN.md +223 -0
- package/bin/skills/lakehouse-doc/references/ALTERTABLE.md +92 -0
- package/bin/skills/lakehouse-doc/references/ARRAY.md +99 -0
- package/bin/skills/lakehouse-doc/references/Account.md +2 -0
- package/bin/skills/lakehouse-doc/references/Analysis.md +1 -0
- package/bin/skills/lakehouse-doc/references/AnalyticsModernDataStack.md +390 -0
- package/bin/skills/lakehouse-doc/references/Application_list.md +26 -0
- package/bin/skills/lakehouse-doc/references/Approval.md +1 -0
- package/bin/skills/lakehouse-doc/references/Approval_list.md +61 -0
- package/bin/skills/lakehouse-doc/references/BIGINT.md +49 -0
- package/bin/skills/lakehouse-doc/references/BINARY.md +104 -0
- package/bin/skills/lakehouse-doc/references/BOOLEAN.md +47 -0
- package/bin/skills/lakehouse-doc/references/BP_AI_Function_Image2text.md +203 -0
- package/bin/skills/lakehouse-doc/references/BluepipeOracleLakehouse_DataSync.md +244 -0
- package/bin/skills/lakehouse-doc/references/CHAR.md +38 -0
- package/bin/skills/lakehouse-doc/references/CONNECTION.md +1 -0
- package/bin/skills/lakehouse-doc/references/COPY-INTO-Location.md +404 -0
- package/bin/skills/lakehouse-doc/references/COPY_INTO_Location.md +371 -0
- package/bin/skills/lakehouse-doc/references/CREAREUSER.md +42 -0
- package/bin/skills/lakehouse-doc/references/CREATE-BLOOMFILTER-INDEX.md +138 -0
- package/bin/skills/lakehouse-doc/references/CREATECONNECTION.md +11 -0
- package/bin/skills/lakehouse-doc/references/CREATEEXTERNAlLSCHEMA.md +290 -0
- package/bin/skills/lakehouse-doc/references/CREATEMATERIALIZEDVIEW.md +518 -0
- package/bin/skills/lakehouse-doc/references/CREATEROLE.md +71 -0
- package/bin/skills/lakehouse-doc/references/CREATESCHEMA.md +40 -0
- package/bin/skills/lakehouse-doc/references/CREATEVIEW.md +63 -0
- package/bin/skills/lakehouse-doc/references/CREATE_EXTERNATL_FUNCTION.md +219 -0
- package/bin/skills/lakehouse-doc/references/CTERevenueCohort.md +275 -0
- package/bin/skills/lakehouse-doc/references/ComputeResourceDDL.md +1 -0
- package/bin/skills/lakehouse-doc/references/Concepts.md +1 -0
- package/bin/skills/lakehouse-doc/references/Create_Embeding_Function.md +236 -0
- package/bin/skills/lakehouse-doc/references/Create_LLM_Function.md +242 -0
- package/bin/skills/lakehouse-doc/references/CreditScoringwithZettaparkandPythonMLlibraryNew.md +873 -0
- package/bin/skills/lakehouse-doc/references/DATE.md +50 -0
- package/bin/skills/lakehouse-doc/references/DDL.md +1 -0
- package/bin/skills/lakehouse-doc/references/DECIMAL.md +27 -0
- package/bin/skills/lakehouse-doc/references/DELETE.md +48 -0
- package/bin/skills/lakehouse-doc/references/DESC-INDEX.md +41 -0
- package/bin/skills/lakehouse-doc/references/DESC-JOB.md +31 -0
- package/bin/skills/lakehouse-doc/references/DESCCONNECTION.md +39 -0
- package/bin/skills/lakehouse-doc/references/DESCMATERIALIZEDVIEW.md +31 -0
- package/bin/skills/lakehouse-doc/references/DESCSCHEMAS.md +59 -0
- package/bin/skills/lakehouse-doc/references/DESCTABLE.md +105 -0
- package/bin/skills/lakehouse-doc/references/DESCVIEW.md +66 -0
- package/bin/skills/lakehouse-doc/references/DOUBLE.md +58 -0
- package/bin/skills/lakehouse-doc/references/DQL.md +1 -0
- package/bin/skills/lakehouse-doc/references/DROP-INDEX.md +29 -0
- package/bin/skills/lakehouse-doc/references/DROPCONNECTION.md +32 -0
- package/bin/skills/lakehouse-doc/references/DROPMATERIALIZEDVIEW.md +42 -0
- package/bin/skills/lakehouse-doc/references/DROPROLE.md +56 -0
- package/bin/skills/lakehouse-doc/references/DROPSCHEMA.md +37 -0
- package/bin/skills/lakehouse-doc/references/DROPTABLE.md +46 -0
- package/bin/skills/lakehouse-doc/references/DROPUSER.md +34 -0
- package/bin/skills/lakehouse-doc/references/DROPVIEW.md +33 -0
- package/bin/skills/lakehouse-doc/references/DataQuality.md +99 -0
- package/bin/skills/lakehouse-doc/references/DataSourceConfigGuide.md +1 -0
- package/bin/skills/lakehouse-doc/references/DataSource_ADBMySQL.md +35 -0
- package/bin/skills/lakehouse-doc/references/DataSource_ADB_PostgreSQL.md +36 -0
- package/bin/skills/lakehouse-doc/references/DataSource_AMQP.md +37 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Amazon_DocumentDB.md +115 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Amazon_OpenSearch.md +42 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Aurora_MySQL.md +35 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Aurora_PostgreSQL.md +36 -0
- package/bin/skills/lakehouse-doc/references/DataSource_AutoMQ.md +124 -0
- package/bin/skills/lakehouse-doc/references/DataSource_COS.md +31 -0
- package/bin/skills/lakehouse-doc/references/DataSource_ClickHouse.md +36 -0
- package/bin/skills/lakehouse-doc/references/DataSource_DB2.md +36 -0
- package/bin/skills/lakehouse-doc/references/DataSource_DM.md +35 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Databricks.md +38 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Doris.md +34 -0
- package/bin/skills/lakehouse-doc/references/DataSource_DynamoDB.md +37 -0
- package/bin/skills/lakehouse-doc/references/DataSource_ElasticSearch.md +30 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Greenplum.md +36 -0
- package/bin/skills/lakehouse-doc/references/DataSource_HANA.md +53 -0
- package/bin/skills/lakehouse-doc/references/DataSource_HBase.md +29 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Hive.md +52 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Hologres.md +36 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Kafka.md +32 -0
- package/bin/skills/lakehouse-doc/references/DataSource_MariaDB.md +36 -0
- package/bin/skills/lakehouse-doc/references/DataSource_MaxCompute.md +32 -0
- package/bin/skills/lakehouse-doc/references/DataSource_MongoDB.md +36 -0
- package/bin/skills/lakehouse-doc/references/DataSource_MySQL.md +36 -0
- package/bin/skills/lakehouse-doc/references/DataSource_OSS.md +31 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Oracle.md +35 -0
- package/bin/skills/lakehouse-doc/references/DataSource_PorarDB.md +37 -0
- package/bin/skills/lakehouse-doc/references/DataSource_PostgreSQL.md +36 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Redis.md +55 -0
- package/bin/skills/lakehouse-doc/references/DataSource_Redshift.md +49 -0
- package/bin/skills/lakehouse-doc/references/DataSource_RestApi.md +30 -0
- package/bin/skills/lakehouse-doc/references/DataSource_S3.md +25 -0
- package/bin/skills/lakehouse-doc/references/DataSource_SLS.md +31 -0
- package/bin/skills/lakehouse-doc/references/DataSource_StarRocks.md +35 -0
- package/bin/skills/lakehouse-doc/references/DataSource_TiDB.md +36 -0
- package/bin/skills/lakehouse-doc/references/Datalake_StorageConnection.md +12 -0
- package/bin/skills/lakehouse-doc/references/Datasource_SQLServer.md +36 -0
- package/bin/skills/lakehouse-doc/references/Datus_Lakehouse_Integrated_Guide.md +3 -0
- package/bin/skills/lakehouse-doc/references/Datus_Lakehouse_MCPServer.md +111 -0
- package/bin/skills/lakehouse-doc/references/Dify_Integreated_with_LakehouseMCPServer.md +71 -0
- package/bin/skills/lakehouse-doc/references/ELTModernDataStack.md +497 -0
- package/bin/skills/lakehouse-doc/references/ELT_practice.md +1 -0
- package/bin/skills/lakehouse-doc/references/EXPLAIN.md +92 -0
- package/bin/skills/lakehouse-doc/references/EXTERNALFUNCITON.md +1 -0
- package/bin/skills/lakehouse-doc/references/EXTERNALFUNCTION.md +0 -0
- package/bin/skills/lakehouse-doc/references/EXTERNALFUNCTION/345/274/200/345/217/221/346/214/207/345/215/227.md +142 -0
- package/bin/skills/lakehouse-doc/references/EXTERNALSCHEMA.md +1 -0
- package/bin/skills/lakehouse-doc/references/EXTERNALSCHMEA.md +94 -0
- package/bin/skills/lakehouse-doc/references/ExternalFunctionDevGuideJava.md +556 -0
- package/bin/skills/lakehouse-doc/references/FLOAT.md +33 -0
- package/bin/skills/lakehouse-doc/references/FeatureEngineeringForExpandingCustomerFeatureswithZettapark.md +427 -0
- package/bin/skills/lakehouse-doc/references/FileCommand.md +1 -0
- package/bin/skills/lakehouse-doc/references/FileFunction.md +1 -0
- package/bin/skills/lakehouse-doc/references/FineBI.md +195 -0
- package/bin/skills/lakehouse-doc/references/Full_Text_Search.md +1 -0
- package/bin/skills/lakehouse-doc/references/GET.md +63 -0
- package/bin/skills/lakehouse-doc/references/GET_PRESIGNED_URL.md +91 -0
- package/bin/skills/lakehouse-doc/references/GrantPriveleges.md +113 -0
- package/bin/skills/lakehouse-doc/references/Hive_connection.md +50 -0
- package/bin/skills/lakehouse-doc/references/IDENTITY-Column.md +74 -0
- package/bin/skills/lakehouse-doc/references/INSERT.md +186 -0
- package/bin/skills/lakehouse-doc/references/INT.md +36 -0
- package/bin/skills/lakehouse-doc/references/INTERVAL.md +143 -0
- package/bin/skills/lakehouse-doc/references/Ingesting_Data_from_Alibaba_Cloud_Data_Lake_into_Lakehouse.md +976 -0
- package/bin/skills/lakehouse-doc/references/Ingestion.md +1 -0
- package/bin/skills/lakehouse-doc/references/JDBC-Driver.md +67 -0
- package/bin/skills/lakehouse-doc/references/JDBC_MindsDB_ML_LLM.md +237 -0
- package/bin/skills/lakehouse-doc/references/JOIN.md +204 -0
- package/bin/skills/lakehouse-doc/references/JSON.md +423 -0
- package/bin/skills/lakehouse-doc/references/JSON_DataType.md +49 -0
- package/bin/skills/lakehouse-doc/references/KAFKA_Storage_connection.md +1 -0
- package/bin/skills/lakehouse-doc/references/Kafka_connection.md +36 -0
- package/bin/skills/lakehouse-doc/references/Key_Concepts.md +112 -0
- package/bin/skills/lakehouse-doc/references/LATERALVIEW.md +78 -0
- package/bin/skills/lakehouse-doc/references/Lakehouse-client-repository.md +11 -0
- package/bin/skills/lakehouse-doc/references/LakehouseAI.md +0 -0
- package/bin/skills/lakehouse-doc/references/LakehouseAI_overview.md +16 -0
- package/bin/skills/lakehouse-doc/references/LakehouseAI/346/246/202/350/277/260.md +0 -0
- package/bin/skills/lakehouse-doc/references/LakehouseDataGPTTour.md +64 -0
- package/bin/skills/lakehouse-doc/references/LakehouseMCPServer.md +1 -0
- package/bin/skills/lakehouse-doc/references/LakehouseMCPServer_intro.md +493 -0
- package/bin/skills/lakehouse-doc/references/LakehousePythonZettapark.md +1 -0
- package/bin/skills/lakehouse-doc/references/LakehouseStudioTour.md +185 -0
- package/bin/skills/lakehouse-doc/references/Lakehouse_Index_Best_Practice.md +681 -0
- package/bin/skills/lakehouse-doc/references/Lakehouse_Insight.md +104 -0
- package/bin/skills/lakehouse-doc/references/Lakehouse_Platform_Release_Note.md +1 -0
- package/bin/skills/lakehouse-doc/references/Lakehouse_Studio_101.md +1 -0
- package/bin/skills/lakehouse-doc/references/Lakehouse_Studio_Release_Note.md +1 -0
- package/bin/skills/lakehouse-doc/references/Lakehouse_Zilliz_MakeDataReadyforBIandAI.md +228 -0
- package/bin/skills/lakehouse-doc/references/Langchain_plug_installation.md +244 -0
- package/bin/skills/lakehouse-doc/references/Langchain_plug_quick_start.md +225 -0
- package/bin/skills/lakehouse-doc/references/Langchain_plugins_overview.md +406 -0
- package/bin/skills/lakehouse-doc/references/Limitation.md +8 -0
- package/bin/skills/lakehouse-doc/references/LoggingIn.md +67 -0
- package/bin/skills/lakehouse-doc/references/Logstash.md +172 -0
- package/bin/skills/lakehouse-doc/references/MAP.md +42 -0
- package/bin/skills/lakehouse-doc/references/MATERIALIZEDVIEW.md +112 -0
- package/bin/skills/lakehouse-doc/references/MCPServers.md +267 -0
- package/bin/skills/lakehouse-doc/references/MERGE.md +498 -0
- package/bin/skills/lakehouse-doc/references/ManageAccounts.md +184 -0
- package/bin/skills/lakehouse-doc/references/ManagingFilesonDatalakeVolumewithZettapark.md +145 -0
- package/bin/skills/lakehouse-doc/references/MigrateSnowflakeRealtimeETLPipelinetoClickzettaLakehouse.md +865 -0
- package/bin/skills/lakehouse-doc/references/Migrate_Spark_DataEngineeringBestPractices_Project_to_Lakehouse.md +292 -0
- package/bin/skills/lakehouse-doc/references/ModernDataStackWithEcosystemTools.md +1 -0
- package/bin/skills/lakehouse-doc/references/N8N_AI_Workflow_Integration.md +1 -0
- package/bin/skills/lakehouse-doc/references/N8N_Integrated_with_LakehouseMCPServer.md +128 -0
- package/bin/skills/lakehouse-doc/references/Notebook.md +109 -0
- package/bin/skills/lakehouse-doc/references/NotesandGuidelinesforUsingPartitionTables.md +1627 -0
- package/bin/skills/lakehouse-doc/references/OPTIMIZE.md +80 -0
- package/bin/skills/lakehouse-doc/references/OptimizingComputingResources.md +1 -0
- package/bin/skills/lakehouse-doc/references/Overview.md +1 -0
- package/bin/skills/lakehouse-doc/references/PUT.md +70 -0
- package/bin/skills/lakehouse-doc/references/PerformingVectorandScalarRetrievalinheSameTableinLakehouse.md +84 -0
- package/bin/skills/lakehouse-doc/references/Permission_application.md +43 -0
- package/bin/skills/lakehouse-doc/references/PowerBI.md +113 -0
- package/bin/skills/lakehouse-doc/references/PythonSDKVersionHistory.md +24 -0
- package/bin/skills/lakehouse-doc/references/PythonSample_put_gharchive2oss.md +153 -0
- package/bin/skills/lakehouse-doc/references/PythonSample_put_github_rt_events.md +336 -0
- package/bin/skills/lakehouse-doc/references/PythonSqlAlchemyVersionHistory.md +23 -0
- package/bin/skills/lakehouse-doc/references/PythonTaskDev.md +1 -0
- package/bin/skills/lakehouse-doc/references/Python_Task.md +28 -0
- package/bin/skills/lakehouse-doc/references/Query_SnowflakeOpenCatalog_Icebergtable.md +114 -0
- package/bin/skills/lakehouse-doc/references/QuickStartwithCopycommand.md +79 -0
- package/bin/skills/lakehouse-doc/references/README.md +1 -0
- package/bin/skills/lakehouse-doc/references/REFRESH.md +37 -0
- package/bin/skills/lakehouse-doc/references/REMOTEFUNCTION.md +1 -0
- package/bin/skills/lakehouse-doc/references/RN_2023-08-07.md +67 -0
- package/bin/skills/lakehouse-doc/references/RN_2023-09-05.md +75 -0
- package/bin/skills/lakehouse-doc/references/RN_2023-09-18.md +50 -0
- package/bin/skills/lakehouse-doc/references/RN_2023-09-20.md +55 -0
- package/bin/skills/lakehouse-doc/references/RN_2023-10-25.md +102 -0
- package/bin/skills/lakehouse-doc/references/RN_2023-11-09.md +84 -0
- package/bin/skills/lakehouse-doc/references/RN_2023-12-25.md +84 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-01-05.md +78 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-02-05.md +87 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-03-22.md +76 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-04-10.md +61 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-04-16.md +38 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-05-10.md +47 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-05-15.md +43 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-05-24.md +143 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-06-06.md +59 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-06-07.md +71 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-06-27.md +55 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-07-22.md +121 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-07-24.md +58 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-08-07.md +42 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-09-26.md +106 -0
- package/bin/skills/lakehouse-doc/references/RN_2024-10-15.md +49 -0
- package/bin/skills/lakehouse-doc/references/RN_2024_11_11.md +50 -0
- package/bin/skills/lakehouse-doc/references/RN_2024_12_12.md +52 -0
- package/bin/skills/lakehouse-doc/references/RN_2024_12_25.md +40 -0
- package/bin/skills/lakehouse-doc/references/RN_2025-03-05.md +68 -0
- package/bin/skills/lakehouse-doc/references/RN_2025-04-01.md +74 -0
- package/bin/skills/lakehouse-doc/references/RN_2025-05-20.md +90 -0
- package/bin/skills/lakehouse-doc/references/RN_2025-07-03.md +100 -0
- package/bin/skills/lakehouse-doc/references/RN_2025-08-25.md +106 -0
- package/bin/skills/lakehouse-doc/references/RN_2025_03_03.md +141 -0
- package/bin/skills/lakehouse-doc/references/RN_2025_04_22.md +110 -0
- package/bin/skills/lakehouse-doc/references/RN_2025_07_15.md +60 -0
- package/bin/skills/lakehouse-doc/references/RN_2025_10_23.md +85 -0
- package/bin/skills/lakehouse-doc/references/RN_2025_10_30.md +68 -0
- package/bin/skills/lakehouse-doc/references/RN_2025_12_17.md +71 -0
- package/bin/skills/lakehouse-doc/references/RN_2026_1_30-2.0.0.md +43 -0
- package/bin/skills/lakehouse-doc/references/RN_LH_2025_12_30.md +73 -0
- package/bin/skills/lakehouse-doc/references/RN_LH_2026_03_13.md +47 -0
- package/bin/skills/lakehouse-doc/references/Refactor_ELT_practice.md +241 -0
- package/bin/skills/lakehouse-doc/references/RemoteFunctionAsUDF.md +1 -0
- package/bin/skills/lakehouse-doc/references/RemoteFunctionBestPractice.md +350 -0
- package/bin/skills/lakehouse-doc/references/RemoteFunctionDevGuidePython3.md +571 -0
- package/bin/skills/lakehouse-doc/references/RemoteFunctionOnACR.md +249 -0
- package/bin/skills/lakehouse-doc/references/RemoteFunctionintro.md +54 -0
- package/bin/skills/lakehouse-doc/references/RemoteFunction/344/273/213/347/273/215.md +1 -0
- package/bin/skills/lakehouse-doc/references/RemoteFunction/345/274/200/345/217/221/346/214/207/345/215/227Python3.md +1 -0
- package/bin/skills/lakehouse-doc/references/RemoteFunction/346/234/200/344/275/263/345/256/236/350/267/265.md +1 -0
- package/bin/skills/lakehouse-doc/references/RevokePriveleges.md +98 -0
- package/bin/skills/lakehouse-doc/references/SCHEMA.md +48 -0
- package/bin/skills/lakehouse-doc/references/SCHEMADDL.md +0 -0
- package/bin/skills/lakehouse-doc/references/SHOW-INDEX.md +22 -0
- package/bin/skills/lakehouse-doc/references/SHOWCONNECTIONS.md +44 -0
- package/bin/skills/lakehouse-doc/references/SHOWFUNCTIONS.md +38 -0
- package/bin/skills/lakehouse-doc/references/SHOWGRANTS.md +62 -0
- package/bin/skills/lakehouse-doc/references/SHOWROLES.md +59 -0
- package/bin/skills/lakehouse-doc/references/SHOWTABLES.md +46 -0
- package/bin/skills/lakehouse-doc/references/SHOWUSERS.md +26 -0
- package/bin/skills/lakehouse-doc/references/SMALLINT.md +48 -0
- package/bin/skills/lakehouse-doc/references/SQL_CREATE_TABLE_GUIDE.md +1210 -0
- package/bin/skills/lakehouse-doc/references/SQL_DML_Considerations.md +601 -0
- package/bin/skills/lakehouse-doc/references/SQL_Join_Guide.md +655 -0
- package/bin/skills/lakehouse-doc/references/SQL_SELECT_Considerations.md +1818 -0
- package/bin/skills/lakehouse-doc/references/SQL_With_CTE_Guide.md +1510 -0
- package/bin/skills/lakehouse-doc/references/SQL_customers.md +74 -0
- package/bin/skills/lakehouse-doc/references/SQL_revenue.md +31 -0
- package/bin/skills/lakehouse-doc/references/STRING.md +80 -0
- package/bin/skills/lakehouse-doc/references/STRUCT.md +33 -0
- package/bin/skills/lakehouse-doc/references/SUMMARY.md +1279 -0
- package/bin/skills/lakehouse-doc/references/Security_system_inventory_and_optimization_based_Information_Schema.md +412 -0
- package/bin/skills/lakehouse-doc/references/Server_data_for_AI.md +15 -0
- package/bin/skills/lakehouse-doc/references/SlowlyChangingDimensionsInLakehouseUsingStreamsandTasks.md +616 -0
- package/bin/skills/lakehouse-doc/references/Spark_Lakehouse_iceberg_REST.md +151 -0
- package/bin/skills/lakehouse-doc/references/StudioDI_PrivateLinkVPC_fromRDS.md +105 -0
- package/bin/skills/lakehouse-doc/references/Supported_Cloud_Platforms.md +40 -0
- package/bin/skills/lakehouse-doc/references/TABLE.md +49 -0
- package/bin/skills/lakehouse-doc/references/TIMESTAMP.md +56 -0
- package/bin/skills/lakehouse-doc/references/TIMETRAVEL.md +207 -0
- package/bin/skills/lakehouse-doc/references/TINYINT.md +63 -0
- package/bin/skills/lakehouse-doc/references/TPC-H100G_experience.md +49 -0
- package/bin/skills/lakehouse-doc/references/TRUNCATE.md +144 -0
- package/bin/skills/lakehouse-doc/references/TableDesign.md +270 -0
- package/bin/skills/lakehouse-doc/references/TableauConnectToLakehouse.md +64 -0
- package/bin/skills/lakehouse-doc/references/Tutorials.md +1 -0
- package/bin/skills/lakehouse-doc/references/UNDROP-TABLE.md +163 -0
- package/bin/skills/lakehouse-doc/references/UPDATE.md +70 -0
- package/bin/skills/lakehouse-doc/references/USESCHEMA.md +53 -0
- package/bin/skills/lakehouse-doc/references/UnifiedWorkflowIntro.md +31 -0
- package/bin/skills/lakehouse-doc/references/UnifiedWorkflow_demo.md +175 -0
- package/bin/skills/lakehouse-doc/references/Unstructured_io.md +735 -0
- package/bin/skills/lakehouse-doc/references/VARCHARleghth.md +42 -0
- package/bin/skills/lakehouse-doc/references/VIEW.md +47 -0
- package/bin/skills/lakehouse-doc/references/Volume_LIST.md +52 -0
- package/bin/skills/lakehouse-doc/references/WINDOWFUNCTION.md +561 -0
- package/bin/skills/lakehouse-doc/references/WITH.md +41 -0
- package/bin/skills/lakehouse-doc/references/ZettaparkQuickStart.md +453 -0
- package/bin/skills/lakehouse-doc/references/Zettapark_Data_Engineering_Demo.md +348 -0
- package/bin/skills/lakehouse-doc/references/a_comprehensive_guide_to_ingesting_data_into_clickzetta_lakehouse.md +66 -0
- package/bin/skills/lakehouse-doc/references/access-control-configration.md +249 -0
- package/bin/skills/lakehouse-doc/references/access-control-general.md +82 -0
- package/bin/skills/lakehouse-doc/references/access-control.md +240 -0
- package/bin/skills/lakehouse-doc/references/account_user_management.md +105 -0
- package/bin/skills/lakehouse-doc/references/accountfunds.md +87 -0
- package/bin/skills/lakehouse-doc/references/agg_function.md +1 -0
- package/bin/skills/lakehouse-doc/references/ai_ready_data_overview.md +13 -0
- package/bin/skills/lakehouse-doc/references/airbyte.md +95 -0
- package/bin/skills/lakehouse-doc/references/alert.md +143 -0
- package/bin/skills/lakehouse-doc/references/alicloud-arn-externalid.md +51 -0
- package/bin/skills/lakehouse-doc/references/alicloud_byos_configration.md +129 -0
- package/bin/skills/lakehouse-doc/references/aliyun_storage_connection.md +135 -0
- package/bin/skills/lakehouse-doc/references/alter-dynamic-table.md +375 -0
- package/bin/skills/lakehouse-doc/references/alter-external-schema.md +20 -0
- package/bin/skills/lakehouse-doc/references/alter-materialzied-view.md +238 -0
- package/bin/skills/lakehouse-doc/references/alter-share.md +43 -0
- package/bin/skills/lakehouse-doc/references/alter-user.md +13 -0
- package/bin/skills/lakehouse-doc/references/alter-vcluster.md +134 -0
- package/bin/skills/lakehouse-doc/references/alter-worksapce.md +55 -0
- package/bin/skills/lakehouse-doc/references/alter.md +35 -0
- package/bin/skills/lakehouse-doc/references/analysis_internet_data_nyc_green_data.md +449 -0
- package/bin/skills/lakehouse-doc/references/analytics_cluster_best_practices.md +377 -0
- package/bin/skills/lakehouse-doc/references/analyze-table.md +58 -0
- package/bin/skills/lakehouse-doc/references/array_size.md +34 -0
- package/bin/skills/lakehouse-doc/references/authentication.md +53 -0
- package/bin/skills/lakehouse-doc/references/authoritymanagement.md +1 -0
- package/bin/skills/lakehouse-doc/references/auto-index.md +57 -0
- package/bin/skills/lakehouse-doc/references/aws_storage_connection.md +114 -0
- package/bin/skills/lakehouse-doc/references/backfilling_data.md +60 -0
- package/bin/skills/lakehouse-doc/references/batch_sync.md +54 -0
- package/bin/skills/lakehouse-doc/references/batch_sync_Sop.md +135 -0
- package/bin/skills/lakehouse-doc/references/batchloadparquertfileintoLakehouse.md +79 -0
- package/bin/skills/lakehouse-doc/references/bestpractice_bazhuanyu.md +1 -0
- package/bin/skills/lakehouse-doc/references/billing.md +62 -0
- package/bin/skills/lakehouse-doc/references/bitmap-type.md +524 -0
- package/bin/skills/lakehouse-doc/references/bitmap_uba_guide.md +1190 -0
- package/bin/skills/lakehouse-doc/references/bloomfilter-summary.md +164 -0
- package/bin/skills/lakehouse-doc/references/book.json +17 -0
- package/bin/skills/lakehouse-doc/references/bring_your_own_storage.md +1 -0
- package/bin/skills/lakehouse-doc/references/build-inverted-index.md +27 -0
- package/bin/skills/lakehouse-doc/references/build_rag_with_langchain.md +616 -0
- package/bin/skills/lakehouse-doc/references/bulkload-summary.md +37 -0
- package/bin/skills/lakehouse-doc/references/bulkloadv1-java-sdk.md +178 -0
- package/bin/skills/lakehouse-doc/references/bulkloadv1-python-sdk.md +169 -0
- package/bin/skills/lakehouse-doc/references/byos_general.md +165 -0
- package/bin/skills/lakehouse-doc/references/byos_tencentcloud_configration.md +138 -0
- package/bin/skills/lakehouse-doc/references/cache-command.md +39 -0
- package/bin/skills/lakehouse-doc/references/cancel-job.md +51 -0
- package/bin/skills/lakehouse-doc/references/cardinality_array.md +45 -0
- package/bin/skills/lakehouse-doc/references/charge_analysis_with_lakehouse_mcp_server.md +393 -0
- package/bin/skills/lakehouse-doc/references/clone-doc.md +111 -0
- package/bin/skills/lakehouse-doc/references/cloud_object_storage.md +1 -0
- package/bin/skills/lakehouse-doc/references/cluster-table-guide.md +68 -0
- package/bin/skills/lakehouse-doc/references/cluster-table.md +64 -0
- package/bin/skills/lakehouse-doc/references/composite_task.md +178 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_3rd_tools.md +11 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_dbv_sql_put.md +48 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_environment_and_data_generate.md +627 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_javasdk_buckload_realtime.md +740 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_kafka_realtime_sync.md +71 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_local_file_into_table_by_studio.md +64 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_overview.md +66 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_pipe_kafka.md +7 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_pipe_oss.md +7 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_studio_batchload_public_network.md +52 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_studio_python_node.md +111 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_studio_realtime_cdc_public_network.md +249 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_studio_sql_insert.md +180 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_zettapark_put_file_to_lake.md +206 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_zettapark_save_as_table.md +79 -0
- package/bin/skills/lakehouse-doc/references/comprehensive_guide_to_ingesting_zettapark_sql_insert.md +113 -0
- package/bin/skills/lakehouse-doc/references/computation.md +6 -0
- package/bin/skills/lakehouse-doc/references/concurrency_scaling.md +57 -0
- package/bin/skills/lakehouse-doc/references/config-datasource.md +79 -0
- package/bin/skills/lakehouse-doc/references/config_volume_dify_storage.md +254 -0
- package/bin/skills/lakehouse-doc/references/connect-with-cli.md +155 -0
- package/bin/skills/lakehouse-doc/references/connect_to_Lakehouse.md +1 -0
- package/bin/skills/lakehouse-doc/references/connection-guide.md +61 -0
- package/bin/skills/lakehouse-doc/references/continue-job.md +260 -0
- package/bin/skills/lakehouse-doc/references/conversational_analytics_datagpt.md +1 -0
- package/bin/skills/lakehouse-doc/references/copy-into-table.md +398 -0
- package/bin/skills/lakehouse-doc/references/cos_storage_connection.md +73 -0
- package/bin/skills/lakehouse-doc/references/cos_volume_creation.md +39 -0
- package/bin/skills/lakehouse-doc/references/cost_management.md +1 -0
- package/bin/skills/lakehouse-doc/references/create-api-connection.md +363 -0
- package/bin/skills/lakehouse-doc/references/create-catalog-connection.md +220 -0
- package/bin/skills/lakehouse-doc/references/create-dynamic-table.md +910 -0
- package/bin/skills/lakehouse-doc/references/create-external-catalog.md +305 -0
- package/bin/skills/lakehouse-doc/references/create-external-table.md +78 -0
- package/bin/skills/lakehouse-doc/references/create-hive-catalog.md +77 -0
- package/bin/skills/lakehouse-doc/references/create-inverted-index.md +163 -0
- package/bin/skills/lakehouse-doc/references/create-kafka-external.md +300 -0
- package/bin/skills/lakehouse-doc/references/create-schema-from-share.md +45 -0
- package/bin/skills/lakehouse-doc/references/create-share.md +46 -0
- package/bin/skills/lakehouse-doc/references/create-sql-function.md +120 -0
- package/bin/skills/lakehouse-doc/references/create-storage-connection.md +346 -0
- package/bin/skills/lakehouse-doc/references/create-synonym.md +75 -0
- package/bin/skills/lakehouse-doc/references/create-table-ddl.md +405 -0
- package/bin/skills/lakehouse-doc/references/create-table-stream.md +226 -0
- package/bin/skills/lakehouse-doc/references/create-vector-index.md +115 -0
- package/bin/skills/lakehouse-doc/references/create.md +46 -0
- package/bin/skills/lakehouse-doc/references/create_cluster.md +121 -0
- package/bin/skills/lakehouse-doc/references/creating_alicloud_privatelinkendpoint.md +37 -0
- package/bin/skills/lakehouse-doc/references/creating_alicloud_privatelinkservice.md +31 -0
- package/bin/skills/lakehouse-doc/references/creating_tencentcloud_privatelinkendpoint.md +33 -0
- package/bin/skills/lakehouse-doc/references/creating_tencentcloud_privatelinkservice.md +19 -0
- package/bin/skills/lakehouse-doc/references/czguide-intro-to-cdc-using-clickzetta-rtsync-dynamic-tables.md +717 -0
- package/bin/skills/lakehouse-doc/references/data-catalog.md +1 -0
- package/bin/skills/lakehouse-doc/references/data-integration-intro.md +60 -0
- package/bin/skills/lakehouse-doc/references/data-integration.md +10 -0
- package/bin/skills/lakehouse-doc/references/data-lifecycle.md +46 -0
- package/bin/skills/lakehouse-doc/references/data-load-summary.md +71 -0
- package/bin/skills/lakehouse-doc/references/data-mamager-tool.md +1 -0
- package/bin/skills/lakehouse-doc/references/data-recover.md +52 -0
- package/bin/skills/lakehouse-doc/references/data-type.md +1 -0
- package/bin/skills/lakehouse-doc/references/data-types-timestamp-ntz.md +139 -0
- package/bin/skills/lakehouse-doc/references/data.md +1 -0
- package/bin/skills/lakehouse-doc/references/data_catalog.md +106 -0
- package/bin/skills/lakehouse-doc/references/data_clean_with_sql.md +406 -0
- package/bin/skills/lakehouse-doc/references/data_ecosystem.md +1 -0
- package/bin/skills/lakehouse-doc/references/data_ops.md +7 -0
- package/bin/skills/lakehouse-doc/references/data_org.md +1 -0
- package/bin/skills/lakehouse-doc/references/data_privacy.md +50 -0
- package/bin/skills/lakehouse-doc/references/data_result_profile.md +22 -0
- package/bin/skills/lakehouse-doc/references/data_security.md +1 -0
- package/bin/skills/lakehouse-doc/references/data_sharing_between_accounts_guide.md +331 -0
- package/bin/skills/lakehouse-doc/references/data_transfer_datalake.md +1 -0
- package/bin/skills/lakehouse-doc/references/data_visualization.md +96 -0
- package/bin/skills/lakehouse-doc/references/databricks_yunqi_integration_guide_v2.md +811 -0
- package/bin/skills/lakehouse-doc/references/datagpt_bestpractice.md +1 -0
- package/bin/skills/lakehouse-doc/references/datagpt_data_source.md +58 -0
- package/bin/skills/lakehouse-doc/references/datagpt_get_accurate_answers.md +34 -0
- package/bin/skills/lakehouse-doc/references/datagpt_intro.md +1 -0
- package/bin/skills/lakehouse-doc/references/datagpt_quickstart.md +94 -0
- package/bin/skills/lakehouse-doc/references/datagpt_tutorial.md +1 -0
- package/bin/skills/lakehouse-doc/references/datalake_FAQ.md +54 -0
- package/bin/skills/lakehouse-doc/references/datalake_overview.md +17 -0
- package/bin/skills/lakehouse-doc/references/datalake_privilege.md +55 -0
- package/bin/skills/lakehouse-doc/references/datalake_query_ingest.md +18 -0
- package/bin/skills/lakehouse-doc/references/datalake_unstructure_data.md +3 -0
- package/bin/skills/lakehouse-doc/references/datalake_volume.md +92 -0
- package/bin/skills/lakehouse-doc/references/datalake_volume_anlytics.md +1 -0
- package/bin/skills/lakehouse-doc/references/datalake_volume_object.md +1 -0
- package/bin/skills/lakehouse-doc/references/dataops_practice.md +105 -0
- package/bin/skills/lakehouse-doc/references/datasharing.md +322 -0
- package/bin/skills/lakehouse-doc/references/datasharing_catalog.md +1 -0
- package/bin/skills/lakehouse-doc/references/datasource_ip_whitelist.md +93 -0
- package/bin/skills/lakehouse-doc/references/datasources.md +62 -0
- package/bin/skills/lakehouse-doc/references/datatype-cast.md +105 -0
- package/bin/skills/lakehouse-doc/references/datatype-conversion.md +85 -0
- package/bin/skills/lakehouse-doc/references/datetime_patterns.md +61 -0
- package/bin/skills/lakehouse-doc/references/datus_lakehouse_installation.md +376 -0
- package/bin/skills/lakehouse-doc/references/datus_lakehouse_solution_overview.md +148 -0
- package/bin/skills/lakehouse-doc/references/db_dw_connection.md +1 -0
- package/bin/skills/lakehouse-doc/references/default-value.md +89 -0
- package/bin/skills/lakehouse-doc/references/delta-lake.md +185 -0
- package/bin/skills/lakehouse-doc/references/desc-catalog-table.md +33 -0
- package/bin/skills/lakehouse-doc/references/desc-catalog.md +31 -0
- package/bin/skills/lakehouse-doc/references/desc-dynamic-table.md +62 -0
- package/bin/skills/lakehouse-doc/references/desc-external-schemas.md +66 -0
- package/bin/skills/lakehouse-doc/references/desc-external-table.md +70 -0
- package/bin/skills/lakehouse-doc/references/desc-function.md +16 -0
- package/bin/skills/lakehouse-doc/references/desc-history-dynamic-table.md +50 -0
- package/bin/skills/lakehouse-doc/references/desc-history-table.md +73 -0
- package/bin/skills/lakehouse-doc/references/desc-history.md +73 -0
- package/bin/skills/lakehouse-doc/references/desc-share.md +59 -0
- package/bin/skills/lakehouse-doc/references/desc-table-stream.md +44 -0
- package/bin/skills/lakehouse-doc/references/desc-vcluster.md +42 -0
- package/bin/skills/lakehouse-doc/references/describe.md +38 -0
- package/bin/skills/lakehouse-doc/references/dify_config_lakehouse_as_vectordb.md +286 -0
- package/bin/skills/lakehouse-doc/references/dify_yunqilakehouse_integration_overview.md +188 -0
- package/bin/skills/lakehouse-doc/references/discovery_analysis_data_in_json_file_on_external_volume.md +625 -0
- package/bin/skills/lakehouse-doc/references/discovery_analysis_data_in_parquert_file_on_external_volume.md +599 -0
- package/bin/skills/lakehouse-doc/references/download-data.md +1 -0
- package/bin/skills/lakehouse-doc/references/drop-dynamic-table.md +46 -0
- package/bin/skills/lakehouse-doc/references/drop-external-schema.md +44 -0
- package/bin/skills/lakehouse-doc/references/drop-external-table.md +43 -0
- package/bin/skills/lakehouse-doc/references/drop-function.md +36 -0
- package/bin/skills/lakehouse-doc/references/drop-share.md +43 -0
- package/bin/skills/lakehouse-doc/references/drop-synonym.md +35 -0
- package/bin/skills/lakehouse-doc/references/drop-table-stream.md +42 -0
- package/bin/skills/lakehouse-doc/references/drop-vcluster.md +52 -0
- package/bin/skills/lakehouse-doc/references/drop.md +32 -0
- package/bin/skills/lakehouse-doc/references/dynamic-mask.md +201 -0
- package/bin/skills/lakehouse-doc/references/dynamic-table-incre.md +62 -0
- package/bin/skills/lakehouse-doc/references/dynamic-table-introduce.md +339 -0
- package/bin/skills/lakehouse-doc/references/dynamicTable-DML-sql.md +52 -0
- package/bin/skills/lakehouse-doc/references/dynamicTable-dml.md +48 -0
- package/bin/skills/lakehouse-doc/references/dynamicTable-parmaters.md +425 -0
- package/bin/skills/lakehouse-doc/references/dynamic_table_summary.md +366 -0
- package/bin/skills/lakehouse-doc/references/dynamic_table_task.md +73 -0
- package/bin/skills/lakehouse-doc/references/dynamic_table_using_studio.md +159 -0
- package/bin/skills/lakehouse-doc/references/dynamictable.md +56 -0
- package/bin/skills/lakehouse-doc/references/eco_integration/Zeppelin.md +84 -0
- package/bin/skills/lakehouse-doc/references/eco_integration/airbyte.md +75 -0
- package/bin/skills/lakehouse-doc/references/eco_integration/datagrip-lakehouse.md +56 -0
- package/bin/skills/lakehouse-doc/references/eco_integration/datax.md +154 -0
- package/bin/skills/lakehouse-doc/references/eco_integration/dbeaver-lakehouse.md +67 -0
- package/bin/skills/lakehouse-doc/references/eco_integration/dbt.md +139 -0
- package/bin/skills/lakehouse-doc/references/eco_integration/rath.md +87 -0
- package/bin/skills/lakehouse-doc/references/eco_integration/sqlline.md +82 -0
- package/bin/skills/lakehouse-doc/references/eco_integration/sqlworkbench-j-lakehouse.md +54 -0
- package/bin/skills/lakehouse-doc/references/eco_integration/streamlit.md +117 -0
- package/bin/skills/lakehouse-doc/references/eco_integration/superset.md +109 -0
- package/bin/skills/lakehouse-doc/references/eco_integration/trino.md +75 -0
- package/bin/skills/lakehouse-doc/references/ecosystem-all.md +24 -0
- package/bin/skills/lakehouse-doc/references/export_data_with_data-integration.md +3 -0
- package/bin/skills/lakehouse-doc/references/external-Volume.md +10 -0
- package/bin/skills/lakehouse-doc/references/external-catalog-summary.md +42 -0
- package/bin/skills/lakehouse-doc/references/external-function-summary.md +0 -0
- package/bin/skills/lakehouse-doc/references/external-hudi-table.md +187 -0
- package/bin/skills/lakehouse-doc/references/external-table-guide.md +96 -0
- package/bin/skills/lakehouse-doc/references/external_object_user_guide.md +298 -0
- package/bin/skills/lakehouse-doc/references/external_volume.md +1 -0
- package/bin/skills/lakehouse-doc/references/f6fc6447ee.md +151 -0
- package/bin/skills/lakehouse-doc/references/federation-query.md +1 -0
- package/bin/skills/lakehouse-doc/references/finebi-mysql.md +104 -0
- package/bin/skills/lakehouse-doc/references/flink-write-connector.md +695 -0
- package/bin/skills/lakehouse-doc/references/from_lakehouse_to_volume.md +98 -0
- package/bin/skills/lakehouse-doc/references/from_volume_to_table.md +45 -0
- package/bin/skills/lakehouse-doc/references/fulltext_indexes_guide.md +1180 -0
- package/bin/skills/lakehouse-doc/references/generated-column.md +113 -0
- package/bin/skills/lakehouse-doc/references/generated_columns_guide.md +847 -0
- package/bin/skills/lakehouse-doc/references/geospatial_analysis.md +558 -0
- package/bin/skills/lakehouse-doc/references/get-started-with-sample-data.md +83 -0
- package/bin/skills/lakehouse-doc/references/getting_started_with_vcluster_for_processing_analytics.md +471 -0
- package/bin/skills/lakehouse-doc/references/grant-to-share.md +55 -0
- package/bin/skills/lakehouse-doc/references/grant-user-privileges.md +100 -0
- package/bin/skills/lakehouse-doc/references/groupby.md +1260 -0
- package/bin/skills/lakehouse-doc/references/guides-overview-connecting.md +46 -0
- package/bin/skills/lakehouse-doc/references/ide.md +2 -0
- package/bin/skills/lakehouse-doc/references/ifnull.md +72 -0
- package/bin/skills/lakehouse-doc/references/ilike.md +89 -0
- package/bin/skills/lakehouse-doc/references/import_data_with_data-integration.md +3 -0
- package/bin/skills/lakehouse-doc/references/importdatabypythonintoLakehouse.md +134 -0
- package/bin/skills/lakehouse-doc/references/index2.md +1 -0
- package/bin/skills/lakehouse-doc/references/instance-informaiton-schema-summary.md +51 -0
- package/bin/skills/lakehouse-doc/references/instance-informaiton-schema.md +278 -0
- package/bin/skills/lakehouse-doc/references/instance-information_schema.md +1 -0
- package/bin/skills/lakehouse-doc/references/internal_volume.md +271 -0
- package/bin/skills/lakehouse-doc/references/intro-supported-features.md +48 -0
- package/bin/skills/lakehouse-doc/references/inverted-index.md +445 -0
- package/bin/skills/lakehouse-doc/references/inverted_idx_bm25_param.md +251 -0
- package/bin/skills/lakehouse-doc/references/inverted_idx_multi-match.md +89 -0
- package/bin/skills/lakehouse-doc/references/is-null.md +59 -0
- package/bin/skills/lakehouse-doc/references/it-operation-management.md +1 -0
- package/bin/skills/lakehouse-doc/references/java_reference/client.md +49 -0
- package/bin/skills/lakehouse-doc/references/java_reference/java-sdk-release-notes.md +32 -0
- package/bin/skills/lakehouse-doc/references/java_reference/java-sdk-summary.md +138 -0
- package/bin/skills/lakehouse-doc/references/java_reference/jdbc.md +211 -0
- package/bin/skills/lakehouse-doc/references/java_reference/realtime-upload.md +295 -0
- package/bin/skills/lakehouse-doc/references/jdbc_task.md +37 -0
- package/bin/skills/lakehouse-doc/references/job-manage.md +1 -0
- package/bin/skills/lakehouse-doc/references/job_history_analysis_with_information_schema.md +597 -0
- package/bin/skills/lakehouse-doc/references/jobprofile-bestpractices.md +104 -0
- package/bin/skills/lakehouse-doc/references/json_analyze.md +422 -0
- package/bin/skills/lakehouse-doc/references/json_data_process_guide.md +881 -0
- package/bin/skills/lakehouse-doc/references/json_guide_for_complex_biz_cases.md +1899 -0
- package/bin/skills/lakehouse-doc/references/kafka-external-table.md +103 -0
- package/bin/skills/lakehouse-doc/references/lakehouse-ai.md +1 -0
- package/bin/skills/lakehouse-doc/references/lakehouse-quick-experience_guide.md +964 -0
- package/bin/skills/lakehouse-doc/references/lakehouse-table-stream-best-practices.md +500 -0
- package/bin/skills/lakehouse-doc/references/lakehouse_billing_anomaly_alert_configuration_guide.md +226 -0
- package/bin/skills/lakehouse-doc/references/lakehouse_instance_overview.md +39 -0
- package/bin/skills/lakehouse-doc/references/lakehouse_table_design_guide.md +2676 -0
- package/bin/skills/lakehouse-doc/references/langchain.md +71 -0
- package/bin/skills/lakehouse-doc/references/langchain_basic_samples.md +606 -0
- package/bin/skills/lakehouse-doc/references/langchain_integration.md +1 -0
- package/bin/skills/lakehouse-doc/references/left.md +51 -0
- package/bin/skills/lakehouse-doc/references/like.md +115 -0
- package/bin/skills/lakehouse-doc/references/list-partition.md +121 -0
- package/bin/skills/lakehouse-doc/references/llama-index.md +57 -0
- package/bin/skills/lakehouse-doc/references/llms-full.txt +1286 -0
- package/bin/skills/lakehouse-doc/references/llms.txt +71 -0
- package/bin/skills/lakehouse-doc/references/load-data-local.md +82 -0
- package/bin/skills/lakehouse-doc/references/load-data-oss.md +174 -0
- package/bin/skills/lakehouse-doc/references/management.md +5 -0
- package/bin/skills/lakehouse-doc/references/managing-instance.md +67 -0
- package/bin/skills/lakehouse-doc/references/mapjoin.md +62 -0
- package/bin/skills/lakehouse-doc/references/materialized_ddl.md +1 -0
- package/bin/skills/lakehouse-doc/references/meta-objects-and-privileges.md +271 -0
- package/bin/skills/lakehouse-doc/references/metabase.md +73 -0
- package/bin/skills/lakehouse-doc/references/metadata_show_desc_command_guide.md +711 -0
- package/bin/skills/lakehouse-doc/references/metrics_answer_build.md +46 -0
- package/bin/skills/lakehouse-doc/references/mindsdb.md +269 -0
- package/bin/skills/lakehouse-doc/references/monitoring_and_alerting.md +177 -0
- package/bin/skills/lakehouse-doc/references/monitoring_item_specification.md +44 -0
- package/bin/skills/lakehouse-doc/references/multi_cloud_instance_manage_with_mcp_server.md +281 -0
- package/bin/skills/lakehouse-doc/references/multitable_batch_sync.md +463 -0
- package/bin/skills/lakehouse-doc/references/multitable_realtime_sync.md +412 -0
- package/bin/skills/lakehouse-doc/references/multitable_realtime_sync_sop.md +593 -0
- package/bin/skills/lakehouse-doc/references/n8n_Integreated_with_lakehouse_mcp_server.md +494 -0
- package/bin/skills/lakehouse-doc/references/navicat-mysql.md +65 -0
- package/bin/skills/lakehouse-doc/references/network_policy.md +281 -0
- package/bin/skills/lakehouse-doc/references/nyc_green_taxi_data_clean_transform_with_mcp_server.md +315 -0
- package/bin/skills/lakehouse-doc/references/object-model-overview.md +70 -0
- package/bin/skills/lakehouse-doc/references/object_identifier.md +259 -0
- package/bin/skills/lakehouse-doc/references/object_model_design.md +1 -0
- package/bin/skills/lakehouse-doc/references/opensource/travel.md +134 -0
- package/bin/skills/lakehouse-doc/references/operation-maintenance.md +172 -0
- package/bin/skills/lakehouse-doc/references/oss_volume_creation.md +39 -0
- package/bin/skills/lakehouse-doc/references/partition_table.md +344 -0
- package/bin/skills/lakehouse-doc/references/partition_table_guide.md +340 -0
- package/bin/skills/lakehouse-doc/references/performance_optimization.md +1 -0
- package/bin/skills/lakehouse-doc/references/performence_test.md +1 -0
- package/bin/skills/lakehouse-doc/references/permissions-of-built-in-workspace-level-roles.md +131 -0
- package/bin/skills/lakehouse-doc/references/pipe-kafka-bestpractice-1.md +431 -0
- package/bin/skills/lakehouse-doc/references/pipe-kafka-table-stream.md +180 -0
- package/bin/skills/lakehouse-doc/references/pipe-kafka.md +210 -0
- package/bin/skills/lakehouse-doc/references/pipe-storage-object.md +247 -0
- package/bin/skills/lakehouse-doc/references/pipe-summary.md +114 -0
- package/bin/skills/lakehouse-doc/references/pipe-syntax.md +200 -0
- package/bin/skills/lakehouse-doc/references/practice_data_analysis.md +1 -0
- package/bin/skills/lakehouse-doc/references/practice_data_import_and_export.md +1 -0
- package/bin/skills/lakehouse-doc/references/practice_python_task.md +157 -0
- package/bin/skills/lakehouse-doc/references/pricing.md +225 -0
- package/bin/skills/lakehouse-doc/references/primary key.md +86 -0
- package/bin/skills/lakehouse-doc/references/primary-key.md +187 -0
- package/bin/skills/lakehouse-doc/references/privacy-policy.md +364 -0
- package/bin/skills/lakehouse-doc/references/private-link-general.md +68 -0
- package/bin/skills/lakehouse-doc/references/private_link.md +1 -0
- package/bin/skills/lakehouse-doc/references/product-trial-agreement.md +99 -0
- package/bin/skills/lakehouse-doc/references/product_concept.md +1 -0
- package/bin/skills/lakehouse-doc/references/put-get.md +1 -0
- package/bin/skills/lakehouse-doc/references/put_get_volume.md +3 -0
- package/bin/skills/lakehouse-doc/references/python-igs.md +297 -0
- package/bin/skills/lakehouse-doc/references/python_package_install_import_guide.md +53 -0
- package/bin/skills/lakehouse-doc/references/python_reference/connector.md +281 -0
- package/bin/skills/lakehouse-doc/references/python_reference/python-sdk-summary.md +13 -0
- package/bin/skills/lakehouse-doc/references/python_reference/sqlalchemy.md +77 -0
- package/bin/skills/lakehouse-doc/references/python_shell_datasource.md +334 -0
- package/bin/skills/lakehouse-doc/references/query-json-sy.md +47 -0
- package/bin/skills/lakehouse-doc/references/query-syntax.md +234 -0
- package/bin/skills/lakehouse-doc/references/quick_start_batch_sync_data.md +116 -0
- package/bin/skills/lakehouse-doc/references/quick_start_bi_analysis.md +589 -0
- package/bin/skills/lakehouse-doc/references/quick_start_create_workspace.md +58 -0
- package/bin/skills/lakehouse-doc/references/quick_start_data_quality.md +75 -0
- package/bin/skills/lakehouse-doc/references/quick_start_etl.md +131 -0
- package/bin/skills/lakehouse-doc/references/quick_start_monitoring_and_alerting.md +93 -0
- package/bin/skills/lakehouse-doc/references/quick_start_sql_query.md +93 -0
- package/bin/skills/lakehouse-doc/references/quick_start_upload_data.md +69 -0
- package/bin/skills/lakehouse-doc/references/quick_start_user_management.md +73 -0
- package/bin/skills/lakehouse-doc/references/quick_start_workspace.md +72 -0
- package/bin/skills/lakehouse-doc/references/quick_start_workspace_user.md +67 -0
- package/bin/skills/lakehouse-doc/references/quickstart_datashare_between_companies.md +249 -0
- package/bin/skills/lakehouse-doc/references/quickstart_envirment_for_team.md +271 -0
- package/bin/skills/lakehouse-doc/references/quickstart_local_csv.md +99 -0
- package/bin/skills/lakehouse-doc/references/realtime_sync.md +36 -0
- package/bin/skills/lakehouse-doc/references/realtime_sync_and_analysis_practice.md +187 -0
- package/bin/skills/lakehouse-doc/references/realtimesync_m.md +190 -0
- package/bin/skills/lakehouse-doc/references/refresh-history.md +63 -0
- package/bin/skills/lakehouse-doc/references/regexp-statement.md +80 -0
- package/bin/skills/lakehouse-doc/references/releasenotes.md +1 -0
- package/bin/skills/lakehouse-doc/references/releasenotesupdata.md +1 -0
- package/bin/skills/lakehouse-doc/references/remove-volume.md +32 -0
- package/bin/skills/lakehouse-doc/references/restore-dynamic-table.md +126 -0
- package/bin/skills/lakehouse-doc/references/restore.md +127 -0
- package/bin/skills/lakehouse-doc/references/result_cache.md +102 -0
- package/bin/skills/lakehouse-doc/references/revoke-from-share.md +48 -0
- package/bin/skills/lakehouse-doc/references/revoke-user-privileges.md +91 -0
- package/bin/skills/lakehouse-doc/references/right.md +84 -0
- package/bin/skills/lakehouse-doc/references/rlike.md +78 -0
- package/bin/skills/lakehouse-doc/references/rn_2024_11_12.md +63 -0
- package/bin/skills/lakehouse-doc/references/role-privlilige-manage.md +1 -0
- package/bin/skills/lakehouse-doc/references/roles.md +123 -0
- package/bin/skills/lakehouse-doc/references/rom_lakehouse_to_volume.md +1 -0
- package/bin/skills/lakehouse-doc/references/s3_volume_creation.md +37 -0
- package/bin/skills/lakehouse-doc/references/sample-data-using.md +768 -0
- package/bin/skills/lakehouse-doc/references/security_compliance_audit_guide.md +1 -0
- package/bin/skills/lakehouse-doc/references/security_overview.md +41 -0
- package/bin/skills/lakehouse-doc/references/select-catalog-table.md +26 -0
- package/bin/skills/lakehouse-doc/references/semantic_view.md +711 -0
- package/bin/skills/lakehouse-doc/references/setup.md +33 -0
- package/bin/skills/lakehouse-doc/references/share-ddl.md +1 -0
- package/bin/skills/lakehouse-doc/references/show-cached-status.md +34 -0
- package/bin/skills/lakehouse-doc/references/show-catalog-schema.md +48 -0
- package/bin/skills/lakehouse-doc/references/show-catalog-table.md +22 -0
- package/bin/skills/lakehouse-doc/references/show-catalog.md +26 -0
- package/bin/skills/lakehouse-doc/references/show-columns.md +75 -0
- package/bin/skills/lakehouse-doc/references/show-create-dynamic-table.md +44 -0
- package/bin/skills/lakehouse-doc/references/show-create-external-table.md +45 -0
- package/bin/skills/lakehouse-doc/references/show-create-materialized-view.md +43 -0
- package/bin/skills/lakehouse-doc/references/show-create-table.md +107 -0
- package/bin/skills/lakehouse-doc/references/show-dynamic-table.md +68 -0
- package/bin/skills/lakehouse-doc/references/show-external-schemas.md +35 -0
- package/bin/skills/lakehouse-doc/references/show-external-table.md +38 -0
- package/bin/skills/lakehouse-doc/references/show-finctions.md +25 -0
- package/bin/skills/lakehouse-doc/references/show-functions.md +44 -0
- package/bin/skills/lakehouse-doc/references/show-grants-user.md +41 -0
- package/bin/skills/lakehouse-doc/references/show-jobs.md +48 -0
- package/bin/skills/lakehouse-doc/references/show-materialized-view.md +42 -0
- package/bin/skills/lakehouse-doc/references/show-schemas.md +41 -0
- package/bin/skills/lakehouse-doc/references/show-shares.md +94 -0
- package/bin/skills/lakehouse-doc/references/show-synonyms.md +29 -0
- package/bin/skills/lakehouse-doc/references/show-table-streams.md +53 -0
- package/bin/skills/lakehouse-doc/references/show-tables-history.md +91 -0
- package/bin/skills/lakehouse-doc/references/show-tables.md +50 -0
- package/bin/skills/lakehouse-doc/references/show-users.md +46 -0
- package/bin/skills/lakehouse-doc/references/show-vclusters.md +59 -0
- package/bin/skills/lakehouse-doc/references/show-views.md +31 -0
- package/bin/skills/lakehouse-doc/references/show-volume.md +57 -0
- package/bin/skills/lakehouse-doc/references/show.md +168 -0
- package/bin/skills/lakehouse-doc/references/simpletosimple_bazhuayu_datagpt.md +152 -0
- package/bin/skills/lakehouse-doc/references/small_file_optimization.md +101 -0
- package/bin/skills/lakehouse-doc/references/spark-connector-summary.md +329 -0
- package/bin/skills/lakehouse-doc/references/spark-connector-use.md +233 -0
- package/bin/skills/lakehouse-doc/references/sql-parmaters.md +594 -0
- package/bin/skills/lakehouse-doc/references/sql-qualify.md +236 -0
- package/bin/skills/lakehouse-doc/references/sql-reference.md +1 -0
- package/bin/skills/lakehouse-doc/references/sql_data_transfom_NestedDataTypes.md +451 -0
- package/bin/skills/lakehouse-doc/references/sql_data_transform.md +1 -0
- package/bin/skills/lakehouse-doc/references/sql_data_transform_basic.md +576 -0
- package/bin/skills/lakehouse-doc/references/sql_data_transform_cte.md +177 -0
- package/bin/skills/lakehouse-doc/references/sql_data_transform_tips.md +407 -0
- package/bin/skills/lakehouse-doc/references/sql_data_transform_windows.md +430 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/any_value.md +64 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/approx_count_distinct.md +45 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/approx_histogram.md +56 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/approx_percentile.md +65 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/approx_top_k.md +62 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/avg.md +68 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/bit_and.md +81 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/bit_or.md +78 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/bit_xor.md +79 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/bool_and.md +85 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/bool_or.md +86 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/collect_list.md +95 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/collect_list_on_array.md +64 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/collect_set.md +85 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/collect_set_on_array.md +80 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/corr.md +103 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/count.md +96 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/count_distinct.md +96 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/count_if.md +62 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/covar_pop.md +89 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/covar_samp.md +113 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/first_value.md +122 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap.md +42 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_and.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_and_state.md +47 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_merge.md +37 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_merge_state.md +29 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_or.md +44 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_or_state.md +64 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_state.md +27 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_xor.md +45 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_bitmap_xor_state.md +99 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/group_concat.md +53 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/last_value.md +100 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/map_agg.md +79 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/max.md +102 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/max_by.md +67 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/median.md +60 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/min.md +89 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/min_by.md +99 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/percentile.md +69 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/percentile_approx.md +33 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/percentile_rank.md +36 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/std.md +47 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/stddev.md +68 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/stddev_pop.md +67 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/stddev_samp.md +67 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/sum.md +67 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/var_pop.md +65 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/var_samp.md +65 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/variance.md +47 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/aggregate_functions/wm_concat.md +79 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_instance_id.md +16 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_schema.md +29 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_session_id.md +30 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_user.md +29 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_user_id.md +21 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_vcluster.md +40 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_workspace.md +19 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/context_functions/current_workspace_id.md +24 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/binary_to_bitmap.md +29 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_and.md +39 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_and_cardinality.md +48 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_andnot.md +61 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_andnot_cardinality.md +60 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_build.md +58 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_cardinality.md +43 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_contains.md +50 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_count.md +45 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_empty.md +52 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_has_all.md +49 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_has_any.md +65 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_hash.md +52 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_max.md +26 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_min.md +33 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_or.md +61 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_or_cardinality.md +27 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_remove.md +42 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_subset_in_range.md +60 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_subset_limit.md +36 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_to_array.md +24 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_to_binary.md +28 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_to_string.md +41 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_transform.md +42 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_xor.md +59 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/bitmap_xor_cardinality.md +30 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/string_to_bitmap.md +56 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/sub_bitmap.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitmap_functions/to_bitmap.md +78 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitwise_functions/bit_count.md +43 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/bitwise_functions/bitnot.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/assert_true.md +44 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/between.md +52 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/case_when.md +99 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/coalesce.md +51 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/decode.md +45 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/if.md +56 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/in.md +33 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/is_false.md +63 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/is_not_null.md +40 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/is_null.md +44 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/is_true.md +63 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/multiif.md +54 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/nvl.md +39 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/conditional_functions/raise_error.md +52 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/add_days.md +65 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/add_months.md +38 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/add_years.md +61 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/adddate.md +53 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/convert_timezone.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/current_date.md +56 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/current_timestamp.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date.md +42 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date_add.md +35 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date_format.md +48 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date_format_mysql.md +58 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date_format_pg.md +54 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date_sub.md +58 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/date_trunc.md +61 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/dateadd.md +60 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/datediff.md +50 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/datetime_patterns.md +61 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/day.md +53 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/dayofmonth.md +36 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/dayofweek.md +31 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/dayofweek_iso.md +56 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/dayofyear.md +40 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/days.md +21 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/extract.md +49 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/from_unixtime.md +43 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/from_utc_timestamp.md +45 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/hour.md +49 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/hours.md +21 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/last_day.md +35 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/localtimestamp.md +19 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/makde_date.md +20 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/make_date.md +20 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/make_dt_interval.md +66 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/make_ym_interval.md +53 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/minute.md +49 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/month.md +39 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/months.md +21 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/months_between.md +18 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/next_day.md +16 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/now.md +53 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/quarter.md +52 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/second.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/str_to_date_mysql.md +42 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/sub_days.md +66 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/timestamp_micros.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/timestamp_millis.md +54 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/timestamp_seconds.md +62 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/timestampadd.md +59 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/timestampdiff.md +78 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_date.md +43 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_start_of_interval.md +25 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_timestamp.md +66 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_timestamp_ntz.md +52 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_unix_timestamp.md +59 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_unix_timestamp_ms.md +45 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_unix_timestamp_us.md +40 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/to_utc_timestamp.md +62 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/toyyyymmdd.md +69 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/trunc.md +38 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/unix_timestamp.md +96 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/week.md +31 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/weekday.md +51 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/weekofyear.md +29 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/year.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/yearofweek.md +64 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/datetime_functions/years.md +21 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/geo_functions/st_geohash.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/geo_functions/st_latfromgeohash.md +59 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/geo_functions/st_longfromgeohash.md +53 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/hash_functions/bucket.md +33 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/hash_functions/general_hash.md +49 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/hash_functions/hash_combine.md +37 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/hash_functions/hash_combine_commutative.md +54 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/hash_functions/murmurhash.md +36 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/array_sort_by_key.md +42 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/element_at.md +59 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/exists.md +48 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/filter.md +37 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/forall.md +68 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/high_order_functions.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/map_filter.md +25 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/map_zip_with.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/transform.md +48 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/transform_keys.md +48 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/transform_values.md +36 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/high_order_functions/zip_with.md +38 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/ip_functions/get_ip_info.md +199 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/ip_functions/ipv4_num_to_string.md +29 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/ip_functions/ipv4_string_to_num.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/ip_functions/ipv6_num_to_string.md +35 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/ip_functions/ipv6_string_to_num.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/ip_functions/is_ip_address_in_range.md +42 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/from_json.md +86 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/get_json_object.md +83 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_array.md +30 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_contains.md +86 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_extract.md +64 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_minify.md +28 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_normalize.md +36 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_object.md +37 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_parse.md +59 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_remove.md +36 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_type.md +44 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/json_valid.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/schema_of_json.md +79 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/json_functions/to_json.md +68 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/abs.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/acos.md +30 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/acosh.md +39 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/asin.md +39 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/asinh.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/atan.md +27 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/atan2.md +43 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/atanh.md +24 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/bround.md +43 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/cbrt.md +56 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/ceil.md +45 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/ceilling.md +47 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/cos.md +41 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/cosh.md +41 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/cot.md +49 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/csc.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/degrees.md +42 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/div.md +28 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/e.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/exp.md +32 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/exp2.md +36 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/expm1.md +54 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/floor.md +41 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/greatest.md +36 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/hypot.md +37 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/isnan.md +27 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/least.md +38 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/ln.md +57 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/log.md +39 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/log10.md +47 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/log1p.md +48 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/log2.md +28 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/median.md +25 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/mod.md +35 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/monotonically_increasing_id.md +81 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/negative.md +15 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/operators.md +427 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/pi.md +41 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/pmod.md +31 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/positive.md +15 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/pow.md +39 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/radians.md +30 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/rand.md +39 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/randn.md +26 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/random.md +67 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/round.md +48 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/shiftleft.md +67 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/shiftright.md +70 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/shiftrightunsigned.md +70 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/sign.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/sin.md +67 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/sinh.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/sqrt.md +40 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/tan.md +42 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/math_functions/tanh.md +38 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_append.md +26 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_compact.md +29 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_contains.md +38 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_distinct.md +43 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_except.md +35 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_intersect.md +39 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_join.md +51 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_max.md +57 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_min.md +60 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_position.md +50 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_prepend.md +26 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_remove.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_repeat.md +51 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_size.md +32 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_sort.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_sort_reverse.md +31 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/array_union.md +36 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/arrays_overlap.md +41 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/arrays_zip.md +50 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/cardinality.md +45 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/concat.md +49 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/concat_ws.md +73 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/element_at.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/flatten.md +62 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map.md +44 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_concat.md +38 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_contains_key.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_entries.md +44 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_equal.md +33 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_except.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_from_arrays.md +28 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_from_entries.md +52 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_keys.md +37 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/map_values.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/multimap_from_entries.md +47 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/named_struct.md +55 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/sequence.md +35 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/size.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/slice.md +43 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/sort_array.md +22 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/struct.md +35 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/struct_insert.md +54 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/struct_update.md +42 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/nested_functions/trans_array.md +147 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/partition/max_pt.md +41 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/search_functions/match_all.md +56 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/search_functions/match_any.md +50 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/search_functions/match_phrase.md +65 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/search_functions/match_phrase_prefix.md +36 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/search_functions/match_regexp.md +30 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/search_functions/tokenize.md +57 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/aes_decrypt.md +40 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/aes_decrypt_mysql.md +30 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/aes_encrypt.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/aes_encrypt_mysql.md +53 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/ascii.md +36 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/base64.md +27 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/binary.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/btrim.md +38 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/char.md +55 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/char_length.md +52 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/character_length.md +52 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/chr.md +26 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/collation_sort_key.md +58 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/concat.md +75 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/concat_ws.md +72 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/contains.md +31 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/conv.md +50 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/endswith.md +70 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/find_in_set.md +19 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/format_string.md +53 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/hex.md +45 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/instr.md +41 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/is_ascii.md +27 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/is_utf8.md +27 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/lcase.md +45 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/left.md +35 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/length.md +33 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/lengthb.md +49 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/like.md +63 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/locate.md +42 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/lower.md +61 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/lpad.md +45 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/ltrim.md +48 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/mask.md +37 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/md5.md +71 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/octet_length.md +47 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/parse_url.md +78 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/position.md +35 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/regexp_count.md +115 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/regexp_extract.md +37 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/regexp_extract_all.md +31 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/regexp_instr.md +152 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/regexp_replace.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/repeat.md +44 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/replace.md +37 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/reverse.md +70 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/right.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/rlike.md +64 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/rpad.md +53 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/rtrim.md +37 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/sha1.md +67 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/space.md +34 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/split.md +61 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/split_part.md +42 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/startswith.md +70 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/str_to_map.md +60 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/strpos.md +60 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/substr.md +43 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/substring.md +53 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/substring_index.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/translate.md +43 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/trim.md +54 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/typeof.md +54 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/ucase.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/unbase64.md +54 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/unhex.md +46 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/upper.md +51 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/url_decode.md +32 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/url_encode.md +33 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/string_functions/uuid.md +33 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/binary_quantize.md +51 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/cosine_distance.md +53 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/dot_product.md +54 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/hamming_distance.md +57 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/jaccard_distance.md +55 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/l2_distance.md +53 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/l2_norm.md +52 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/l2_normalize.md +54 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/print_vector_bits.md +56 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/vector.md +70 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/scalar_functions/vector_functions/vector_add_scalar.md +57 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/explode.md +71 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/inline.md +48 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/json_tuple.md +44 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/load_history.md +17 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/posexplode.md +89 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/read_kafka.md +85 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/stack.md +69 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/table_changes.md +136 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/table_functions/unnset.md +106 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/avg.md +91 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/count.md +88 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/cume_dist.md +104 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/dense_rank.md +119 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/first.md +159 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/first_value.md +133 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/lag.md +72 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/last.md +166 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/last_value.md +160 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/lead.md +49 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/max.md +167 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/min.md +138 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/nth_value.md +58 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/ntile.md +57 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/percent_rank.md +58 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/rank.md +139 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/row_number.md +141 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/sum.md +105 -0
- package/bin/skills/lakehouse-doc/references/sql_functions/window_functions/window_clause.md +91 -0
- package/bin/skills/lakehouse-doc/references/sql_practice.md +1 -0
- package/bin/skills/lakehouse-doc/references/sql_rfm.md +181 -0
- package/bin/skills/lakehouse-doc/references/sqlalchemy.md +82 -0
- package/bin/skills/lakehouse-doc/references/ssb-benchmark.md +224 -0
- package/bin/skills/lakehouse-doc/references/sso-configuration.md +157 -0
- package/bin/skills/lakehouse-doc/references/storage_encryption.md +81 -0
- package/bin/skills/lakehouse-doc/references/streaming_data_pipeline_overview.md +20 -0
- package/bin/skills/lakehouse-doc/references/streaming_data_pipeline_overview1.md +1 -0
- package/bin/skills/lakehouse-doc/references/streaming_pipeline_with_dynamic_table.md +66 -0
- package/bin/skills/lakehouse-doc/references/structure_data_analysis.md +229 -0
- package/bin/skills/lakehouse-doc/references/studio_manual.md +1 -0
- package/bin/skills/lakehouse-doc/references/studio_overview.md +71 -0
- package/bin/skills/lakehouse-doc/references/synonym.md +139 -0
- package/bin/skills/lakehouse-doc/references/table-stream-title.md +1 -0
- package/bin/skills/lakehouse-doc/references/table-stream.md +1 -0
- package/bin/skills/lakehouse-doc/references/table-summary.md +1 -0
- package/bin/skills/lakehouse-doc/references/table_funciotn.md +1 -0
- package/bin/skills/lakehouse-doc/references/table_stream.md +118 -0
- package/bin/skills/lakehouse-doc/references/tablesample.md +474 -0
- package/bin/skills/lakehouse-doc/references/tablestream_summary.md +515 -0
- package/bin/skills/lakehouse-doc/references/task-instance-maintenance.md +207 -0
- package/bin/skills/lakehouse-doc/references/task_development.md +56 -0
- package/bin/skills/lakehouse-doc/references/task_group.md +151 -0
- package/bin/skills/lakehouse-doc/references/task_param.md +978 -0
- package/bin/skills/lakehouse-doc/references/task_scheduling.md +1 -0
- package/bin/skills/lakehouse-doc/references/task_scheduling_dependency.md +74 -0
- package/bin/skills/lakehouse-doc/references/taskdevelop.md +268 -0
- package/bin/skills/lakehouse-doc/references/tencentcloud_arn_and_externalid.md +29 -0
- package/bin/skills/lakehouse-doc/references/time-function.md +67 -0
- package/bin/skills/lakehouse-doc/references/timetravel-summary.md +47 -0
- package/bin/skills/lakehouse-doc/references/tools_AI.md +1 -0
- package/bin/skills/lakehouse-doc/references/tools_BI.md +1 -0
- package/bin/skills/lakehouse-doc/references/tpcds-benchmark.md +754 -0
- package/bin/skills/lakehouse-doc/references/tpch-benchmark.md +887 -0
- package/bin/skills/lakehouse-doc/references/transformt-dt.md +291 -0
- package/bin/skills/lakehouse-doc/references/trial-account-quotas-and-limits.md +81 -0
- package/bin/skills/lakehouse-doc/references/tutorial_DataGPT.md +1 -0
- package/bin/skills/lakehouse-doc/references/tutorial_connect_to_lakehouse.md +1 -0
- package/bin/skills/lakehouse-doc/references/tutorial_data_transformation.md +1 -0
- package/bin/skills/lakehouse-doc/references/tutorial_migration.md +1 -0
- package/bin/skills/lakehouse-doc/references/tutorial_virtual_cluster.md +1 -0
- package/bin/skills/lakehouse-doc/references/tutorial_work_with_workspace.md +1 -0
- package/bin/skills/lakehouse-doc/references/tutorial_zettapark.md +1 -0
- package/bin/skills/lakehouse-doc/references/tutorials-streaming-data-pipeline-with_dynamic-table.md +124 -0
- package/bin/skills/lakehouse-doc/references/undrop-dynamic-table.md +79 -0
- package/bin/skills/lakehouse-doc/references/undrop-materialized-view.md +80 -0
- package/bin/skills/lakehouse-doc/references/unifiedWorkflow.md +1 -0
- package/bin/skills/lakehouse-doc/references/unloa-data-summary.md +17 -0
- package/bin/skills/lakehouse-doc/references/unload-data-local.md +72 -0
- package/bin/skills/lakehouse-doc/references/unstructure_data_analysis.md +1 -0
- package/bin/skills/lakehouse-doc/references/unstructured_etl_pipeline_notebook.md +12 -0
- package/bin/skills/lakehouse-doc/references/unstructured_etl_pipeline_user_guide.md +949 -0
- package/bin/skills/lakehouse-doc/references/unstructured_etl_python_api.md +896 -0
- package/bin/skills/lakehouse-doc/references/upload-data.md +1 -0
- package/bin/skills/lakehouse-doc/references/upload_data.md +123 -0
- package/bin/skills/lakehouse-doc/references/use-dbt-dev.md +441 -0
- package/bin/skills/lakehouse-doc/references/use-external-schema.md +42 -0
- package/bin/skills/lakehouse-doc/references/use-java-sdk-releatime-uploaddata.md +168 -0
- package/bin/skills/lakehouse-doc/references/use-java-sdk-upload-dta-local.md +140 -0
- package/bin/skills/lakehouse-doc/references/use-mysql-client.md +189 -0
- package/bin/skills/lakehouse-doc/references/use-python-sdk-upload-data.md +99 -0
- package/bin/skills/lakehouse-doc/references/use-schema.md +49 -0
- package/bin/skills/lakehouse-doc/references/use-vcluster.md +38 -0
- package/bin/skills/lakehouse-doc/references/user-aggrement.md +229 -0
- package/bin/skills/lakehouse-doc/references/user-external-funciton.md +1 -0
- package/bin/skills/lakehouse-doc/references/user-identification.md +58 -0
- package/bin/skills/lakehouse-doc/references/user_permission_grand_guide.md +322 -0
- package/bin/skills/lakehouse-doc/references/using-google-authenticator.md +48 -0
- package/bin/skills/lakehouse-doc/references/using-udf-in-dynamic-table.md +162 -0
- package/bin/skills/lakehouse-doc/references/using_mcp_solute_data_pipeline_issue.md +343 -0
- package/bin/skills/lakehouse-doc/references/uuid.md +47 -0
- package/bin/skills/lakehouse-doc/references/validate_schema_evolution.md +167 -0
- package/bin/skills/lakehouse-doc/references/vc-job.md +1 -0
- package/bin/skills/lakehouse-doc/references/vc_cache.md +71 -0
- package/bin/skills/lakehouse-doc/references/vcluster_size_description.md +98 -0
- package/bin/skills/lakehouse-doc/references/vector-search.md +144 -0
- package/bin/skills/lakehouse-doc/references/vector-type.md +52 -0
- package/bin/skills/lakehouse-doc/references/vector_data_process_guide.md +952 -0
- package/bin/skills/lakehouse-doc/references/vector_search_ai.md +423 -0
- package/bin/skills/lakehouse-doc/references/version-update.md +21 -0
- package/bin/skills/lakehouse-doc/references/virtual-cluster.md +221 -0
- package/bin/skills/lakehouse-doc/references/volume_best_practices.md +1141 -0
- package/bin/skills/lakehouse-doc/references/web-job-history.md +163 -0
- package/bin/skills/lakehouse-doc/references/what_is_clickzetta_lakehouse.md +92 -0
- package/bin/skills/lakehouse-doc/references/window-function-summary.md +134 -0
- package/bin/skills/lakehouse-doc/references/windowframe.md +139 -0
- package/bin/skills/lakehouse-doc/references/working_with_Vclusters.md +171 -0
- package/bin/skills/lakehouse-doc/references/working_with_cache.md +102 -0
- package/bin/skills/lakehouse-doc/references/worksapce-informaiton_schema-views.md +207 -0
- package/bin/skills/lakehouse-doc/references/worksheet.md +15 -0
- package/bin/skills/lakehouse-doc/references/workspace-introduction.md +41 -0
- package/bin/skills/lakehouse-doc/references/worskapce-infroamtionschema-summary.md +56 -0
- package/package.json +13 -0
|
@@ -0,0 +1,1190 @@
|
|
|
1
|
+
# 用户行为分析与精准营销BITMAP实战指南
|
|
2
|
+
|
|
3
|
+
## 📋 指南概述
|
|
4
|
+
|
|
5
|
+
本指南通过实际业务场景,展示如何使用云器Lakehouse的BITMAP函数解决用户分析、精准营销、运营优化等核心业务问题。每个场景都提供完整的建表到查询的端到端解决方案。
|
|
6
|
+
|
|
7
|
+
### ✨ 业务价值
|
|
8
|
+
|
|
9
|
+
* **精准用户画像**: 高效分析用户行为重叠和差异
|
|
10
|
+
* **智能营销推荐**: 快速计算用户相似度和兴趣匹配
|
|
11
|
+
* **实时运营决策**: 支持大规模用户群体的实时分析
|
|
12
|
+
* **成本优化**: 显著降低存储空间和计算资源消耗
|
|
13
|
+
|
|
14
|
+
## 📖 内容导航
|
|
15
|
+
|
|
16
|
+
本指南分为四个主要部分:
|
|
17
|
+
|
|
18
|
+
### 🎯 第一部分:业务场景实战
|
|
19
|
+
|
|
20
|
+
包含6个完整的业务场景,从建表到分析的完整流程:
|
|
21
|
+
|
|
22
|
+
* **场景1**: 多渠道用户重叠分析 - 解决营销投放重复和效果评估问题
|
|
23
|
+
* **场景2**: 用户兴趣推荐系统 - 实现精准个性化推荐
|
|
24
|
+
* **场景3**: A/B测试效果分析 - 精确评估产品实验效果
|
|
25
|
+
* **场景4**: 用户生命周期分析 - 优化用户转化漏斗
|
|
26
|
+
* **场景5**: 权限管理系统 - 高效的企业权限控制
|
|
27
|
+
* **场景6**: 大规模数据分页 - 处理海量用户数据
|
|
28
|
+
|
|
29
|
+
### 🔧 第二部分:技术函数指南
|
|
30
|
+
|
|
31
|
+
详细介绍BITMAP函数的分类和使用方法
|
|
32
|
+
|
|
33
|
+
### ⚠️ 第三部分:避坑指南
|
|
34
|
+
|
|
35
|
+
常见错误和解决方案,帮助快速排查问题
|
|
36
|
+
|
|
37
|
+
### 📚 第四部分:环境要求与总结
|
|
38
|
+
|
|
39
|
+
运行环境说明和最佳实践总结
|
|
40
|
+
|
|
41
|
+
***
|
|
42
|
+
|
|
43
|
+
## 🎯 业务场景实战案例
|
|
44
|
+
|
|
45
|
+
### 场景1: 多渠道用户重叠分析
|
|
46
|
+
|
|
47
|
+
#### 💡 为什么要做这个分析?
|
|
48
|
+
|
|
49
|
+
营销团队在多个渠道(Facebook、Google、TikTok等)投放广告获取用户,但面临以下挑战:
|
|
50
|
+
|
|
51
|
+
* **重复投放成本**: 不知道有多少用户在多个渠道都看到了广告,造成预算浪费
|
|
52
|
+
* **渠道效果对比**: 无法准确评估哪个渠道带来的是独有用户,哪个渠道主要是重复用户
|
|
53
|
+
* **投放策略优化**: 需要了解用户重叠程度来调整各渠道的投放比例和预算分配
|
|
54
|
+
* **精准营销**: 识别只在单一渠道活跃的用户,进行针对性的跨渠道营销
|
|
55
|
+
|
|
56
|
+
通过BITMAP函数可以高效计算数百万用户在不同渠道间的重叠情况,为营销决策提供数据支撑。
|
|
57
|
+
|
|
58
|
+
#### 1.1 建表准备
|
|
59
|
+
|
|
60
|
+
```sql
|
|
61
|
+
-- 创建用户活动表
|
|
62
|
+
CREATE TABLE IF NOT EXISTS user_activity (
|
|
63
|
+
user_id BIGINT,
|
|
64
|
+
channel STRING,
|
|
65
|
+
activity_date DATE,
|
|
66
|
+
event_type STRING
|
|
67
|
+
) PARTITIONED BY (activity_date);
|
|
68
|
+
|
|
69
|
+
-- 插入示例数据
|
|
70
|
+
INSERT INTO user_activity VALUES
|
|
71
|
+
(1001, 'facebook', DATE('2024-01-15'), 'register'),
|
|
72
|
+
(1002, 'google', DATE('2024-01-15'), 'register'),
|
|
73
|
+
(1003, 'tiktok', DATE('2024-01-15'), 'register'),
|
|
74
|
+
(1001, 'google', DATE('2024-01-16'), 'login'),
|
|
75
|
+
(1004, 'facebook', DATE('2024-01-16'), 'register'),
|
|
76
|
+
(1005, 'google', DATE('2024-01-16'), 'register'),
|
|
77
|
+
(1006, 'tiktok', DATE('2024-01-16'), 'register'),
|
|
78
|
+
(1007, 'facebook', DATE('2024-01-17'), 'register'),
|
|
79
|
+
(1008, 'google', DATE('2024-01-17'), 'register'),
|
|
80
|
+
(1009, 'tiktok', DATE('2024-01-17'), 'register'),
|
|
81
|
+
(1002, 'tiktok', DATE('2024-01-17'), 'login');
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
#### 1.2 渠道用户重叠分析
|
|
85
|
+
|
|
86
|
+
< c2.channel;
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
**预期结果**: 返回重叠用户ID [1001],符合业务逻辑。
|
|
90
|
+
|
|
91
|
+
### 场景2: 用户兴趣推荐系统
|
|
92
|
+
|
|
93
|
+
#### 💡 为什么要做这个分析?
|
|
94
|
+
|
|
95
|
+
电商平台面临个性化推荐的挑战:
|
|
96
|
+
|
|
97
|
+
* **商品推荐精准度**: 需要基于用户真实的购买和浏览行为,而不是简单的热门商品推荐
|
|
98
|
+
* **相似用户发现**: 识别兴趣相似的用户群体,实现协同过滤推荐
|
|
99
|
+
* **新用户冷启动**: 通过分析用户初期行为,快速找到相似用户进行推荐
|
|
100
|
+
* **推荐多样性**: 在保证相关性的同时,避免推荐内容过于单一
|
|
101
|
+
* **实时性要求**: 用户行为变化后,需要快速更新推荐结果
|
|
102
|
+
|
|
103
|
+
使用BITMAP函数可以高效计算用户兴趣向量的相似度,支撑实时推荐系统的运行。
|
|
104
|
+
|
|
105
|
+
#### 2.1 建表准备
|
|
106
|
+
|
|
107
|
+
```sql
|
|
108
|
+
-- 创建用户行为表
|
|
109
|
+
CREATE TABLE IF NOT EXISTS user_behavior (
|
|
110
|
+
user_id BIGINT,
|
|
111
|
+
item_id BIGINT,
|
|
112
|
+
behavior_type STRING, -- 'view', 'cart', 'purchase'
|
|
113
|
+
behavior_date DATE
|
|
114
|
+
) PARTITIONED BY (behavior_date);
|
|
115
|
+
|
|
116
|
+
-- 创建商品分类表
|
|
117
|
+
CREATE TABLE IF NOT EXISTS item_category (
|
|
118
|
+
item_id BIGINT,
|
|
119
|
+
category_id INT,
|
|
120
|
+
category_name STRING
|
|
121
|
+
);
|
|
122
|
+
|
|
123
|
+
-- 插入示例数据
|
|
124
|
+
INSERT INTO user_behavior VALUES
|
|
125
|
+
(1001, 1, 'view', DATE('2024-01-15')),
|
|
126
|
+
(1001, 2, 'purchase', DATE('2024-01-15')),
|
|
127
|
+
(1001, 5, 'view', DATE('2024-01-15')),
|
|
128
|
+
(1002, 1, 'view', DATE('2024-01-15')),
|
|
129
|
+
(1002, 3, 'purchase', DATE('2024-01-15')),
|
|
130
|
+
(1002, 4, 'cart', DATE('2024-01-15')),
|
|
131
|
+
(1003, 2, 'view', DATE('2024-01-16')),
|
|
132
|
+
(1003, 5, 'purchase', DATE('2024-01-16')),
|
|
133
|
+
(1003, 6, 'view', DATE('2024-01-16')),
|
|
134
|
+
(1004, 1, 'purchase', DATE('2024-01-16')),
|
|
135
|
+
(1004, 4, 'view', DATE('2024-01-16'));
|
|
136
|
+
|
|
137
|
+
INSERT INTO item_category VALUES
|
|
138
|
+
(1, 101, '电子产品'),
|
|
139
|
+
(2, 101, '电子产品'),
|
|
140
|
+
(3, 102, '服装'),
|
|
141
|
+
(4, 102, '服装'),
|
|
142
|
+
(5, 103, '图书'),
|
|
143
|
+
(6, 103, '图书');
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
#### 2.2 计算用户兴趣相似度
|
|
147
|
+
|
|
148
|
+
```sql
|
|
149
|
+
-- 基于用户行为计算兴趣相似度
|
|
150
|
+
WITH user_interests AS (
|
|
151
|
+
SELECT
|
|
152
|
+
ub.user_id,
|
|
153
|
+
group_bitmap_state(ic.category_id) as interest_categories
|
|
154
|
+
FROM user_behavior ub
|
|
155
|
+
JOIN item_category ic ON ub.item_id = ic.item_id
|
|
156
|
+
WHERE ub.behavior_date >
|
|
157
|
+
|
|
158
|
+
**业务价值**: 用户 1001 和 1004 在电子产品分类上相似度 100%,推荐逻辑精准。
|
|
159
|
+
|
|
160
|
+
#### 2.3 为用户推荐相似用户购买的商品
|
|
161
|
+
|
|
162
|
+
```sql
|
|
163
|
+
-- 为指定用户推荐相似用户购买的商品
|
|
164
|
+
WITH target_user_interests AS (
|
|
165
|
+
SELECT group_bitmap_state(ic.category_id) as interests
|
|
166
|
+
FROM user_behavior ub
|
|
167
|
+
JOIN item_category ic ON ub.item_id = ic.item_id
|
|
168
|
+
WHERE ub.user_id = 1001
|
|
169
|
+
AND ub.behavior_type IN ('purchase', 'cart')
|
|
170
|
+
),
|
|
171
|
+
similar_users AS (
|
|
172
|
+
SELECT
|
|
173
|
+
ub.user_id,
|
|
174
|
+
group_bitmap_state(ic.category_id) as interests
|
|
175
|
+
FROM user_behavior ub
|
|
176
|
+
JOIN item_category ic ON ub.item_id = ic.item_id
|
|
177
|
+
WHERE ub.user_id != 1001
|
|
178
|
+
AND ub.behavior_type IN ('purchase', 'cart')
|
|
179
|
+
GROUP BY ub.user_id
|
|
180
|
+
HAVING bitmap_and_cardinality(
|
|
181
|
+
group_bitmap_state(ic.category_id),
|
|
182
|
+
(SELECT interests FROM target_user_interests)
|
|
183
|
+
) >= 1
|
|
184
|
+
),
|
|
185
|
+
user_purchased_items AS (
|
|
186
|
+
SELECT group_bitmap_state(item_id) as purchased_items
|
|
187
|
+
FROM user_behavior
|
|
188
|
+
WHERE user_id = 1001 AND behavior_type = 'purchase'
|
|
189
|
+
)
|
|
190
|
+
SELECT
|
|
191
|
+
ub.item_id,
|
|
192
|
+
ic.category_name,
|
|
193
|
+
COUNT(DISTINCT ub.user_id) as recommended_by_users,
|
|
194
|
+
ARRAY_AGG(DISTINCT ub.user_id) as recommending_users
|
|
195
|
+
FROM similar_users su
|
|
196
|
+
JOIN user_behavior ub ON su.user_id = ub.user_id
|
|
197
|
+
JOIN item_category ic ON ub.item_id = ic.item_id
|
|
198
|
+
CROSS JOIN user_purchased_items upi
|
|
199
|
+
WHERE ub.behavior_type = 'purchase'
|
|
200
|
+
AND NOT bitmap_contains(upi.purchased_items, ub.item_id) -- 排除已购买商品
|
|
201
|
+
GROUP BY ub.item_id, ic.category_name
|
|
202
|
+
ORDER BY recommended_by_users DESC;
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
**业务价值**: 为用户1001推荐 item_id=1(电子产品),由用户1004推荐,实现精准协同过滤。
|
|
206
|
+
|
|
207
|
+
### 场景3: A/B测试效果分析
|
|
208
|
+
|
|
209
|
+
#### 💡 为什么要做这个分析?
|
|
210
|
+
|
|
211
|
+
产品团队在进行A/B测试时面临精确度和效率的双重挑战:
|
|
212
|
+
|
|
213
|
+
* **样本污染问题**: 需要确保实验组和对照组用户没有交叉,避免测试结果失真
|
|
214
|
+
* **转化路径分析**: 不只看最终转化率,还要分析用户在不同实验版本下的行为路径差异
|
|
215
|
+
* **统计显著性**: 需要精确计算各组的用户数量和转化数量,确保测试结果可信
|
|
216
|
+
* **实验效果评估**: 快速识别哪些用户群体对实验变化更敏感
|
|
217
|
+
* **后续决策支持**: 为产品迭代和全量发布提供数据依据
|
|
218
|
+
|
|
219
|
+
BITMAP函数可以精确追踪实验用户的行为表现,避免传统方法中的近似计算误差。
|
|
220
|
+
|
|
221
|
+
#### 3.1 建表准备
|
|
222
|
+
|
|
223
|
+
```sql
|
|
224
|
+
-- 创建A/B测试分组表
|
|
225
|
+
CREATE TABLE IF NOT EXISTS ab_test_assignments (
|
|
226
|
+
user_id BIGINT,
|
|
227
|
+
experiment_id STRING,
|
|
228
|
+
group_name STRING,
|
|
229
|
+
assignment_date DATE
|
|
230
|
+
);
|
|
231
|
+
|
|
232
|
+
-- 创建转化事件表
|
|
233
|
+
CREATE TABLE IF NOT EXISTS conversion_events (
|
|
234
|
+
user_id BIGINT,
|
|
235
|
+
experiment_id STRING,
|
|
236
|
+
event_type STRING,
|
|
237
|
+
event_date DATE,
|
|
238
|
+
event_value DECIMAL(10,2)
|
|
239
|
+
);
|
|
240
|
+
|
|
241
|
+
-- 插入示例数据
|
|
242
|
+
INSERT INTO ab_test_assignments VALUES
|
|
243
|
+
(1001, 'homepage_redesign_2024', 'control', DATE('2024-01-01')),
|
|
244
|
+
(1002, 'homepage_redesign_2024', 'variant_a', DATE('2024-01-01')),
|
|
245
|
+
(1003, 'homepage_redesign_2024', 'control', DATE('2024-01-01')),
|
|
246
|
+
(1004, 'homepage_redesign_2024', 'variant_a', DATE('2024-01-01')),
|
|
247
|
+
(1005, 'homepage_redesign_2024', 'control', DATE('2024-01-01')),
|
|
248
|
+
(1006, 'homepage_redesign_2024', 'variant_a', DATE('2024-01-01')),
|
|
249
|
+
(1007, 'homepage_redesign_2024', 'control', DATE('2024-01-01')),
|
|
250
|
+
(1008, 'homepage_redesign_2024', 'variant_a', DATE('2024-01-01'));
|
|
251
|
+
|
|
252
|
+
INSERT INTO conversion_events VALUES
|
|
253
|
+
(1001, 'homepage_redesign_2024', 'purchase', DATE('2024-01-15'), 99.99),
|
|
254
|
+
(1002, 'homepage_redesign_2024', 'signup', DATE('2024-01-12'), 0),
|
|
255
|
+
(1004, 'homepage_redesign_2024', 'purchase', DATE('2024-01-18'), 149.99),
|
|
256
|
+
(1006, 'homepage_redesign_2024', 'signup', DATE('2024-01-14'), 0),
|
|
257
|
+
(1007, 'homepage_redesign_2024', 'signup', DATE('2024-01-16'), 0),
|
|
258
|
+
(1008, 'homepage_redesign_2024', 'purchase', DATE('2024-01-20'), 199.99);
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
#### 3.2 A/B测试转化分析
|
|
262
|
+
|
|
263
|
+
```sql
|
|
264
|
+
-- A/B测试组转化效果对比分析
|
|
265
|
+
WITH experiment_groups AS (
|
|
266
|
+
SELECT
|
|
267
|
+
group_name,
|
|
268
|
+
group_bitmap_state(user_id) as users
|
|
269
|
+
FROM ab_test_assignments
|
|
270
|
+
WHERE experiment_id = 'homepage_redesign_2024'
|
|
271
|
+
GROUP BY group_name
|
|
272
|
+
),
|
|
273
|
+
conversion_analysis AS (
|
|
274
|
+
SELECT
|
|
275
|
+
ata.group_name,
|
|
276
|
+
ce.event_type,
|
|
277
|
+
group_bitmap_state(ce.user_id) as converted_users
|
|
278
|
+
FROM ab_test_assignments ata
|
|
279
|
+
JOIN conversion_events ce ON ata.user_id = ce.user_id
|
|
280
|
+
AND ata.experiment_id = ce.experiment_id
|
|
281
|
+
WHERE ata.experiment_id = 'homepage_redesign_2024'
|
|
282
|
+
AND ce.event_date BETWEEN '2024-01-01' AND '2024-01-31'
|
|
283
|
+
GROUP BY ata.group_name, ce.event_type
|
|
284
|
+
)
|
|
285
|
+
SELECT
|
|
286
|
+
eg.group_name,
|
|
287
|
+
ca.event_type,
|
|
288
|
+
bitmap_cardinality(eg.users) as total_users,
|
|
289
|
+
COALESCE(bitmap_and_cardinality(eg.users, ca.converted_users), 0) as converted_users,
|
|
290
|
+
ROUND(COALESCE(bitmap_and_cardinality(eg.users, ca.converted_users), 0) * 100.0 /
|
|
291
|
+
bitmap_cardinality(eg.users), 2) as conversion_rate,
|
|
292
|
+
bitmap_to_array(COALESCE(bitmap_and(eg.users, ca.converted_users), NULL)) as converted_user_ids
|
|
293
|
+
FROM experiment_groups eg
|
|
294
|
+
LEFT JOIN conversion_analysis ca ON eg.group_name = ca.group_name
|
|
295
|
+
ORDER BY eg.group_name, ca.event_type;
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
**分析结果**:
|
|
299
|
+
|
|
300
|
+
* Control组: 4用户,购买转化25%,注册转化25%
|
|
301
|
+
* Variant\_A组: 4用户,购买转化50%,注册转化50%
|
|
302
|
+
* 实验组效果明显优于对照组
|
|
303
|
+
|
|
304
|
+
#### 3.3 用户行为路径分析
|
|
305
|
+
|
|
306
|
+
```sql
|
|
307
|
+
-- 分析不同组用户的行为路径差异
|
|
308
|
+
WITH group_behaviors AS (
|
|
309
|
+
SELECT
|
|
310
|
+
ata.group_name,
|
|
311
|
+
ce.event_type,
|
|
312
|
+
group_bitmap_state(ce.user_id) as users_with_event
|
|
313
|
+
FROM ab_test_assignments ata
|
|
314
|
+
JOIN conversion_events ce ON ata.user_id = ce.user_id
|
|
315
|
+
WHERE ata.experiment_id = 'homepage_redesign_2024'
|
|
316
|
+
GROUP BY ata.group_name, ce.event_type
|
|
317
|
+
)
|
|
318
|
+
SELECT
|
|
319
|
+
gb1.group_name,
|
|
320
|
+
gb1.event_type as first_event,
|
|
321
|
+
gb2.event_type as second_event,
|
|
322
|
+
bitmap_and_cardinality(gb1.users_with_event, gb2.users_with_event) as users_both_events,
|
|
323
|
+
ROUND(bitmap_and_cardinality(gb1.users_with_event, gb2.users_with_event) * 100.0 /
|
|
324
|
+
bitmap_cardinality(gb1.users_with_event), 2) as conversion_rate_to_second
|
|
325
|
+
FROM group_behaviors gb1
|
|
326
|
+
JOIN group_behaviors gb2 ON gb1.group_name = gb2.group_name
|
|
327
|
+
AND gb1.event_type != gb2.event_type
|
|
328
|
+
WHERE gb1.event_type = 'signup' AND gb2.event_type = 'purchase'
|
|
329
|
+
ORDER BY gb1.group_name;
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
**分析结果**: 数据中 signup 和 purchase 用户无重叠,转化率为 0%,符合实际数据情况。
|
|
333
|
+
|
|
334
|
+
### 场景4: 用户生命周期与留存分析
|
|
335
|
+
|
|
336
|
+
#### 💡 为什么要做这个分析?
|
|
337
|
+
|
|
338
|
+
运营团队需要深入了解用户从注册到付费的完整生命周期:
|
|
339
|
+
|
|
340
|
+
* **转化漏斗优化**: 识别用户流失的关键节点,找出转化率低的原因
|
|
341
|
+
* **渠道质量评估**: 不同获客渠道带来的用户质量差异,指导营销预算分配
|
|
342
|
+
* **产品改进方向**: 通过分析用户行为路径,发现产品体验的痛点
|
|
343
|
+
* **运营策略制定**: 针对不同生命周期阶段的用户制定个性化的运营策略
|
|
344
|
+
* **预测模型建立**: 基于历史数据预测新用户的生命周期价值
|
|
345
|
+
* **成本效益分析**: 计算获客成本和用户生命周期价值的投入产出比
|
|
346
|
+
|
|
347
|
+
使用BITMAP可以精确追踪每个用户在生命周期各阶段的流转情况,支持精细化运营。
|
|
348
|
+
|
|
349
|
+
#### 4.1 建表准备
|
|
350
|
+
|
|
351
|
+
```sql
|
|
352
|
+
-- 创建用户注册表
|
|
353
|
+
CREATE TABLE IF NOT EXISTS user_registrations (
|
|
354
|
+
user_id BIGINT,
|
|
355
|
+
registration_date DATE,
|
|
356
|
+
source_channel STRING
|
|
357
|
+
);
|
|
358
|
+
|
|
359
|
+
-- 创建用户激活表
|
|
360
|
+
CREATE TABLE IF NOT EXISTS user_activations (
|
|
361
|
+
user_id BIGINT,
|
|
362
|
+
activation_date DATE,
|
|
363
|
+
activation_action STRING
|
|
364
|
+
);
|
|
365
|
+
|
|
366
|
+
-- 创建用户留存表
|
|
367
|
+
CREATE TABLE IF NOT EXISTS user_retention (
|
|
368
|
+
user_id BIGINT,
|
|
369
|
+
retention_date DATE,
|
|
370
|
+
retention_day INT -- 第几天留存
|
|
371
|
+
);
|
|
372
|
+
|
|
373
|
+
-- 创建付费转化表
|
|
374
|
+
CREATE TABLE IF NOT EXISTS user_payments (
|
|
375
|
+
user_id BIGINT,
|
|
376
|
+
payment_date DATE,
|
|
377
|
+
amount DECIMAL(10,2)
|
|
378
|
+
);
|
|
379
|
+
|
|
380
|
+
-- 插入示例数据
|
|
381
|
+
INSERT INTO user_registrations VALUES
|
|
382
|
+
(1001, DATE('2024-01-01'), 'facebook'),
|
|
383
|
+
(1002, DATE('2024-01-01'), 'google'),
|
|
384
|
+
(1003, DATE('2024-01-02'), 'tiktok'),
|
|
385
|
+
(1004, DATE('2024-01-02'), 'facebook'),
|
|
386
|
+
(1005, DATE('2024-01-03'), 'google'),
|
|
387
|
+
(1006, DATE('2024-01-03'), 'tiktok'),
|
|
388
|
+
(1007, DATE('2024-01-04'), 'facebook'),
|
|
389
|
+
(1008, DATE('2024-01-04'), 'google');
|
|
390
|
+
|
|
391
|
+
INSERT INTO user_activations VALUES
|
|
392
|
+
(1001, DATE('2024-01-01'), 'complete_profile'),
|
|
393
|
+
(1002, DATE('2024-01-02'), 'first_post'),
|
|
394
|
+
(1004, DATE('2024-01-02'), 'complete_profile'),
|
|
395
|
+
(1005, DATE('2024-01-04'), 'first_post'),
|
|
396
|
+
(1007, DATE('2024-01-05'), 'complete_profile');
|
|
397
|
+
|
|
398
|
+
INSERT INTO user_retention VALUES
|
|
399
|
+
(1001, DATE('2024-01-08'), 7),
|
|
400
|
+
(1002, DATE('2024-01-08'), 7),
|
|
401
|
+
(1004, DATE('2024-01-09'), 7),
|
|
402
|
+
(1005, DATE('2024-01-10'), 7);
|
|
403
|
+
|
|
404
|
+
INSERT INTO user_payments VALUES
|
|
405
|
+
(1001, DATE('2024-01-15'), 99.99),
|
|
406
|
+
(1004, DATE('2024-01-18'), 149.99);
|
|
407
|
+
```
|
|
408
|
+
|
|
409
|
+
#### 4.2 用户生命周期漏斗分析
|
|
410
|
+
|
|
411
|
+
```sql
|
|
412
|
+
-- 用户生命周期各阶段转化漏斗
|
|
413
|
+
WITH lifecycle_stages AS (
|
|
414
|
+
SELECT 'registered' as stage, group_bitmap_state(user_id) as users
|
|
415
|
+
FROM user_registrations
|
|
416
|
+
WHERE registration_date >= '2024-01-01'
|
|
417
|
+
|
|
418
|
+
UNION ALL
|
|
419
|
+
|
|
420
|
+
SELECT 'activated' as stage, group_bitmap_state(user_id) as users
|
|
421
|
+
FROM user_activations
|
|
422
|
+
WHERE activation_date >= '2024-01-01'
|
|
423
|
+
|
|
424
|
+
UNION ALL
|
|
425
|
+
|
|
426
|
+
SELECT 'retained_7d' as stage, group_bitmap_state(user_id) as users
|
|
427
|
+
FROM user_retention
|
|
428
|
+
WHERE retention_date >= '2024-01-01' AND retention_day = 7
|
|
429
|
+
|
|
430
|
+
UNION ALL
|
|
431
|
+
|
|
432
|
+
SELECT 'paid' as stage, group_bitmap_state(user_id) as users
|
|
433
|
+
FROM user_payments
|
|
434
|
+
WHERE payment_date >= '2024-01-01'
|
|
435
|
+
),
|
|
436
|
+
stage_order AS (
|
|
437
|
+
SELECT stage, users,
|
|
438
|
+
CASE stage
|
|
439
|
+
WHEN 'registered' THEN 1
|
|
440
|
+
WHEN 'activated' THEN 2
|
|
441
|
+
WHEN 'retained_7d' THEN 3
|
|
442
|
+
WHEN 'paid' THEN 4
|
|
443
|
+
END as order_num
|
|
444
|
+
FROM lifecycle_stages
|
|
445
|
+
),
|
|
446
|
+
registered_users AS (
|
|
447
|
+
SELECT users as all_registered FROM stage_order WHERE stage = 'registered'
|
|
448
|
+
)
|
|
449
|
+
SELECT
|
|
450
|
+
so.stage,
|
|
451
|
+
bitmap_cardinality(so.users) as stage_users,
|
|
452
|
+
-- 相对于上一阶段的转化率
|
|
453
|
+
LAG(bitmap_cardinality(so.users)) OVER (ORDER BY so.order_num) as prev_stage_users,
|
|
454
|
+
CASE
|
|
455
|
+
WHEN LAG(bitmap_cardinality(so.users)) OVER (ORDER BY so.order_num) IS NOT NULL
|
|
456
|
+
THEN ROUND(bitmap_cardinality(so.users) * 100.0 /
|
|
457
|
+
LAG(bitmap_cardinality(so.users)) OVER (ORDER BY so.order_num), 2)
|
|
458
|
+
ELSE 100.0
|
|
459
|
+
END as conversion_from_prev,
|
|
460
|
+
-- 相对于注册用户的整体转化率
|
|
461
|
+
ROUND(bitmap_cardinality(so.users) * 100.0 /
|
|
462
|
+
bitmap_cardinality((SELECT all_registered FROM registered_users)), 2) as conversion_from_registered,
|
|
463
|
+
-- 显示具体用户ID
|
|
464
|
+
bitmap_to_array(so.users) as user_ids
|
|
465
|
+
FROM stage_order so
|
|
466
|
+
ORDER BY so.order_num;
|
|
467
|
+
```
|
|
468
|
+
|
|
469
|
+
**漏斗分析结果**:
|
|
470
|
+
|
|
471
|
+
* 注册→激活: 62.5%转化率
|
|
472
|
+
* 激活→留存: 80%转化率
|
|
473
|
+
* 留存→付费: 50%转化率
|
|
474
|
+
* 整体注册到付费转化率: 25%
|
|
475
|
+
|
|
476
|
+
#### 4.3 渠道质量对比分析
|
|
477
|
+
|
|
478
|
+
```sql
|
|
479
|
+
-- 不同渠道用户质量对比(生命周期完成度)
|
|
480
|
+
WITH channel_registered AS (
|
|
481
|
+
SELECT
|
|
482
|
+
source_channel,
|
|
483
|
+
group_bitmap_state(user_id) as registered_users
|
|
484
|
+
FROM user_registrations
|
|
485
|
+
WHERE registration_date >= '2024-01-01'
|
|
486
|
+
GROUP BY source_channel
|
|
487
|
+
),
|
|
488
|
+
channel_activated AS (
|
|
489
|
+
SELECT
|
|
490
|
+
ur.source_channel,
|
|
491
|
+
group_bitmap_state(ua.user_id) as activated_users
|
|
492
|
+
FROM user_registrations ur
|
|
493
|
+
JOIN user_activations ua ON ur.user_id = ua.user_id
|
|
494
|
+
WHERE ur.registration_date >= '2024-01-01'
|
|
495
|
+
GROUP BY ur.source_channel
|
|
496
|
+
),
|
|
497
|
+
channel_retained AS (
|
|
498
|
+
SELECT
|
|
499
|
+
ur.source_channel,
|
|
500
|
+
group_bitmap_state(urt.user_id) as retained_users
|
|
501
|
+
FROM user_registrations ur
|
|
502
|
+
JOIN user_retention urt ON ur.user_id = urt.user_id
|
|
503
|
+
WHERE ur.registration_date >= '2024-01-01' AND urt.retention_day = 7
|
|
504
|
+
GROUP BY ur.source_channel
|
|
505
|
+
),
|
|
506
|
+
channel_paid AS (
|
|
507
|
+
SELECT
|
|
508
|
+
ur.source_channel,
|
|
509
|
+
group_bitmap_state(up.user_id) as paid_users
|
|
510
|
+
FROM user_registrations ur
|
|
511
|
+
JOIN user_payments up ON ur.user_id = up.user_id
|
|
512
|
+
WHERE ur.registration_date >= '2024-01-01'
|
|
513
|
+
GROUP BY ur.source_channel
|
|
514
|
+
)
|
|
515
|
+
SELECT
|
|
516
|
+
cr.source_channel,
|
|
517
|
+
bitmap_cardinality(cr.registered_users) as registered_count,
|
|
518
|
+
COALESCE(bitmap_cardinality(ca.activated_users), 0) as activated_count,
|
|
519
|
+
COALESCE(bitmap_cardinality(crt.retained_users), 0) as retained_count,
|
|
520
|
+
COALESCE(bitmap_cardinality(cp.paid_users), 0) as paid_count,
|
|
521
|
+
ROUND(COALESCE(bitmap_cardinality(ca.activated_users), 0) * 100.0 /
|
|
522
|
+
bitmap_cardinality(cr.registered_users), 2) as activation_rate,
|
|
523
|
+
ROUND(COALESCE(bitmap_cardinality(crt.retained_users), 0) * 100.0 /
|
|
524
|
+
bitmap_cardinality(cr.registered_users), 2) as retention_rate,
|
|
525
|
+
ROUND(COALESCE(bitmap_cardinality(cp.paid_users), 0) * 100.0 /
|
|
526
|
+
bitmap_cardinality(cr.registered_users), 2) as payment_rate
|
|
527
|
+
FROM channel_registered cr
|
|
528
|
+
LEFT JOIN channel_activated ca ON cr.source_channel = ca.source_channel
|
|
529
|
+
LEFT JOIN channel_retained crt ON cr.source_channel = crt.source_channel
|
|
530
|
+
LEFT JOIN channel_paid cp ON cr.source_channel = cp.source_channel
|
|
531
|
+
ORDER BY payment_rate DESC, retention_rate DESC;
|
|
532
|
+
```
|
|
533
|
+
|
|
534
|
+
**渠道质量对比**: Facebook 渠道质量最佳(66.67% 付费率),TikTok 渠道质量最低(0% 付费率)。
|
|
535
|
+
|
|
536
|
+
### 场景5: 权限管理与用户分组
|
|
537
|
+
|
|
538
|
+
#### 💡 为什么要做这个分析?
|
|
539
|
+
|
|
540
|
+
企业权限管理系统面临复杂性和性能的双重挑战:
|
|
541
|
+
|
|
542
|
+
* **权限验证效率**: 传统的表关联查询权限效率低,无法支撑高并发访问
|
|
543
|
+
* **权限组合复杂**: 用户可能同时拥有多个角色,需要快速计算权限并集
|
|
544
|
+
* **审计和合规**: 需要快速查询谁拥有特定权限,支持安全审计需求
|
|
545
|
+
* **权限分析统计**: 分析不同部门、角色的权限分布,发现权限设计问题
|
|
546
|
+
* **动态权限管理**: 支持权限的动态分配和回收,实时生效
|
|
547
|
+
* **扩展性要求**: 随着组织结构变化,权限系统需要支持快速扩展
|
|
548
|
+
|
|
549
|
+
使用位运算和BITMAP可以将复杂的权限计算转换为高效的位操作,大幅提升系统性能。
|
|
550
|
+
|
|
551
|
+
#### 5.1 建表准备
|
|
552
|
+
|
|
553
|
+
```sql
|
|
554
|
+
-- 创建权限定义表
|
|
555
|
+
CREATE TABLE IF NOT EXISTS permissions (
|
|
556
|
+
permission_id INT,
|
|
557
|
+
permission_name STRING,
|
|
558
|
+
permission_bit INT -- 2的幂次: 1,2,4,8,16,32...
|
|
559
|
+
);
|
|
560
|
+
|
|
561
|
+
-- 创建角色表
|
|
562
|
+
CREATE TABLE IF NOT EXISTS roles (
|
|
563
|
+
role_id INT,
|
|
564
|
+
role_name STRING,
|
|
565
|
+
permission_mask BIGINT -- 权限位掩码
|
|
566
|
+
);
|
|
567
|
+
|
|
568
|
+
-- 创建用户角色关联表
|
|
569
|
+
CREATE TABLE IF NOT EXISTS user_roles (
|
|
570
|
+
user_id BIGINT,
|
|
571
|
+
role_id INT,
|
|
572
|
+
assigned_date DATE
|
|
573
|
+
);
|
|
574
|
+
|
|
575
|
+
-- 创建用户表
|
|
576
|
+
CREATE TABLE IF NOT EXISTS users (
|
|
577
|
+
user_id BIGINT,
|
|
578
|
+
username STRING,
|
|
579
|
+
department STRING
|
|
580
|
+
);
|
|
581
|
+
|
|
582
|
+
-- 插入示例数据
|
|
583
|
+
INSERT INTO permissions VALUES
|
|
584
|
+
(1, 'read', 1), -- 2^0 = 1
|
|
585
|
+
(2, 'write', 2), -- 2^1 = 2
|
|
586
|
+
(3, 'delete', 4), -- 2^2 = 4
|
|
587
|
+
(4, 'admin', 8), -- 2^3 = 8
|
|
588
|
+
(5, 'audit', 16); -- 2^4 = 16
|
|
589
|
+
|
|
590
|
+
INSERT INTO roles VALUES
|
|
591
|
+
(1, 'viewer', 1), -- 只读权限
|
|
592
|
+
(2, 'editor', 3), -- 读写权限 (1+2)
|
|
593
|
+
(3, 'manager', 7), -- 读写删除权限 (1+2+4)
|
|
594
|
+
(4, 'admin', 15), -- 管理员权限 (1+2+4+8)
|
|
595
|
+
(5, 'auditor', 17); -- 审计权限 (1+16)
|
|
596
|
+
|
|
597
|
+
INSERT INTO users VALUES
|
|
598
|
+
(1001, 'alice', 'engineering'),
|
|
599
|
+
(1002, 'bob', 'marketing'),
|
|
600
|
+
(1003, 'charlie', 'finance'),
|
|
601
|
+
(1004, 'diana', 'engineering'),
|
|
602
|
+
(1005, 'eve', 'hr');
|
|
603
|
+
|
|
604
|
+
INSERT INTO user_roles VALUES
|
|
605
|
+
(1001, 4, DATE('2024-01-01')), -- alice is admin
|
|
606
|
+
(1002, 2, DATE('2024-01-01')), -- bob is editor
|
|
607
|
+
(1003, 5, DATE('2024-01-01')), -- charlie is auditor
|
|
608
|
+
(1004, 3, DATE('2024-01-01')), -- diana is manager
|
|
609
|
+
(1005, 1, DATE('2024-01-01')); -- eve is viewer
|
|
610
|
+
```
|
|
611
|
+
|
|
612
|
+
#### 5.2 用户权限分析
|
|
613
|
+
|
|
614
|
+
```sql
|
|
615
|
+
-- 分析用户的具体权限
|
|
616
|
+
WITH user_permissions AS (
|
|
617
|
+
SELECT
|
|
618
|
+
u.user_id,
|
|
619
|
+
u.username,
|
|
620
|
+
u.department,
|
|
621
|
+
bit_or(r.permission_mask) as total_permissions
|
|
622
|
+
FROM users u
|
|
623
|
+
JOIN user_roles ur ON u.user_id = ur.user_id
|
|
624
|
+
JOIN roles r ON ur.role_id = r.role_id
|
|
625
|
+
GROUP BY u.user_id, u.username, u.department
|
|
626
|
+
)
|
|
627
|
+
SELECT
|
|
628
|
+
user_id,
|
|
629
|
+
username,
|
|
630
|
+
department,
|
|
631
|
+
total_permissions,
|
|
632
|
+
bit_count(total_permissions) as permission_count,
|
|
633
|
+
CASE WHEN total_permissions & 1 = 1 THEN 'Y' ELSE 'N' END as can_read,
|
|
634
|
+
CASE WHEN total_permissions & 2 = 2 THEN 'Y' ELSE 'N' END as can_write,
|
|
635
|
+
CASE WHEN total_permissions & 4 = 4 THEN 'Y' ELSE 'N' END as can_delete,
|
|
636
|
+
CASE WHEN total_permissions & 8 = 8 THEN 'Y' ELSE 'N' END as can_admin,
|
|
637
|
+
CASE WHEN total_permissions & 16 = 16 THEN 'Y' ELSE 'N' END as can_audit,
|
|
638
|
+
CASE
|
|
639
|
+
WHEN total_permissions & 8 = 8 THEN 'admin'
|
|
640
|
+
WHEN total_permissions & 4 = 4 THEN 'manager'
|
|
641
|
+
WHEN total_permissions & 2 = 2 THEN 'editor'
|
|
642
|
+
WHEN total_permissions & 1 = 1 THEN 'viewer'
|
|
643
|
+
ELSE 'no_access'
|
|
644
|
+
END as role_level
|
|
645
|
+
FROM user_permissions
|
|
646
|
+
ORDER BY total_permissions DESC;
|
|
647
|
+
```
|
|
648
|
+
|
|
649
|
+
**权限分析结果**: Alice(admin 权限)、Bob(editor 权限)、Charlie(auditor 权限)等用户权限分配合理。
|
|
650
|
+
|
|
651
|
+
#### 5.3 部门权限分布分析
|
|
652
|
+
|
|
653
|
+
```sql
|
|
654
|
+
-- 分析不同部门的权限分布
|
|
655
|
+
WITH dept_permissions AS (
|
|
656
|
+
SELECT
|
|
657
|
+
u.department,
|
|
658
|
+
bit_or(r.permission_mask) as dept_permissions,
|
|
659
|
+
group_bitmap_state(u.user_id) as dept_users
|
|
660
|
+
FROM users u
|
|
661
|
+
JOIN user_roles ur ON u.user_id = ur.user_id
|
|
662
|
+
JOIN roles r ON ur.role_id = r.role_id
|
|
663
|
+
GROUP BY u.department
|
|
664
|
+
),
|
|
665
|
+
permission_analysis AS (
|
|
666
|
+
SELECT
|
|
667
|
+
department,
|
|
668
|
+
dept_permissions,
|
|
669
|
+
bitmap_cardinality(dept_users) as user_count,
|
|
670
|
+
CASE WHEN dept_permissions & 1 = 1 THEN bitmap_cardinality(dept_users) ELSE 0 END as users_with_read,
|
|
671
|
+
CASE WHEN dept_permissions & 2 = 2 THEN bitmap_cardinality(dept_users) ELSE 0 END as users_with_write,
|
|
672
|
+
CASE WHEN dept_permissions & 4 = 4 THEN bitmap_cardinality(dept_users) ELSE 0 END as users_with_delete,
|
|
673
|
+
CASE WHEN dept_permissions & 8 = 8 THEN bitmap_cardinality(dept_users) ELSE 0 END as users_with_admin,
|
|
674
|
+
CASE WHEN dept_permissions & 16 = 16 THEN bitmap_cardinality(dept_users) ELSE 0 END as users_with_audit
|
|
675
|
+
FROM dept_permissions
|
|
676
|
+
)
|
|
677
|
+
SELECT
|
|
678
|
+
department,
|
|
679
|
+
user_count,
|
|
680
|
+
dept_permissions,
|
|
681
|
+
users_with_read,
|
|
682
|
+
users_with_write,
|
|
683
|
+
users_with_delete,
|
|
684
|
+
users_with_admin,
|
|
685
|
+
users_with_audit,
|
|
686
|
+
CASE
|
|
687
|
+
WHEN dept_permissions & 8 = 8 THEN 'high_privilege'
|
|
688
|
+
WHEN dept_permissions & 4 = 4 THEN 'medium_privilege'
|
|
689
|
+
WHEN dept_permissions & 2 = 2 THEN 'basic_privilege'
|
|
690
|
+
ELSE 'read_only'
|
|
691
|
+
END as privilege_level
|
|
692
|
+
FROM permission_analysis
|
|
693
|
+
ORDER BY dept_permissions DESC;
|
|
694
|
+
```
|
|
695
|
+
|
|
696
|
+
**部门权限分布**: Engineering 部门高权限级别,Finance 部门只读权限但有审计功能,权限分布合理。
|
|
697
|
+
|
|
698
|
+
### 场景6: 大规模数据分页与采样
|
|
699
|
+
|
|
700
|
+
#### 💡 为什么要做这个分析?
|
|
701
|
+
|
|
702
|
+
数据科学团队在处理海量用户数据时面临性能和资源限制:
|
|
703
|
+
|
|
704
|
+
* **查询性能优化**: 百万级用户数据的全量查询会导致系统超时或资源耗尽
|
|
705
|
+
* **数据采样需求**: 机器学习训练需要高质量的样本数据,不能简单随机采样
|
|
706
|
+
* **分页展示要求**: 前端系统需要分页展示用户列表,要求响应速度快
|
|
707
|
+
* **内存使用控制**: 避免大结果集导致的内存溢出问题
|
|
708
|
+
* **并发查询支持**: 多个数据分析师同时查询时,需要控制单个查询的资源占用
|
|
709
|
+
* **数据探索效率**: 快速获取数据子集进行探索性分析
|
|
710
|
+
|
|
711
|
+
BITMAP的分页和采样功能可以高效处理大规模用户数据,支持灵活的数据探索需求。
|
|
712
|
+
|
|
713
|
+
#### 6.1 建表准备
|
|
714
|
+
|
|
715
|
+
```sql
|
|
716
|
+
-- 创建大规模用户活跃表
|
|
717
|
+
CREATE TABLE IF NOT EXISTS user_activity_large (
|
|
718
|
+
user_id BIGINT,
|
|
719
|
+
activity_date DATE,
|
|
720
|
+
activity_score INT
|
|
721
|
+
) PARTITIONED BY (activity_date);
|
|
722
|
+
|
|
723
|
+
-- 插入示例数据 (模拟大量用户)
|
|
724
|
+
INSERT INTO user_activity_large
|
|
725
|
+
SELECT
|
|
726
|
+
1000 + row_number() OVER() as user_id,
|
|
727
|
+
DATE('2024-01-15') as activity_date,
|
|
728
|
+
CAST(RAND() * 100 AS INT) as activity_score
|
|
729
|
+
FROM (
|
|
730
|
+
SELECT 1 as dummy FROM VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10) t1
|
|
731
|
+
CROSS JOIN (SELECT 1 as dummy FROM VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10) t2)
|
|
732
|
+
CROSS JOIN (SELECT 1 as dummy FROM VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10) t3)
|
|
733
|
+
) t;
|
|
734
|
+
|
|
735
|
+
-- 添加更多日期的数据
|
|
736
|
+
INSERT INTO user_activity_large
|
|
737
|
+
SELECT
|
|
738
|
+
1500 + row_number() OVER() as user_id,
|
|
739
|
+
DATE('2024-01-16') as activity_date,
|
|
740
|
+
CAST(RAND() * 100 AS INT) as activity_score
|
|
741
|
+
FROM (
|
|
742
|
+
SELECT 1 as dummy FROM VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10) t1
|
|
743
|
+
CROSS JOIN (SELECT 1 as dummy FROM VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10) t2)
|
|
744
|
+
CROSS JOIN (SELECT 1 as dummy FROM VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10) t3)
|
|
745
|
+
) t;
|
|
746
|
+
```
|
|
747
|
+
|
|
748
|
+
#### 6.2 高效用户分页
|
|
749
|
+
|
|
750
|
+
```sql
|
|
751
|
+
-- 高效用户分页实现
|
|
752
|
+
WITH active_users AS (
|
|
753
|
+
SELECT group_bitmap_state(user_id) as all_users
|
|
754
|
+
FROM user_activity_large
|
|
755
|
+
WHERE activity_date >= '2024-01-01'
|
|
756
|
+
AND activity_score >= 50 -- 高活跃用户
|
|
757
|
+
),
|
|
758
|
+
pagination_base AS (
|
|
759
|
+
SELECT
|
|
760
|
+
all_users,
|
|
761
|
+
bitmap_cardinality(all_users) as total_users,
|
|
762
|
+
CEIL(bitmap_cardinality(all_users) / 100.0) as total_pages
|
|
763
|
+
FROM active_users
|
|
764
|
+
)
|
|
765
|
+
-- 使用更简单的分页实现
|
|
766
|
+
SELECT
|
|
767
|
+
1 as page_num,
|
|
768
|
+
100 as page_size,
|
|
769
|
+
bitmap_cardinality(pb.all_users) as total_users_available,
|
|
770
|
+
size(bitmap_to_array(bitmap_subset_limit(pb.all_users, 0, 100))) as actual_users_in_page,
|
|
771
|
+
bitmap_to_array(bitmap_subset_limit(pb.all_users, 0, 100)) as user_ids
|
|
772
|
+
FROM pagination_base pb
|
|
773
|
+
|
|
774
|
+
UNION ALL
|
|
775
|
+
|
|
776
|
+
SELECT
|
|
777
|
+
2 as page_num,
|
|
778
|
+
100 as page_size,
|
|
779
|
+
bitmap_cardinality(pb.all_users) as total_users_available,
|
|
780
|
+
size(bitmap_to_array(bitmap_subset_limit(pb.all_users, 100, 100))) as actual_users_in_page,
|
|
781
|
+
bitmap_to_array(bitmap_subset_limit(pb.all_users, 100, 100)) as user_ids
|
|
782
|
+
FROM pagination_base pb
|
|
783
|
+
|
|
784
|
+
UNION ALL
|
|
785
|
+
|
|
786
|
+
SELECT
|
|
787
|
+
3 as page_num,
|
|
788
|
+
100 as page_size,
|
|
789
|
+
bitmap_cardinality(pb.all_users) as total_users_available,
|
|
790
|
+
size(bitmap_to_array(bitmap_subset_limit(pb.all_users, 200, 100))) as actual_users_in_page,
|
|
791
|
+
bitmap_to_array(bitmap_subset_limit(pb.all_users, 200, 100)) as user_ids
|
|
792
|
+
FROM pagination_base pb
|
|
793
|
+
|
|
794
|
+
ORDER BY page_num;
|
|
795
|
+
```
|
|
796
|
+
|
|
797
|
+
#### 6.3 用户随机采样
|
|
798
|
+
|
|
799
|
+
<= 10
|
|
800
|
+
THEN range_sample_users
|
|
801
|
+
ELSE NULL END as range_sample_preview -- 只显示前10个避免过长
|
|
802
|
+
FROM sampling_analysis
|
|
803
|
+
ORDER BY total_users DESC;
|
|
804
|
+
```
|
|
805
|
+
|
|
806
|
+
***
|
|
807
|
+
|
|
808
|
+
## 🔧 BITMAP函数技术指南
|
|
809
|
+
|
|
810
|
+
### 核心函数分类
|
|
811
|
+
|
|
812
|
+
#### 1. 构建和转换函数
|
|
813
|
+
|
|
814
|
+
| 函数 | 用途 | 正确语法 | 注意事项 |
|
|
815
|
+
| ---------------------- | ------- | ---------------------------------------------------- | ------ |
|
|
816
|
+
| `bitmap_build()` | 从数组构建位图 | `SELECT bitmap_to_array(bitmap_build(array(1,2,3)))` | 不支持空数组 |
|
|
817
|
+
| `bitmap_to_array()` | 位图转数组显示 | `SELECT bitmap_to_array(bitmap_obj)` | 结果展示必需 |
|
|
818
|
+
| `bitmap_cardinality()` | 计算元素数量 | `SELECT bitmap_cardinality(bitmap_obj)` | 高效计数 |
|
|
819
|
+
| `binary_to_bitmap()` | 二进制转位图 | `SELECT binary_to_bitmap(binary_data)` | 序列化恢复 |
|
|
820
|
+
| `bitmap_to_binary()` | 位图转二进制 | `SELECT bitmap_to_binary(bitmap_obj)` | 序列化存储 |
|
|
821
|
+
|
|
822
|
+
#### 2. 集合运算函数
|
|
823
|
+
|
|
824
|
+
| 函数 | 数学概念 | 业务应用 | 正确语法 |
|
|
825
|
+
| ----------------- | ------ | ------ | --------------------------------------------------------- |
|
|
826
|
+
| `bitmap_and()` | 交集 A∩B | 用户重叠分析 | `SELECT bitmap_to_array(bitmap_and(bitmap1, bitmap2))` |
|
|
827
|
+
| `bitmap_or()` | 并集 A∪B | 用户去重合并 | `SELECT bitmap_to_array(bitmap_or(bitmap1, bitmap2))` |
|
|
828
|
+
| `bitmap_xor()` | 异或 A⊕B | 差异用户识别 | `SELECT bitmap_to_array(bitmap_xor(bitmap1, bitmap2))` |
|
|
829
|
+
| `bitmap_andnot()` | 差集 A-B | 流失用户分析 | `SELECT bitmap_to_array(bitmap_andnot(bitmap1, bitmap2))` |
|
|
830
|
+
|
|
831
|
+
#### 3. 高效基数计算函数(推荐优先使用)
|
|
832
|
+
|
|
833
|
+
| 函数 | 性能优势 | 适用场景 |
|
|
834
|
+
| ----------------------------- | -------- | --------- |
|
|
835
|
+
| `bitmap_and_cardinality()` | 无需构建完整交集 | 只关心重叠用户数量 |
|
|
836
|
+
| `bitmap_or_cardinality()` | 无需构建完整并集 | 只关心总用户数量 |
|
|
837
|
+
| `bitmap_xor_cardinality()` | 无需构建完整异或 | 只关心差异用户数量 |
|
|
838
|
+
| `bitmap_andnot_cardinality()` | 无需构建完整差集 | 只关心独有用户数量 |
|
|
839
|
+
|
|
840
|
+
#### 4. 聚合函数
|
|
841
|
+
|
|
842
|
+
| 函数 | 返回类型 | 使用场景 | 正确语法 |
|
|
843
|
+
| ---------------------- | --------- | ------------ | --------------------------------------------------------------------------------- |
|
|
844
|
+
| `group_bitmap()` | INT (哈希值) | 快速去重计数 | `SELECT group_bitmap(column) FROM table GROUP BY category` |
|
|
845
|
+
| `group_bitmap_state()` | bitmap对象 | 需要后续bitmap运算 | `SELECT bitmap_to_array(group_bitmap_state(column)) FROM table GROUP BY category` |
|
|
846
|
+
|
|
847
|
+
#### 5. 高级函数
|
|
848
|
+
|
|
849
|
+
| 函数 | 用途 | 语法示例 |
|
|
850
|
+
| -------------------------- | ------- | -------------------------------------------------------------------------- |
|
|
851
|
+
| `bitmap_subset_limit()` | 分页/限制取样 | `SELECT bitmap_to_array(bitmap_subset_limit(bitmap, 0, 100))` |
|
|
852
|
+
| `bitmap_subset_in_range()` | 范围采样 | `SELECT bitmap_to_array(bitmap_subset_in_range(bitmap, min_val, max_val))` |
|
|
853
|
+
| `bitmap_min()` | 获取最小值 | `SELECT bitmap_min(bitmap)` |
|
|
854
|
+
| `bitmap_max()` | 获取最大值 | `SELECT bitmap_max(bitmap)` |
|
|
855
|
+
| `bitmap_contains()` | 包含检查 | `SELECT bitmap_contains(bitmap, value)` |
|
|
856
|
+
|
|
857
|
+
#### 6. 位运算函数
|
|
858
|
+
|
|
859
|
+
| 函数 | 用途 | 应用场景 |
|
|
860
|
+
| ------------- | ---- | ---- |
|
|
861
|
+
| `bit_or()` | 位或运算 | 权限合并 |
|
|
862
|
+
| `bit_count()` | 位计数 | 权限统计 |
|
|
863
|
+
| `&` 操作符 | 位与运算 | 权限验证 |
|
|
864
|
+
|
|
865
|
+
***
|
|
866
|
+
|
|
867
|
+
## ⚠️ 常见错误与解决方案
|
|
868
|
+
|
|
869
|
+
### 1. 显示问题
|
|
870
|
+
|
|
871
|
+
```sql
|
|
872
|
+
-- ❌ 错误: 客户端无法显示bitmap类型
|
|
873
|
+
SELECT bitmap_build(array(1,2,3))
|
|
874
|
+
|
|
875
|
+
-- ✅ 正确: 必须转换为数组显示
|
|
876
|
+
SELECT bitmap_to_array(bitmap_build(array(1,2,3)))
|
|
877
|
+
```
|
|
878
|
+
|
|
879
|
+
### 2. 空集合处理
|
|
880
|
+
|
|
881
|
+
```sql
|
|
882
|
+
-- ❌ 错误: 会导致语法错误
|
|
883
|
+
SELECT bitmap_build(array())
|
|
884
|
+
|
|
885
|
+
-- ✅ 正确: 使用NULL或条件判断
|
|
886
|
+
SELECT CASE
|
|
887
|
+
WHEN array_size(my_array) >
|
|
888
|
+
|
|
889
|
+
### 1. 函数名称混淆 ✅
|
|
890
|
+
|
|
891
|
+
```sql
|
|
892
|
+
-- ❌ 错误: bitmap_union函数不存在
|
|
893
|
+
SELECT bitmap_union(bitmap1, bitmap2)
|
|
894
|
+
|
|
895
|
+
-- ✅ 正确: 并集运算使用bitmap_or
|
|
896
|
+
SELECT bitmap_or(bitmap1, bitmap2)
|
|
897
|
+
```
|
|
898
|
+
|
|
899
|
+
### 2. 空集合处理问题 ✅
|
|
900
|
+
|
|
901
|
+
(内容缺失)
|
|
902
|
+
|
|
903
|
+
### 3. 日期时间格式问题 ✅
|
|
904
|
+
|
|
905
|
+
(内容缺失)
|
|
906
|
+
|
|
907
|
+
### 4. 聚合函数返回类型混淆 ✅
|
|
908
|
+
|
|
909
|
+
```sql
|
|
910
|
+
-- ❌ 错误: group_bitmap返回INT,不能转数组
|
|
911
|
+
SELECT bitmap_to_array(group_bitmap(column))
|
|
912
|
+
|
|
913
|
+
-- ✅ 正确: group_bitmap_state返回bitmap类型
|
|
914
|
+
SELECT bitmap_to_array(group_bitmap_state(column))
|
|
915
|
+
```
|
|
916
|
+
|
|
917
|
+
### 5. 列名歧义问题
|
|
918
|
+
|
|
919
|
+
```sql
|
|
920
|
+
-- ❌ 错误: JOIN后列名歧义
|
|
921
|
+
SELECT user_id FROM table1 t1 JOIN table2 t2 ON t1.id = t2.id
|
|
922
|
+
|
|
923
|
+
-- ✅ 正确: 明确指定表别名
|
|
924
|
+
SELECT t1.user_id FROM table1 t1 JOIN table2 t2 ON t1.id = t2.id
|
|
925
|
+
```
|
|
926
|
+
|
|
927
|
+
### 6. 数组访问语法问题
|
|
928
|
+
|
|
929
|
+
```sql
|
|
930
|
+
-- ❌ 错误: 数组访问可能越界或语法不正确
|
|
931
|
+
SELECT array_col[size(array_col)]
|
|
932
|
+
|
|
933
|
+
-- ✅ 正确: 使用0-based索引和边界检查
|
|
934
|
+
SELECT CASE
|
|
935
|
+
WHEN size(array_col) > 0
|
|
936
|
+
THEN array_col[size(array_col)-1]
|
|
937
|
+
ELSE NULL
|
|
938
|
+
END
|
|
939
|
+
```
|
|
940
|
+
|
|
941
|
+
### 7. CTE重复引用问题
|
|
942
|
+
|
|
943
|
+
```sql
|
|
944
|
+
-- ❌ 可能有问题: UNION ALL中多次引用同一CTE
|
|
945
|
+
WITH base_data AS (SELECT ...)
|
|
946
|
+
SELECT ... FROM base_data
|
|
947
|
+
UNION ALL
|
|
948
|
+
SELECT ... FROM base_data -- 可能导致重复结果
|
|
949
|
+
|
|
950
|
+
-- ✅ 建议: 简化查询结构或使用临时表
|
|
951
|
+
```
|
|
952
|
+
|
|
953
|
+
***
|
|
954
|
+
|
|
955
|
+
## 🎯 优化建议
|
|
956
|
+
|
|
957
|
+
### 1. 性能优化
|
|
958
|
+
|
|
959
|
+
* **优先使用基数计算函数**: 当只需要数量时,使用`bitmap_xxx_cardinality()`而不是先构建再计算
|
|
960
|
+
* **合理使用聚合**: 批量处理时使用`group_bitmap_state()`而不是多次单独查询
|
|
961
|
+
* **避免中间结果**: 直接计算最终结果,减少临时bitmap对象的创建
|
|
962
|
+
|
|
963
|
+
### 2. 内存优化
|
|
964
|
+
|
|
965
|
+
* **及时转换显示**: bitmap对象仅用于计算,显示时立即转换为数组
|
|
966
|
+
* **避免不必要的完整集合构建**: 能用基数计算就不构建完整bitmap
|
|
967
|
+
* **分页处理大数据**: 使用`bitmap_subset_limit()`进行分页,避免一次性加载所有数据
|
|
968
|
+
|
|
969
|
+
### 3. 业务逻辑优化
|
|
970
|
+
|
|
971
|
+
* **合理设计位权限**: 权限位掩码设计要考虑未来扩展性
|
|
972
|
+
* **用户分组策略**: 根据业务需要选择合适的bitmap分组维度
|
|
973
|
+
* **采样策略**: 大数据分析时合理使用采样减少计算成本
|
|
974
|
+
|
|
975
|
+
### 4. SQL编写最佳实践
|
|
976
|
+
|
|
977
|
+
* **明确列名**: JOIN查询中必须使用表别名避免歧义
|
|
978
|
+
* **边界检查**: 数组访问前进行长度检查
|
|
979
|
+
* **简化CTE**: 避免复杂的CTE嵌套和重复引用
|
|
980
|
+
|
|
981
|
+
***
|
|
982
|
+
|
|
983
|
+
## ✅ 最佳实践检查清单
|
|
984
|
+
|
|
985
|
+
### 开发阶段
|
|
986
|
+
|
|
987
|
+
* [ ] 所有bitmap结果都使用`bitmap_to_array()`转换显示
|
|
988
|
+
* [ ] 优先使用`bitmap_xxx_cardinality()`函数进行数量计算
|
|
989
|
+
* [ ] 正确区分`group_bitmap()`和`group_bitmap_state()`的使用场景
|
|
990
|
+
* [ ] 建表语句包含必要的分区和索引设计
|
|
991
|
+
* [ ] 示例数据足够验证业务逻辑
|
|
992
|
+
* [ ] JOIN查询使用明确的表别名避免列名歧义
|
|
993
|
+
* [ ] 数组访问前进行边界检查
|
|
994
|
+
|
|
995
|
+
### 查询优化
|
|
996
|
+
|
|
997
|
+
* [ ] 复杂分析使用CTE提高可读性
|
|
998
|
+
* [ ] 大数据量查询考虑分页和采样
|
|
999
|
+
* [ ] 集合运算优先考虑是否只需要基数
|
|
1000
|
+
* [ ] 避免在WHERE条件中使用复杂的bitmap运算
|
|
1001
|
+
* [ ] 避免过度复杂的CTE嵌套结构
|
|
1002
|
+
|
|
1003
|
+
### 生产部署
|
|
1004
|
+
|
|
1005
|
+
* [ ] 验证所有SQL在云器环境中正确执行
|
|
1006
|
+
* [ ] 建立适当的监控和告警机制
|
|
1007
|
+
* [ ] 设计合理的数据保留和清理策略
|
|
1008
|
+
* [ ] 文档化业务逻辑和技术实现
|
|
1009
|
+
|
|
1010
|
+
***
|
|
1011
|
+
|
|
1012
|
+
## 🧹 环境清理
|
|
1013
|
+
|
|
1014
|
+
完成所有实战场景后,建议清理测试环境以释放资源。
|
|
1015
|
+
|
|
1016
|
+
### 快速清理脚本
|
|
1017
|
+
|
|
1018
|
+
```sql
|
|
1019
|
+
-- 清理所有测试表
|
|
1020
|
+
DROP TABLE IF EXISTS user_activity;
|
|
1021
|
+
DROP TABLE IF EXISTS user_behavior;
|
|
1022
|
+
DROP TABLE IF EXISTS item_category;
|
|
1023
|
+
DROP TABLE IF EXISTS ab_test_assignments;
|
|
1024
|
+
DROP TABLE IF EXISTS conversion_events;
|
|
1025
|
+
DROP TABLE IF EXISTS user_registrations;
|
|
1026
|
+
DROP TABLE IF EXISTS user_activations;
|
|
1027
|
+
DROP TABLE IF EXISTS user_retention;
|
|
1028
|
+
DROP TABLE IF EXISTS user_payments;
|
|
1029
|
+
DROP TABLE IF EXISTS permissions;
|
|
1030
|
+
DROP TABLE IF EXISTS roles;
|
|
1031
|
+
DROP TABLE IF EXISTS user_roles;
|
|
1032
|
+
DROP TABLE IF EXISTS users;
|
|
1033
|
+
DROP TABLE IF EXISTS user_activity_large;
|
|
1034
|
+
```
|
|
1035
|
+
|
|
1036
|
+
### 清理确认
|
|
1037
|
+
|
|
1038
|
+
```sql
|
|
1039
|
+
-- 验证清理结果
|
|
1040
|
+
SHOW TABLES;
|
|
1041
|
+
```
|
|
1042
|
+
|
|
1043
|
+
***
|
|
1044
|
+
|
|
1045
|
+
## 🌐 运行环境要求
|
|
1046
|
+
|
|
1047
|
+
### 函数兼容性
|
|
1048
|
+
|
|
1049
|
+
本指南中使用的核心函数及其要求:
|
|
1050
|
+
|
|
1051
|
+
#### BITMAP核心函数
|
|
1052
|
+
|
|
1053
|
+
* `bitmap_build()` - 构建位图
|
|
1054
|
+
* `bitmap_to_array()` - 位图转数组(必需,用于结果展示)
|
|
1055
|
+
* `bitmap_cardinality()` - 计算基数
|
|
1056
|
+
* `group_bitmap_state()` - 分组聚合位图
|
|
1057
|
+
|
|
1058
|
+
#### 集合运算函数
|
|
1059
|
+
|
|
1060
|
+
* `bitmap_and()` / `bitmap_and_cardinality()` - 交集运算
|
|
1061
|
+
* `bitmap_or()` / `bitmap_or_cardinality()` - 并集运算
|
|
1062
|
+
* `bitmap_andnot()` / `bitmap_andnot_cardinality()` - 差集运算
|
|
1063
|
+
* `bitmap_xor()` / `bitmap_xor_cardinality()` - 异或运算
|
|
1064
|
+
|
|
1065
|
+
#### 位运算函数
|
|
1066
|
+
|
|
1067
|
+
* `bit_or()` - 位或运算
|
|
1068
|
+
* `bit_count()` - 位计数
|
|
1069
|
+
* `&` - 位与运算符
|
|
1070
|
+
|
|
1071
|
+
#### 高级函数
|
|
1072
|
+
|
|
1073
|
+
* `bitmap_subset_limit()` - 分页采样
|
|
1074
|
+
* `bitmap_subset_in_range()` - 范围采样
|
|
1075
|
+
* `bitmap_min()` - 最小值获取
|
|
1076
|
+
* `bitmap_contains()` - 包含检查
|
|
1077
|
+
|
|
1078
|
+
#### 辅助函数
|
|
1079
|
+
|
|
1080
|
+
* `size()` - 数组长度
|
|
1081
|
+
* `RAND()` - 随机数生成
|
|
1082
|
+
* `GREATEST()` / `LEAST()` - 取最大最小值
|
|
1083
|
+
|
|
1084
|
+
### 数据类型要求
|
|
1085
|
+
|
|
1086
|
+
* **用户ID**: 建议使用BIGINT类型,支持大规模用户
|
|
1087
|
+
* **日期类型**: 使用DATE类型,插入时使用`DATE('2024-01-15')`格式
|
|
1088
|
+
* **时间戳类型**: 使用TIMESTAMP类型
|
|
1089
|
+
* **权限掩码**: 使用 BIGINT 类型,支持 64 位权限
|
|
1090
|
+
|
|
1091
|
+
***
|
|
1092
|
+
|
|
1093
|
+
## 📚 总结与最佳实践
|
|
1094
|
+
|
|
1095
|
+
### 🎯 核心价值总结
|
|
1096
|
+
|
|
1097
|
+
通过本指南的6个实战场景,我们展示了云器Lakehouse BITMAP函数在用户行为分析和精准营销中的强大能力:
|
|
1098
|
+
|
|
1099
|
+
#### 业务价值实现
|
|
1100
|
+
|
|
1101
|
+
1. **多渠道营销优化**: 精确计算用户重叠,避免重复投放,提升ROI
|
|
1102
|
+
2. **个性化推荐提升**: 基于用户兴趣相似度,实现精准推荐,提高转化率
|
|
1103
|
+
3. **A/B测试精准化**: 消除样本偏差,获得可信的实验结果
|
|
1104
|
+
4. **用户生命周期洞察**: 识别关键流失节点,优化产品体验和运营策略
|
|
1105
|
+
5. **权限管理高效化**: 位运算实现毫秒级权限验证,支撑高并发系统
|
|
1106
|
+
6. **大数据处理优化**: 高效分页和采样,支持海量数据的敏捷分析
|
|
1107
|
+
|
|
1108
|
+
#### 技术优势总结
|
|
1109
|
+
|
|
1110
|
+
* **内存效率**: BITMAP存储比传统数组节省90%以上存储空间
|
|
1111
|
+
* **计算性能**: 集合运算性能比传统SQL JOIN提升10-100倍
|
|
1112
|
+
* **精确性**: 避免HyperLogLog等概率算法的误差问题
|
|
1113
|
+
* **可扩展性**: 支持百万到千万级用户的实时分析
|
|
1114
|
+
|
|
1115
|
+
### 🏆 成功实施要点
|
|
1116
|
+
|
|
1117
|
+
#### 1. 函数使用规范
|
|
1118
|
+
|
|
1119
|
+
* ✅ 所有BITMAP结果必须用`bitmap_to_array()`转换显示
|
|
1120
|
+
* ✅ 优先使用`bitmap_xxx_cardinality()`函数,避免构建完整集合
|
|
1121
|
+
* ✅ 区分`group_bitmap()`(返回INT)和`group_bitmap_state()`(返回bitmap)
|
|
1122
|
+
* ✅ 空集合使用NULL处理,不使用`bitmap_build(array())`
|
|
1123
|
+
* ✅ 日期时间数据使用正确的类型转换格式(`DATE()`、`TIMESTAMP`)
|
|
1124
|
+
|
|
1125
|
+
#### 2. SQL编写最佳实践
|
|
1126
|
+
|
|
1127
|
+
* ✅ 使用CTE提高复杂查询的可读性
|
|
1128
|
+
* ✅ 合理使用分区,提升查询性能
|
|
1129
|
+
* ✅ 建表时添加`IF NOT EXISTS`,避免重复创建
|
|
1130
|
+
* ✅ 日期时间数据插入使用`DATE()`和`TIMESTAMP`关键字
|
|
1131
|
+
* ✅ JOIN查询使用明确的表别名避免列名歧义
|
|
1132
|
+
* ✅ 数组访问前进行边界检查
|
|
1133
|
+
|
|
1134
|
+
#### 3. 业务应用策略
|
|
1135
|
+
|
|
1136
|
+
* ✅ 先理解业务需求和痛点,再选择合适的技术方案
|
|
1137
|
+
* ✅ 从小规模数据验证开始,逐步扩展到生产环境
|
|
1138
|
+
* ✅ 建立监控和告警机制,确保系统稳定运行
|
|
1139
|
+
* ✅ 定期分析查询性能,持续优化SQL语句
|
|
1140
|
+
|
|
1141
|
+
### 🔄 持续改进建议
|
|
1142
|
+
|
|
1143
|
+
#### 短期优化
|
|
1144
|
+
|
|
1145
|
+
* 根据实际业务数据量调整示例中的数值范围
|
|
1146
|
+
* 结合具体业务场景,扩展更多分析维度
|
|
1147
|
+
* 建立标准化的SQL模板库,提高开发效率
|
|
1148
|
+
|
|
1149
|
+
#### 长期发展
|
|
1150
|
+
|
|
1151
|
+
* 探索BITMAP与机器学习模型的结合应用
|
|
1152
|
+
* 研究更复杂的用户画像和行为预测场景
|
|
1153
|
+
* 建立基于BITMAP的实时数据分析平台
|
|
1154
|
+
|
|
1155
|
+
### 🎓 学习路径建议
|
|
1156
|
+
|
|
1157
|
+
1. **基础阶段**: 掌握BITMAP基本函数的使用方法(场景1-2)
|
|
1158
|
+
2. **应用阶段**: 选择贴近业务的场景进行实践(场景3-4)
|
|
1159
|
+
3. **优化阶段**: 深入学习性能优化和错误处理技巧(场景5)
|
|
1160
|
+
4. **创新阶段**: 结合具体业务需求,创造性地应用BITMAP函数(场景6)
|
|
1161
|
+
|
|
1162
|
+
### 🚀 生产环境部署建议
|
|
1163
|
+
|
|
1164
|
+
**部署准备**:
|
|
1165
|
+
|
|
1166
|
+
* 所有场景都经过充分测试,可以直接参考使用
|
|
1167
|
+
* 根据实际数据量调整分区策略和索引设计
|
|
1168
|
+
* 建立完善的监控和告警机制
|
|
1169
|
+
|
|
1170
|
+
**监控策略**:
|
|
1171
|
+
|
|
1172
|
+
* 监控BITMAP查询的执行时间和资源使用情况
|
|
1173
|
+
* 建立关键业务指标的实时监控
|
|
1174
|
+
* 定期分析查询性能,持续优化
|
|
1175
|
+
|
|
1176
|
+
**扩展建议**:
|
|
1177
|
+
|
|
1178
|
+
* 根据业务增长调整分区策略
|
|
1179
|
+
* 考虑建立BITMAP函数的标准库
|
|
1180
|
+
* 培训团队成员掌握BITMAP最佳实践
|
|
1181
|
+
|
|
1182
|
+
遵循本指南的最佳实践,将帮助您充分发挥云器Lakehouse BITMAP函数的强大功能,构建高效、稳定的数据分析系统,为业务决策提供强有力的数据支撑!
|
|
1183
|
+
|
|
1184
|
+
## 参考资料
|
|
1185
|
+
|
|
1186
|
+
[Bitmap函数](bitmap_function.md)
|
|
1187
|
+
|
|
1188
|
+
[Bit函数](bit_function.md)
|
|
1189
|
+
|
|
1190
|
+
*注:本指南基于 2025 年 5 月的云器 Lakehouse 版本测试结果,后续版本可能有所变化。请定期检查官方文档以获取最新信息。*
|