https://github.com/awslabs/aws-glue-libs
AWS Glue Libraries are additions and enhancements to Spark for ETL operations.
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.1%) to scientific vocabulary
Repository
AWS Glue Libraries are additions and enhancements to Spark for ETL operations.
Basic Info
- Host: GitHub
- Owner: awslabs
- License: other
- Language: Python
- Default Branch: master
- Size: 158 KB
Statistics
- Stars: 679
- Watchers: 41
- Forks: 309
- Open Issues: 123
- Releases: 3
Metadata Files
README.md
aws-glue-libs
This repository supports python libraries for local development of glue pyspark batch jobs. Glue streaming is supported in the separate repository aws-glue-streaming-libs.
Contents
This repository contains:
* awsglue - the Python libary you can use to author AWS Glue ETL job. This library extends Apache Spark with additional data types and operations for ETL workflows. It's an interface for Glue ETL library in Python.
* bin - this directory hosts several executables that allow you to run the Python library locally or open up a PySpark shell to run Glue Spark code interactively.
Python versions by Glue Version
Different Glue versions support different Python versions. The following table below is for your reference, which also includes the associated repository's branch for each glue version.
| Glue Version | Python 3 Version | aws-glue-libs branch | |---|---|----------------------| | 2.0 | 3.7 | glue-2.0 | | 3.0 | 3.7 | glue-3.0 | | 4.0 | 3.10 | master |
You may refer to AWS Glue's official release notes for more information
Setup guide
If you haven't already, please refer to the official AWS Glue Python local development documentation for the official setup documentation. The following is a summary of the AWS documentation:
The awsglue library provides only the Python interface to the Glue Spark runtime, you need the Glue ETL jar to run it locally. The jar is now available via the maven build system in a s3 backed maven repository. Here are the steps to set up your dev environment locally.
- install Apache Maven from the following location: https://aws-glue-etl-artifacts.s3.amazonaws.com/glue-common/apache-maven-3.6.0-bin.tar.gz
- use
copy-dependenciestarget in Apache Maven to download the jar from S3 to your local dev environment. - download and extract the Apache Spark distribution based on the Glue version you're using:
- Glue version 2.0:
https://aws-glue-etl-artifacts.s3.amazonaws.com/glue-2.0/spark-2.4.3-bin-hadoop2.8.tgz1 - Glue version 3.0:
https://aws-glue-etl-artifacts.s3.amazonaws.com/glue-3.0/spark-3.1.1-amzn-0-bin-3.2.1-amzn-3.tgz - Glue version 4.0:
https://aws-glue-etl-artifacts.s3.amazonaws.com/glue-4.0/spark-3.3.0-amzn-1-bin-3.3.3-amzn-0.tgz
- Glue version 2.0:
- export the
SPARK_HOMEenvironmental variable to the extracted location of the above Spark distribution. For example:Glue version 2.0: export SPARK_HOME=/home/$USER/spark-2.4.3-bin-hadoop2.8 Glue version 3.0: export SPARK_HOME=/home/$USER/spark-3.1.1-amzn-0-bin-3.2.1-amzn-3 Glue version 4.0: export SPARK_HOME=/home/$USER/spark-3.3.0-amzn-1-bin-3.3.3-amzn-0 - now you can run the executables in the
bindirectory to start a Glue Shell or submit a Glue Spark application.Glue shell: ./bin/gluepyspark Glue submit: ./bin/gluesparksubmit pytest: ./bin/gluepytest(Thegluepytestscript assumes that the pytest module is installed and available in thePATHenv variable)
Licensing
The libraries in this repository licensed under the Amazon Software License (the "License"). They may not be used except in compliance with the License, a copy of which is included here in the LICENSE file.
Release Notes
July 26 2023
- According to AWS Glue version support policy, branches for Glue 0.9 and 1.0 are removed as they are already deprecated.
August 27 2021
- The master branch has been modified from representing Glue 0.9 to Glue 3.0, we have also created a glue-0.9 branch to reflect the former state of the master branch with Glue 0.9. To rename your local clone of the older master branch and point to the glue-0.9 branch, you may use the following commands:
git branch -m master glue-0.9 git fetch origin git branch -u origin/glue-0.9 glue-0.9 git remote set-head origin -a
Owner
- Name: Amazon Web Services - Labs
- Login: awslabs
- Kind: organization
- Location: Seattle, WA
- Website: http://amazon.com/aws/
- Repositories: 914
- Profile: https://github.com/awslabs
AWS Labs
GitHub Events
Total
- Issues event: 18
- Watch event: 42
- Issue comment event: 37
- Fork event: 12
Last Year
- Issues event: 18
- Watch event: 42
- Issue comment event: 37
- Fork event: 12
Issues and Pull Requests
Last synced: 10 months ago
All Time
- Total issues: 99
- Total pull requests: 11
- Average time to close issues: about 1 year
- Average time to close pull requests: about 1 year
- Total issue authors: 94
- Total pull request authors: 9
- Average comments per issue: 2.45
- Average comments per pull request: 1.36
- Merged pull requests: 5
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 10
- Pull requests: 0
- Average time to close issues: about 1 month
- Average time to close pull requests: N/A
- Issue authors: 10
- Pull request authors: 0
- Average comments per issue: 0.3
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- andcau (2)
- purnima1612 (2)
- kherrera-ebsco (2)
- dandalf (2)
- DenisMurakhovskiy (2)
- bakulinav (1)
- marcin2x4 (1)
- gjgarryuan (1)
- AykCanDem (1)
- joekendal (1)
- MattHardner (1)
- aseychell (1)
- pmarko1711 (1)
- jimmymaise (1)
- AngeloCa (1)
Pull Request Authors
- wjhbr (2)
- svajiraya (2)
- macnev2013 (2)
- jornfranke (1)
- moyanod (1)
- mbeacom (1)
- adiaholic (1)
- acmcelwee (1)
- ghost (1)
- jesusch (1)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- com.amazonaws:AWSGlueETL 3.0.0