镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Feature Request: Support other database such as clickhouse #2158

Open

Description

@wingerted

How to support clickhouse or mysql?

Activity

  1. skydoorkai commented on Jul 15, 2020

    @skydoorkai
    Collaborator

    In the current ElasticDL version, one way to support clickhouse or MySQL is using custom_data_reader_params.
    Shard is defined as (shard_name, start_index, num_record).
    Task is defined as (shard_name, start_index, end_index)
    Thus, need to put all required info to access clickhouse or MySQL in shard_name, which is a string.
    Also need to implement data reading in read_records using (shard_name, start_index, end_index).

    https://github.com/sql-machine-learning/elasticdl/blob/develop/docs/designs/custom_data_source_support.md

    We are working on supporting more general data sources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions