달나라 노트

Hive : show create schema (schema information) 본문

SQL/Apache Hive

Hive : show create schema (schema information)

CosmosProject 2024. 8. 6. 21:08
728x90
반응형

 

 

 

Hive에서 schema의 정보를 보고 싶으면 show create schema을 이용하면 됩니다.

 

Syntax

show create schema schema_name
;

 

 

 

 

show create schema test_schema
;



-- Result
CREATE DATABASE `test_schema`
LOCATION
    '~~'

 

show create schema를 사용하면 위처럼 schema와 schema의 타겟 위치가 출력됩니다.

 

 

 

 

 

728x90
반응형
Comments