You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 22, 2025. It is now read-only.
airflow dags test calculate_popular_movies `date -Iseconds`
110
+
```
111
+
112
+
5. Check the result of your DAG by running:
113
+
114
+
```shell
115
+
sqlite3 "$SQL_TABLE_NAME""select * from top_animation;"".exit"
116
+
```
117
+
118
+
You should see the following output:
119
+
120
+
```shell
121
+
$ sqlite3 "$SQL_TABLE_NAME""select * from top_animation;"".exit"
122
+
Toy Story 3 (2010)|8.3
123
+
Inside Out (2015)|8.2
124
+
How to Train Your Dragon (2010)|8.1
125
+
Zootopia (2016)|8.1
126
+
How to Train Your Dragon 2 (2014)|7.9
127
+
```
122
128
123
129
## Supported technologies
124
130
@@ -144,41 +150,45 @@ How to Train Your Dragon 2 (2014)|7.9
144
150
145
151
## Available operations
146
152
147
-
A summary of the currently available operations in **Astro SDK Python**.
148
-
*`load_file`: load a given file into a SQL table
149
-
*`transform`: applies a SQL select statement to a source table and saves the result to a destination table
150
-
*`truncate`: remove all records from a SQL table
151
-
*`run_raw_sql`: run any SQL statement without handling its output
152
-
*`append`: insert rows from the source SQL table into the destination SQL table, if there are no conflicts
153
-
*`merge`: insert rows from the source SQL table into the destination SQL table, depending on conflicts:
154
-
* ignore: do not add rows that already exist
155
-
* update: replace existing rows with new ones
156
-
*`export_file`: export SQL table rows into a destination file
157
-
*`dataframe`: export given SQL table into in-memory Pandas data-frame
153
+
The following are some key functions available in the SDK:
154
+
155
+
-`load_file`: load a given file into a SQL table
156
+
-`transform`: applies a SQL select statement to a source table and saves the result to a destination table
157
+
-`drop_table`: Drops a SQL table
158
+
-`run_raw_sql`: run anySQL statement without handling its output
159
+
-`append`: insert rows from the source SQL table into the destination SQL table, if there are no conflicts
160
+
-`merge`: insert rows from the source SQL table into the destination SQL table, depending on conflicts:
161
+
- ignore: do not add rows that already exist
162
+
- update: replace existing rows with new ones
163
+
-`export_file`: export SQL table rows into a destination file
164
+
-`dataframe`: export given SQL table into in-memory Pandas data-frame
165
+
166
+
For a full list of available operators, see the [SDK reference documentation](https://astro-sdk.readthedocs.io/en/latest/astro/sql/operators/append.html).
158
167
159
168
## Documentation
160
169
161
170
The documentation is a work in progress--we aim to follow the [Diátaxis](https://diataxis.fr/) system:
162
-
***[Getting Started](docs/getting-started/GETTING_STARTED.md)**: a hands-on introduction to **Astro SDK Python**
163
-
***How-to guides**: simple step-by-step user guides to accomplish specific tasks
164
-
***[Reference guide](https://astro-sdk.readthedocs.io/)**: commands, modules, classes and methods
165
-
***Explanation**: Clarification and discussion of key decisions when designing the project.
171
+
172
+
-**[Getting Started](docs/getting-started/GETTING_STARTED.md)**: A hands-on introduction to the Astro Python SDK
173
+
-**How-to guides**: Simple step-by-step user guides to accomplish specific tasks
174
+
-**[Reference guide](https://astro-sdk.readthedocs.io/)**: Commands, modules, classes and methods
175
+
-**Explanation**: Clarification and discussion of key decisions when designing the project
166
176
167
177
## Changelog
168
178
169
-
We follow Semantic Versioning for releases. Check the [changelog](docs/CHANGELOG.md) for the latest changes.
179
+
The Astro Python SDK follows semantic versioningfor releases. Check the [changelog](docs/CHANGELOG.md) for the latest changes.
170
180
171
-
## Release Managements
181
+
## Release managements
172
182
173
-
To learn more about our release philosophy and steps, check [here](docs/development/RELEASE.md)
183
+
To learn more about our release philosophy and steps, see [Managing Releases](docs/development/RELEASE.md).
174
184
175
-
## Contribution Guidelines
185
+
## Contribution guidelines
176
186
177
187
All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome.
178
188
179
189
Read the [Contribution Guideline](docs/development/CONTRIBUTING.md) for a detailed overview on how to contribute.
180
190
181
-
As contributors and maintainers to this project, you should abide by the [Contributor Code of Conduct](docs/development/CODE_OF_CONDUCT.md).
191
+
Contributors and maintainers should abide by the [Contributor Code of Conduct](docs/development/CODE_OF_CONDUCT.md).
0 commit comments