250x250
반응형
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
- airflow subdag
- requests
- API Gateway
- hadoop
- subdag
- login crawling
- Counterfactual Explanations
- 유튜브 API
- flask
- GenericGBQException
- BigQuery
- integrated gradient
- Retry
- 상관관계
- chatGPT
- tensorflow text
- XAI
- Airflow
- TensorFlow
- UDF
- spark udf
- gather_nd
- GCP
- 공분산
- youtube data
- top_k
- grad-cam
- API
- session 유지
- correlation
Archives
- Today
- Total
데이터과학 삼학년
[DB] overwrite VS upsert 본문
반응형
overwrite
- 말그대로 덮어쓰는 행위, 즉 기존 테이블을 대체하는 replace와 같음
- truncated라고 불릴 수 있음 -> 기존 테이블을 비우고, 새로운 것으로 채워넣는 행위
upsert
- update & insert를 의미함
- upsert하려는 테이블에 이미 동일 유니크 키의 값이 있다면, 새로운 값으로 update를 하고, 없다면 insert를 하는 개념
728x90
반응형
LIST
'Data Visualization & DataBase' 카테고리의 다른 글
ODS(Operational Data Store), 팩트 테이블, 디멘션 테이블 (0) | 2023.05.29 |
---|---|
[Impala] with 문(clause) 결과셋을 임의 저장하지 않음 (0) | 2023.02.13 |
[DB] JOIN condition에 OR 포함? (0) | 2022.11.26 |
Fact Table / Dimension Table (0) | 2022.10.23 |
효율적이고 쉬운 시각화 ipython interact + plotly (px) (0) | 2020.11.17 |
Comments