Skip to content

Commit

Permalink
add: 增加sqlserver支持说明
Browse files Browse the repository at this point in the history
  • Loading branch information
ligangc committed May 13, 2020
1 parent b3f7757 commit a2a8f1d
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/cmdParameters.md
Original file line number Diff line number Diff line change
@@ -9,7 +9,7 @@ The datafaker parameter contains 4 mandatory parameters and some optional parame
| dbtype| Data source type | string | Yes | None | The optional value is rdb, hive, kafka, hbase, es, file |
| connect | connection information | string| Yes | None | sqlachemy string for relational database and hive. <br>broker string for kafka<br>file path for file type<br>thrift host and port for hbase|
| table| table name | string | Yes | None | Abstract various data source operation units are abstracted into tables, tables in the database, topics in kafka, file names, hbase columns, mongos as collections|
| num | records number | int | Yes | None | must be 1 for kafka |
| num | records number | int | Yes | None | |
| auth | account and password | string | No | None | split by `:`, such as admin:12334 |
| meta | meta data file | string | No | None | meta file |
| metaj | 元数据文件 | string ||| meta file |
2 changes: 1 addition & 1 deletion doc/zh_CN/命令参数.md
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ datafaker参数包含4个必选参数和一些可选参数,如下表所示
|dbtype| 数据源类型 | string ||| 可选值为 rdb,mysql,hive, kafka, hbase, es, file |
| connect | 数据源连接信息 | string||| 关系型数据库和hive为 sqlachemy的连接串<br>kafka为broker连接串<br>file为文件路径<br>hbase为thrift host和端口|
| table| 表名 | string ||| 将各种数据源操作单位都抽象为表,数据库中为表,kafka中为topic,file为文件名,hbase为表,es为索引和type,mongo为集合|
| num | 数据条数 | int ||| 其中kafka必须为1 |
| num | 数据条数 | int ||| |
| auth | 账号密码 | string ||| 数据源的账号密码,以:分隔,例如 admin:12334 |
| meta | 元数据文件 | string ||| 若设定该参数,则忽略从数据源连接信息中读取远数据 |
| metaj | 元数据文件 | string ||| 自定义数据结构(一般用于json嵌套),metaj优先于meta参数 |

0 comments on commit a2a8f1d

Please sign in to comment.