Native SDK for Connectors 版本说明

Native SDK Example Java GitHub 连接器版本说明

2024 年 7 月 15 日

行为变更

  • 采纳了在 Connectors Native SDK 库版本 2.1.0 中所引入的新标识符方法相关的变更。

  • 在向导的连接配置步骤中,采用了 OAuth 作为身份验证机制。连接器不再需要用户创建包含 GitHub 凭据的 EXTERNAL ACCESS INTEGRATIONSECRET 对象。

新功能

  • 添加了资源管理过程处理程序及其回调的后端内部实现:

    • PUBLIC.CREATE_RESOURCE() 回调的实现在 com.snowflake.connectors.example.ingestion.create (https://github.com/snowflakedb/connectors-native-sdk/tree/main/templates/connectors-native-sdk-template/src/main/java/com/snowflake/connectors/example/ingestion/create) 中可用。

    • PUBLIC.ENABLE_RESOURCE() 过程的实现及其回调在 com.snowflake.connectors.example.ingestion.enable (https://github.com/snowflakedb/connectors-native-sdk/tree/main/templates/connectors-native-sdk-template/src/main/java/com/snowflake/connectors/example/ingestion/enable) 中可用。

    • PUBLIC.DISABLE_RESOURCE() 过程的实现及其回调在 com.snowflake.connectors.example.ingestion.disable (https://github.com/snowflakedb/connectors-native-sdk/tree/main/templates/connectors-native-sdk-template/src/main/java/com/snowflake/connectors/example/ingestion/disable) 中可用。

    • PUBLIC.UPDATE_RESOURCE() 过程的实现及其回调在 com.snowflake.connectors.example.ingestion.update (https://github.com/snowflakedb/connectors-native-sdk/tree/main/templates/connectors-native-sdk-template/src/main/java/com/snowflake/connectors/example/ingestion/update) 中可用。

  • 资源管理相关的 UI``Data sync`` 标签的变更:

    • 在资源列表中,为每个创建的资源显示其 resource_idnameresource_ingestion_definition_id 的值。

    • 增加了启用和禁用已创建资源的功能。

错误修复

  • 修正了 setup.sql 脚本,该脚本在应用过程版本升级/降级过程中出现故障。

2024 年 5 月 24 日

初始版本。

语言: 中文