asdf2014 opened a new issue #922:
URL: https://github.com/apache/incubator-seatunnel/issues/922


   ### Search before asking
   
   - [X] I had searched in the 
[feature](https://github.com/apache/incubator-seatunnel/issues?q=is%3Aissue+label%3A%22Feature%22)
 and found no similar feature requirement.
   
   
   ### Description
   
   # Source plugin: Druid
   
   ## Description
   
   Read data from Apache Druid.
   
   ## Options
   
   | name            | type           | required | default value |
   | --------------- | -------------- | -------- | ------------- |
   | jdbc_url        | `String`       | yes      | -             |
   | datasource      | `String`       | yes      | -             |
   | start_timestamp | `Long`         | no       | -             |
   | end_timestamp   | `Long`         | no       | -             |
   | columns         | `List<String>` | no       | `*`           |
   
   
   ### jdbc_url [`String`]
   
   The URL of JDBC of Apache Druid.
   
   ### datasource [`String`]
   
   The DataSource name in Apache Druid.
   
   ### start_timestamp [`Long`]
   
   The start timestamp of DataSource.
   
   ### end_timestamp [`Long`]
   
   The end timestamp of DataSource.
   
   ### columns [`List<String>`]
   
   These columns that you want to query of DataSource.
   
   ### common options [string]
   
   Source Plugin common parameters, refer to [Source 
Plugin](./source-plugin.md) for details
   
   ## Example
   
   ```bash
   druid {
       jdbc_url = 
"jdbc:avatica:remote:url=http://localhost:8082/druid/v2/sql/avatica/";
       datasource = "wikipedia"
       start_timestamp = 1464710400
       end_timestamp = 1467302400
       columns = ["flags","page"]
   }
   ```
   
   
   
   ### Usage Scenario
   
   _No response_
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to