반응형
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 |
Tags
- hive
- gas
- Github
- SQL
- Tkinter
- Google Spreadsheet
- 파이썬
- google apps script
- Google Excel
- django
- matplotlib
- array
- math
- list
- PANDAS
- numpy
- PySpark
- c#
- Excel
- Kotlin
- Python
- Java
- dataframe
- PostgreSQL
- string
- Mac
- Apache
- GIT
- Redshift
Archives
- Today
- Total
목록pyspark database 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