Hive
CREATE EXTERNAL TABLE jc.judgmentDocumentods(
odsId STRING,
caseTitle STRING,
plaintiff STRING,
caseTypeShow INT,
releaseDate STRING,
caseSource BIGINT,
firstAscertain DOUBLE,
lawFirm array<STRING>,
lawClauseList array<
struct<
attribute:STRING,
lawName:STRING,
Items:array<
struct<
content:STRING,
name:STRING
>
>
>
>) COMMENT 'cpws-ods' PARTITIONED BY (pt STRING COMMENT 'partition')
STORED AS parquet
lOCATION '/dw/ods/judgmentDocumentFromFile'
官网链接:https://ci.apache.org/projects/flink/flink-docs-release-1.11/zh/dev/table/hive/hive_dialect.html
Kafka
官网链接:https://ci.apache.org/projects/flink/flink-docs-release-1.11/zh/dev/table/connectors/kafka.html
Elasticserach
Mongo
待定义