Skip to content

Add table aws_glue_ml_transform Closes #2605 #2610

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

ParthaI
Copy link
Contributor

@ParthaI ParthaI commented Aug 18, 2025

Integration test logs

Logs
Add passing integration test logs here

Example query results

Results
> select * from aws_glue_ml_transform
+----------------------------------------------+------------------------------------------+-------------+-----------+---------------------------+---------------------------+--------------+-------------+----------->
| transform_id                                 | name                                     | description | status    | created_on                | last_modified_on          | glue_version | label_count | max_capaci>
+----------------------------------------------+------------------------------------------+-------------+-----------+---------------------------+---------------------------+--------------+-------------+----------->
| tfm-4ce1f224ed090e92aeb6f134693a89c42f9d8972 | steampipe-test-test-ml-transform-workers | <null>      | NOT_READY | 2025-08-18T22:15:19+05:30 | 2025-08-18T22:15:19+05:30 | 4.0          | 0           | <null>    >
| tfm-8538b58a84ae2caff7139a6d2d35d7ccec6a2bce | steampipe-test-test-ml-transform         | <null>      | NOT_READY | 2025-08-18T22:15:20+05:30 | 2025-08-18T22:15:20+05:30 | 3.0          | 0           | 2         >
+----------------------------------------------+------------------------------------------+-------------+-----------+---------------------------+---------------------------+--------------+-------------+----------->
2 rows
> select * from aws_glue_ml_transform where transform_id = 'tfm-4ce1f224ed090e92aeb6f134693a89c42f9d8972'
+----------------------------------------------+------------------------------------------+-------------+-----------+---------------------------+---------------------------+--------------+-------------+----------->
| transform_id                                 | name                                     | description | status    | created_on                | last_modified_on          | glue_version | label_count | max_capaci>
+----------------------------------------------+------------------------------------------+-------------+-----------+---------------------------+---------------------------+--------------+-------------+----------->
| tfm-4ce1f224ed090e92aeb6f134693a89c42f9d8972 | steampipe-test-test-ml-transform-workers | <null>      | NOT_READY | 2025-08-18T22:15:19+05:30 | 2025-08-18T22:15:19+05:30 | 4.0          | 0           | <null>    >
+----------------------------------------------+------------------------------------------+-------------+-----------+---------------------------+---------------------------+--------------+-------------+----------->
1 row

> select * from aws_glue_ml_transform where name = 'steampipe-test-test-ml-transform-workers'
+----------------------------------------------+------------------------------------------+-------------+-----------+---------------------------+---------------------------+--------------+-------------+----------->
| transform_id                                 | name                                     | description | status    | created_on                | last_modified_on          | glue_version | label_count | max_capaci>
+----------------------------------------------+------------------------------------------+-------------+-----------+---------------------------+---------------------------+--------------+-------------+----------->
| tfm-4ce1f224ed090e92aeb6f134693a89c42f9d8972 | steampipe-test-test-ml-transform-workers | <null>      | NOT_READY | 2025-08-18T22:15:19+05:30 | 2025-08-18T22:15:19+05:30 | 4.0          | 0           | <null>    >
+----------------------------------------------+------------------------------------------+-------------+-----------+---------------------------+---------------------------+--------------+-------------+----------->
1 row

Time: 1.6s. Rows returned: 1. Rows fetched: 1. Hydrate calls: 4.

Scans:
  1) aws_glue_ml_transform.aws: Time: 1.4s. Fetched: 1. Hydrates: 4. Quals: name=steampipe-test-test-ml-transform-workers.


> select * from aws_glue_ml_transform where created_on < '2025-08-18T22:15:20+05:30'
+----------------------------------------------+------------------------------------------+-------------+-----------+---------------------------+---------------------------+--------------+-------------+----------->
| transform_id                                 | name                                     | description | status    | created_on                | last_modified_on          | glue_version | label_count | max_capaci>
+----------------------------------------------+------------------------------------------+-------------+-----------+---------------------------+---------------------------+--------------+-------------+----------->
| tfm-4ce1f224ed090e92aeb6f134693a89c42f9d8972 | steampipe-test-test-ml-transform-workers | <null>      | NOT_READY | 2025-08-18T22:15:19+05:30 | 2025-08-18T22:15:19+05:30 | 4.0          | 0           | <null>    >
+----------------------------------------------+------------------------------------------+-------------+-----------+---------------------------+---------------------------+--------------+-------------+----------->
1 row

Time: 1.0s. Rows returned: 1. Rows fetched: 2. Hydrate calls: 8.

@ParthaI ParthaI requested a review from Copilot August 18, 2025 17:20
@ParthaI ParthaI self-assigned this Aug 18, 2025
@ParthaI ParthaI linked an issue Aug 18, 2025 that may be closed by this pull request
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a new table aws_glue_ml_transform to the Steampipe AWS plugin for querying AWS Glue ML Transforms. It implements comprehensive functionality to retrieve ML transform details, including configuration parameters, status, performance metrics, and resource allocation information.

Key changes:

  • Adds the new aws_glue_ml_transform table with complete CRUD operations
  • Implements optional qualifiers for efficient filtering on name, status, transform_type, glue_version, and date fields
  • Provides comprehensive documentation with multiple SQL query examples

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
aws/table_aws_glue_ml_transform.go Implements the core table functionality with list/get operations, hydrate functions, and column definitions
aws/plugin.go Registers the new table in the plugin
docs/tables/aws_glue_ml_transform.md Provides comprehensive documentation with usage examples and query patterns

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@ParthaI ParthaI requested a review from misraved August 18, 2025 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add table aws_glue_ml_transform
1 participant