Is your feature request related to a problem? Please describe.
Additional information about the metadata source

Related Previous Issue : #168
@thinkcsww
๊ธฐ์กด ์ฌ์ฉํ๋ ๋ฉํ๋ฐ์ดํฐ ์์ธ ์กฐํ์ source.sourceInfo ์์ฑ์ด ์ถ๊ฐ๋์์ต๋๋ค.
(GET) /api/metadatas/{metadata_id}?projection=forDetailView
{
...
"source":{
...
"sourceInfo":{
"Partition Fields":[
],
"Detail Information":{
"Database:":"default",
"Owner:":"hive",
"CreateTime:":"Wed Jul 17 13:46:48 KST 2019",
"LastAccessTime:":"UNKNOWN",
"Retention:":"0",
"Location:":"hdfs://localhost:9000/user/hive/warehouse/sales25",
"Table Type:":"MANAGED_TABLE",
"Table Parameters:":null,
"COLUMN_STATS_ACCURATE":"{\\\"BASIC_STATS\\\":\\\"true\\\"}",
"numFiles":"0",
"numRows":"0",
"rawDataSize":"0",
"totalSize":"0",
"transient_lastDdlTime":"1563338808"
},
"Storage Information":{
"SerDe Library:":"org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe",
"InputFormat:":"org.apache.hadoop.mapred.TextInputFormat",
"OutputFormat:":"org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat",
"Compressed:":"No",
"Num Buckets:":"-1",
"Bucket Columns:":"[]",
"Sort Columns:":"[]",
"Storage Desc Params:":null,
"serialization.format":"1"
},
"Partition Information":{
}
},
"schema":"default"
},
...
}
}
{
...
"source":{
...
"sourceInfo":{
"TABLE_CATALOG":"def",
"TABLE_SCHEMA":"apm",
"TABLE_NAME":"alarm_group",
"TABLE_TYPE":"BASE TABLE",
"ENGINE":"InnoDB",
"VERSION":10,
"ROW_FORMAT":"Dynamic",
"TABLE_ROWS":2216,
"AVG_ROW_LENGTH":199,
"DATA_LENGTH":442368,
"MAX_DATA_LENGTH":0,
"INDEX_LENGTH":0,
"DATA_FREE":0,
"AUTO_INCREMENT":null,
"CREATE_TIME":"2019-06-04 15:13:00.0",
"UPDATE_TIME":null,
"CHECK_TIME":null,
"TABLE_COLLATION":"utf8_general_ci",
"CHECKSUM":null,
"CREATE_OPTIONS":"",
"TABLE_COMMENT":""
},
...
},
...
}
@koeun222 ๊ธฐ์กด์ Source Data Ingestion Info ๋์์ธ์ด sub title์ด ์์๋๋ฐ.. ํ์ํ๊ฒ ๋์์ด์. ํ depth ๋ ๋ง๋ค์ด์ฃผ์ธ์!!

@thinkcsww ํ์ฌ ๋์์ธ์ Source Data Ingestion Info ํ์์ key/value ํํ๋ก๋ง ๋์ด ์๋๋ฐ(์ ์ด๋ฏธ์ง์ ๋นจ๊ฐ๋ถ๋ถ!).. Hive์ ๊ฒฝ์ฐ Sub title์ด ํ์ํ์ฌ ๋์์ธ์ ์์ฒญํ์ต๋๋ค. ํผ๋ธ ๋์ค๋ฉด ์์
๋ถํ๋๋ ค์~
@ufoscw

ํด๋น ๊ฒฝ๋ก๋ก get ์์ฒญํ์ ๋ source.sourceInfo๊ฐ ์๋ ๊ฒ ๊ฐ์ต๋๋ค
@AnnieHwang ๋์์ธ ๊ณต์ ๋๋ฆฝ๋๋ค-

@thinkcsww
๊ณผ๊ฑฐ ์์ฑ๋ ๋ฉํ๋ฐ์ดํฐ๋ sourceInfo๊ฐ ์์ ์ ์์ต๋๋ค.
sourceInfo ์์ฑ์ด ์์ ๊ฒฝ์ฐ๋ Source Data Ingestion Information์ ์จ๊ฒจ์ฃผ์ธ์.
@ufoscw

๋ฉํ๋ฐ์ดํฐ๋ฅผ ์๋ก ์์ฑํด๋ณด์๋๋ฐ ์ฌ์ ํ sourceInfo๊ฐ ์์ต๋๋ค.
ํ์ธ ๋ถํ๋๋ฆฝ๋๋ค!
@thinkcsww
๋ฉ์ด๋ธ ์
๋ฐ์ดํธ ๋ฐ server ๋ชจ๋ ๋น๋ ํ์ธ๋ฐ๋๋๋ค.
@ufoscw
@thinkcsww
{
"sourceType":"JDBC",
"source":{
"source":{
"implementor":"HIVE"
}
}
}
@ufoscw
3.. JDBC(HIVE), Stage DB์ ๊ฒฝ์ฐ์๋

์ด๋ ๊ฒ ๋ณด์ฌ์ฃผ๊ณ
JDBC์ ๊ฒฝ์ฐ์๋

์ฌ๊ธฐ์ฒ๋ผ source information table ์์ ์ด์ด์ ์ญ ๋ณด์ฌ์ฃผ๋ฉด ๋ ๊น์??
์๋๋ฉด ๋ฐ๋ก ๊ตฌ๋ถํด์ source data ingestion information์ ๋ณด์ฌ์ฃผ๋ฉด ๋ ๊น์??
@thinkcsww ๋ฐ๋ก ๊ตฌ๋ถํ๋๊ฒ ๋ง์์. Source information์ ์์ฒ์ ๋ํ ์ค์์ ๋ณด๋ง ๋ณด์ฌ์ฃผ๊ณ , Source data ingestion information์ ์์ฒ์ ์์ธ ์ ๋ณด๋ฅผ ๋ํ๋ด๊ณ ์์ต๋๋ค. JDBC์ ์์ธ ์ ๋ณด๋ Source data ingestion information์ ์์ธํ๊ฒ ๋ํ๋ด์ค์ผ ํฉ๋๋ค.
@ufoscw @AnnieHwang
์์ ํ์ต๋๋ค.
@thinkcsww
์์
์๋ฃ ๋๋ฉด PR ์คํ ํ์ Review๋ก ์ฎ๊ฒจ์ฃผ์๋ฉด ๋ฉ๋๋ค.
@ufoscw
๋ค ํ์ธํ์ต๋๋ค!