반응형
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
- math
- Kotlin
- hive
- django
- Github
- string
- SQL
- PANDAS
- Mac
- Google Spreadsheet
- GIT
- 파이썬
- Redshift
- dataframe
- PostgreSQL
- matplotlib
- Apache
- array
- numpy
- Excel
- c#
- Java
- google apps script
- PySpark
- Tkinter
- Google Excel
- list
- Python
- gas
Archives
- Today
- Total
목록spark dataframe s3에 upload (1)
달나라 노트
Python pyspark : write, option, saveAsTable (spark dataframe을 AWS s3에 업로드하기)
spark dataframe은 table에 삽입될 수도 있지만 AWS s3 server에 upload될 수도 있습니다. 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')..
Python/Python pyspark
2021. 5. 19. 06:14