https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/awscli/examples/glue/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/awscli/examples/glue/get-tables.rst
**To list the definitions of some or all of the tables in the specified database**

The following ``get-tables`` example returns information about the tables in the specified database. ::

        aws glue get-tables --database-name 'tempdb' 

Output::

    {
        "TableList": [
            {
                "Name": "my-s3-sink",
                "DatabaseName": "tempdb",
                "CreateTime": 1602730539.0,
                "UpdateTime": 1602730539.0,
                "Retention": 0,
                "StorageDescriptor": {
                    "Columns": [
                        {
                            "Name": "sensorid",
                            "Type": "int"
                        },
                        {
                            "Name": "currenttemperature",
                            "Type": "int"
                        },
                        {
                            "Name": "status",
                            "Type": "string"
                        }
                    ],
                    "Location": "s3://janetst-bucket-01/test-s3-output/",
                    "Compressed": false,
                    "NumberOfBuckets": 0,
                    "SerdeInfo": {
                        "SerializationLibrary": "org.openx.data.jsonserde.JsonSerDe"
                    },
                    "SortColumns": [],
                    "StoredAsSubDirectories": false
                },
                "Parameters": {
                    "classification": "json"
                },
                "CreatedBy": "arn:aws:iam::007436865787:user/JRSTERN",
                "IsRegisteredWithLakeFormation": false,
                "CatalogId": "007436865787"
            },
            {
                "Name": "s3-source",
                "DatabaseName": "tempdb",
                "CreateTime": 1602730658.0,
                "UpdateTime": 1602730658.0,
                "Retention": 0,
                "StorageDescriptor": {
                    "Columns": [
                        {
                            "Name": "sensorid",
                            "Type": "int"
                        },
                        {
                            "Name": "currenttemperature",
                            "Type": "int"
                        },
                        {
                            "Name": "status",
                            "Type": "string"
                        }
                    ],
                    "Location": "s3://janetst-bucket-01/",
                    "Compressed": false,
                    "NumberOfBuckets": 0,
                    "SortColumns": [],
                    "StoredAsSubDirectories": false
                },
                "Parameters": {
                    "classification": "json"
                },
                "CreatedBy": "arn:aws:iam::007436865787:user/JRSTERN",
                "IsRegisteredWithLakeFormation": false,
                "CatalogId": "007436865787"
            },
            {
                "Name": "test-kinesis-input",
                "DatabaseName": "tempdb",
                "CreateTime": 1601507001.0,
                "UpdateTime": 1601507001.0,
                "Retention": 0,
                "StorageDescriptor": {
                    "Columns": [
                        {
                            "Name": "sensorid",
                            "Type": "int"
                        },
                        {
                            "Name": "currenttemperature",
                            "Type": "int"
                        },
                        {
                            "Name": "status",
                            "Type": "string"
                        }
                    ],
                    "Location": "my-testing-stream",
                    "Compressed": false,
                    "NumberOfBuckets": 0,
                    "SerdeInfo": {
                        "SerializationLibrary": "org.openx.data.jsonserde.JsonSerDe"
                    },
                    "SortColumns": [],
                    "Parameters": {
                        "kinesisUrl": "https://kinesis.us-east-1.amazonaws.com",
                        "streamName": "my-testing-stream",
                        "typeOfData": "kinesis"
                    },
                    "StoredAsSubDirectories": false
                },
                "Parameters": {
                    "classification": "json"
                },
                "CreatedBy": "arn:aws:iam::007436865787:user/JRSTERN",
                "IsRegisteredWithLakeFormation": false,
                "CatalogId": "007436865787"
            }
        ]
    }

For more information, see `Defining Tables in the AWS Glue Data Catalog <https://docs.aws.amazon.com/glue/latest/dg/tables-described.html>`__ in the *AWS Glue Developer Guide*.

https://t.me/RX1948 - 2025