반응형
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | ||||
| 4 | 5 | 6 | 7 | 8 | 9 | 10 |
| 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 |
| 25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- gas
- array
- Google Spreadsheet
- list
- PySpark
- hive
- Kotlin
- string
- 파이썬
- Github
- numpy
- PostgreSQL
- django
- SQL
- matplotlib
- PANDAS
- Java
- c#
- google apps script
- math
- dataframe
- Python
- Presto
- GIT
- Tkinter
- Apache
- Redshift
- Google Excel
- Excel
Archives
- Today
- Total
달나라 노트
Hive : show create schema (schema information) 본문
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
반응형
'SQL > Apache Hive' 카테고리의 다른 글
| Hive : alter table ~ drop partition, partition drop, partition 지우기, partition 삭제 (0) | 2024.08.22 |
|---|---|
| Hive : Partition table 만들기, partition에 insert하기 (0) | 2024.08.22 |
| Hive : show create table (table 정보 보기, table column list, table information) (0) | 2024.08.06 |
| Hive : percentile (백분률 구하기, 백분위 구하기) / 백분위로 중간값(median) 구하기 (0) | 2023.11.28 |
| Hive : split (특정 구분자로 문자열 나누기, 구분자 문자열 나누기) (0) | 2023.11.28 |
Comments