반응형
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 |
Tags
- django
- array
- PySpark
- 파이썬
- list
- GIT
- Python
- c#
- numpy
- Redshift
- dataframe
- Google Excel
- hive
- PostgreSQL
- matplotlib
- Github
- math
- Kotlin
- Java
- SQL
- Excel
- Google Spreadsheet
- Apache
- Tkinter
- PANDAS
- Mac
- google apps script
- string
- gas
Archives
- Today
- Total
목록spark dataframe을 table에 삽입하기 (1)
달나라 노트
Python pyspark : write, saveAsTable (spark dataframe을 database의 table에 삽입하기)
spark dataframe은 dataframe의 어떤 table안에 삽입될 수 있습니다. from pyspark.sql import SparkSession spark = SparkSession.builder\ # 1 .appName('Test_runner')\ .config('hive.mapred.mode', 'nonstrict')\ .config('hive.exec.dynamic.partition', 'true')\ .config('hive.exec.dynamic.partition.mode', 'nonstrict')\ .config('hive.exec.parallel', 'true')\ .config('hive.stats.fetch.column.stats', 'true')\ .config('hive...
Python/Python pyspark
2021. 5. 19. 06:09