From 85ce27aba5afd4ae7e4b98980151596f0c587712 Mon Sep 17 00:00:00 2001 From: Rahul Agarwal <111393043+rahulagarwal13@users.noreply.github.com> Date: Wed, 24 May 2023 13:31:44 +0530 Subject: [PATCH 1/7] Create readme.md --- hasurav3/readme.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 hasurav3/readme.md diff --git a/hasurav3/readme.md b/hasurav3/readme.md new file mode 100644 index 0000000000000..8b137891791fe --- /dev/null +++ b/hasurav3/readme.md @@ -0,0 +1 @@ + From 960d1947e0e3a7525528fa31c45cdd296325824b Mon Sep 17 00:00:00 2001 From: Rahul Agarwal <111393043+rahulagarwal13@users.noreply.github.com> Date: Wed, 24 May 2023 13:35:52 +0530 Subject: [PATCH 2/7] Create CLI Binaries --- hasurav3/CLI Binaries | 1 + 1 file changed, 1 insertion(+) create mode 100644 hasurav3/CLI Binaries diff --git a/hasurav3/CLI Binaries b/hasurav3/CLI Binaries new file mode 100644 index 0000000000000..8b137891791fe --- /dev/null +++ b/hasurav3/CLI Binaries @@ -0,0 +1 @@ + From c360b5af5f7b73c4b355349b12b491d318d1a04e Mon Sep 17 00:00:00 2001 From: Rahul Agarwal <111393043+rahulagarwal13@users.noreply.github.com> Date: Wed, 24 May 2023 13:36:19 +0530 Subject: [PATCH 3/7] Delete CLI Binaries --- hasurav3/CLI Binaries | 1 - 1 file changed, 1 deletion(-) delete mode 100644 hasurav3/CLI Binaries diff --git a/hasurav3/CLI Binaries b/hasurav3/CLI Binaries deleted file mode 100644 index 8b137891791fe..0000000000000 --- a/hasurav3/CLI Binaries +++ /dev/null @@ -1 +0,0 @@ - From d44a41cf8477e96ec29ce9be2add5108dbff3a84 Mon Sep 17 00:00:00 2001 From: Rahul Agarwal <111393043+rahulagarwal13@users.noreply.github.com> Date: Wed, 24 May 2023 13:40:25 +0530 Subject: [PATCH 4/7] Create foo.txt --- hasurav3/CLI Binaries/foo.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 hasurav3/CLI Binaries/foo.txt diff --git a/hasurav3/CLI Binaries/foo.txt b/hasurav3/CLI Binaries/foo.txt new file mode 100644 index 0000000000000..8b137891791fe --- /dev/null +++ b/hasurav3/CLI Binaries/foo.txt @@ -0,0 +1 @@ + From 50931eabe5e5ec49db7d1dfe210a2e598c731176 Mon Sep 17 00:00:00 2001 From: Rahul Agarwal <111393043+rahulagarwal13@users.noreply.github.com> Date: Wed, 24 May 2023 13:40:44 +0530 Subject: [PATCH 5/7] Delete foo.txt --- hasurav3/CLI Binaries/foo.txt | 1 - 1 file changed, 1 deletion(-) delete mode 100644 hasurav3/CLI Binaries/foo.txt diff --git a/hasurav3/CLI Binaries/foo.txt b/hasurav3/CLI Binaries/foo.txt deleted file mode 100644 index 8b137891791fe..0000000000000 --- a/hasurav3/CLI Binaries/foo.txt +++ /dev/null @@ -1 +0,0 @@ - From 9e44d93b920081b5ba120108c60419420289eaf1 Mon Sep 17 00:00:00 2001 From: Rahul Agarwal <111393043+rahulagarwal13@users.noreply.github.com> Date: Wed, 24 May 2023 13:41:04 +0530 Subject: [PATCH 6/7] Create foo.txt --- hasurav3/CLI Binaries/foo.txt | 1 + 1 file changed, 1 insertion(+) create mode 100644 hasurav3/CLI Binaries/foo.txt diff --git a/hasurav3/CLI Binaries/foo.txt b/hasurav3/CLI Binaries/foo.txt new file mode 100644 index 0000000000000..8b137891791fe --- /dev/null +++ b/hasurav3/CLI Binaries/foo.txt @@ -0,0 +1 @@ + From 3342c23e871ccd930326ec283b9997be31ec97b9 Mon Sep 17 00:00:00 2001 From: Rahul Agarwal <111393043+rahulagarwal13@users.noreply.github.com> Date: Wed, 24 May 2023 13:55:07 +0530 Subject: [PATCH 7/7] Add files via upload --- hasurav3/metadata_full.json | 753 ++++++++++++++++++++++++++++++++++++ 1 file changed, 753 insertions(+) create mode 100644 hasurav3/metadata_full.json diff --git a/hasurav3/metadata_full.json b/hasurav3/metadata_full.json new file mode 100644 index 0000000000000..936ee6f43b64e --- /dev/null +++ b/hasurav3/metadata_full.json @@ -0,0 +1,753 @@ +{ + "validate_connectors": false, + "data_connectors": [ + { + "kind": "postgres", + "url": "http://localhost:8081/api/v1/postgres" + } + ], + "metadata": { + "databases": [ + { + "name": "db", + "kind": "postgres", + "connectionString": "jdbc:postgresql://34.94.43.240:5432/chinook?user=postgres&password=4qWSA82VCR3z07PYjkYn"} + ], + "models": [ + { + "name": "Artist", + "source": { + "database": "db", + "table": [ + "public", + "Artist" + ] + }, + "fields": [ + { + "name": "ArtistId", + "type": "Int", + "source": { + "column": "ArtistId", + "type": "integer" + } + }, + { + "name": "Name", + "type": "String", + "source": { + "column": "Name", + "type": "string" + } + } + ], + "uniqueIdentifiers": [ + { + "name": "ArtistByID", + "fields": [ + "ArtistId" + ] + } + ] + }, + { + "name": "Employee", + "source": { + "database": "db", + "table": [ + "public", + "Employee" + ] + }, + "fields": [ + { + "name": "EmployeeId", + "type": "Int", + "source": { + "column": "EmployeeId", + "type": "integer" + } + }, + { + "name": "LastName", + "type": "String", + "source": { + "column": "LastName", + "type": "string" + } + }, + { + "name": "FirstName", + "type": "String", + "source": { + "column": "FirstName", + "type": "string" + } + }, + { + "name": "Title", + "type": "String", + "source": { + "column": "Title", + "type": "string" + } + }, + { + "name": "ReportsTo", + "type": "Int", + "source": { + "column": "ReportsTo", + "type": "integer" + } + }, + { + "name": "BirthDate", + "type": "String", + "source": { + "column": "BirthDate", + "type": "datetime" + } + }, + { + "name": "HireDate", + "type": "String", + "source": { + "column": "HireDate", + "type": "datetime" + } + }, + { + "name": "Address", + "type": "String", + "source": { + "column": "Address", + "type": "string" + } + }, + { + "name": "City", + "type": "String", + "source": { + "column": "City", + "type": "string" + } + }, + { + "name": "State", + "type": "String", + "source": { + "column": "State", + "type": "string" + } + }, + { + "name": "Country", + "type": "String", + "source": { + "column": "Country", + "type": "string" + } + }, + { + "name": "PostalCode", + "type": "String", + "source": { + "column": "PostalCode", + "type": "string" + } + }, + { + "name": "Phone", + "type": "String", + "source": { + "column": "Phone", + "type": "string" + } + }, + { + "name": "Fax", + "type": "String", + "source": { + "column": "Fax", + "type": "string" + } + }, + { + "name": "Email", + "type": "String", + "source": { + "column": "Email", + "type": "string" + } + } + ], + "uniqueIdentifiers": [ + { + "name": "EmployeeByID", + "fields": [ + "EmployeeId" + ] + } + ] + }, + { + "name": "Genre", + "source": { + "database": "db", + "table": [ + "public", + "Genre" + ] + }, + "fields": [ + { + "name": "GenreId", + "type": "Int", + "source": { + "column": "GenreId", + "type": "integer" + } + }, + { + "name": "Name", + "type": "String", + "source": { + "column": "Name", + "type": "string" + } + } + ], + "uniqueIdentifiers": [ + { + "name": "GenreByID", + "fields": [ + "GenreId" + ] + } + ] + }, + { + "name": "MediaType", + "source": { + "database": "db", + "table": [ + "public", + "MediaType" + ] + }, + "fields": [ + { + "name": "MediaTypeId", + "type": "Int", + "source": { + "column": "MediaTypeId", + "type": "integer" + } + }, + { + "name": "Name", + "type": "String", + "source": { + "column": "Name", + "type": "string" + } + } + ], + "uniqueIdentifiers": [ + { + "name": "MediaTypeByID", + "fields": [ + "MediaTypeId" + ] + } + ] + }, + { + "name": "Playlist", + "source": { + "database": "db", + "table": [ + "public", + "Playlist" + ] + }, + "fields": [ + { + "name": "PlaylistId", + "type": "Int", + "source": { + "column": "PlaylistId", + "type": "integer" + } + }, + { + "name": "Name", + "type": "String", + "source": { + "column": "Name", + "type": "string" + } + } + ], + "uniqueIdentifiers": [ + { + "name": "PlaylistByID", + "fields": [ + "PlaylistId" + ] + } + ] + }, + { + "name": "Album", + "source": { + "database": "db", + "table": [ + "public", + "Album" + ] + }, + "fields": [ + { + "name": "AlbumId", + "type": "Int", + "source": { + "column": "AlbumId", + "type": "integer" + } + }, + { + "name": "Title", + "type": "String", + "source": { + "column": "Title", + "type": "string" + } + }, + { + "name": "ArtistId", + "type": "Int", + "source": { + "column": "ArtistId", + "type": "integer" + } + } + ], + "uniqueIdentifiers": [ + { + "name": "AlbumByID", + "fields": [ + "AlbumId" + ] + } + ] + }, + { + "name": "Customer", + "source": { + "database": "db", + "table": [ + "public", + "Customer" + ] + }, + "fields": [ + { + "name": "CustomerId", + "type": "Int", + "source": { + "column": "CustomerId", + "type": "integer" + } + }, + { + "name": "FirstName", + "type": "String", + "source": { + "column": "FirstName", + "type": "string" + } + }, + { + "name": "LastName", + "type": "String", + "source": { + "column": "LastName", + "type": "string" + } + }, + { + "name": "Company", + "type": "String", + "source": { + "column": "Company", + "type": "string" + } + }, + { + "name": "Address", + "type": "String", + "source": { + "column": "Address", + "type": "string" + } + }, + { + "name": "City", + "type": "String", + "source": { + "column": "City", + "type": "string" + } + }, + { + "name": "State", + "type": "String", + "source": { + "column": "State", + "type": "string" + } + }, + { + "name": "Country", + "type": "String", + "source": { + "column": "Country", + "type": "string" + } + }, + { + "name": "PostalCode", + "type": "String", + "source": { + "column": "PostalCode", + "type": "string" + } + }, + { + "name": "Phone", + "type": "String", + "source": { + "column": "Phone", + "type": "string" + } + }, + { + "name": "Fax", + "type": "String", + "source": { + "column": "Fax", + "type": "string" + } + }, + { + "name": "Email", + "type": "String", + "source": { + "column": "Email", + "type": "string" + } + }, + { + "name": "SupportRepId", + "type": "Int", + "source": { + "column": "SupportRepId", + "type": "integer" + } + } + ], + "uniqueIdentifiers": [ + { + "name": "CustomerByID", + "fields": [ + "CustomerId" + ] + } + ] + }, + { + "name": "Invoice", + "source": { + "database": "db", + "table": [ + "public", + "Invoice" + ] + }, + "fields": [ + { + "name": "InvoiceId", + "type": "Int", + "source": { + "column": "InvoiceId", + "type": "integer" + } + }, + { + "name": "CustomerId", + "type": "Int", + "source": { + "column": "CustomerId", + "type": "integer" + } + }, + { + "name": "InvoiceDate", + "type": "String", + "source": { + "column": "InvoiceDate", + "type": "datetime" + } + }, + { + "name": "BillingAddress", + "type": "String", + "source": { + "column": "BillingAddress", + "type": "string" + } + }, + { + "name": "BillingCity", + "type": "String", + "source": { + "column": "BillingCity", + "type": "string" + } + }, + { + "name": "BillingState", + "type": "String", + "source": { + "column": "BillingState", + "type": "string" + } + }, + { + "name": "BillingCountry", + "type": "String", + "source": { + "column": "BillingCountry", + "type": "string" + } + }, + { + "name": "BillingPostalCode", + "type": "String", + "source": { + "column": "BillingPostalCode", + "type": "string" + } + }, + { + "name": "Total", + "type": "Float", + "source": { + "column": "Total", + "type": "float" + } + } + ], + "uniqueIdentifiers": [ + { + "name": "InvoiceByID", + "fields": [ + "InvoiceId" + ] + } + ] + }, + { + "name": "Track", + "source": { + "database": "db", + "table": [ + "public", + "Track" + ] + }, + "fields": [ + { + "name": "TrackId", + "type": "Int", + "source": { + "column": "TrackId", + "type": "integer" + } + }, + { + "name": "Name", + "type": "String", + "source": { + "column": "Name", + "type": "string" + } + }, + { + "name": "AlbumId", + "type": "Int", + "source": { + "column": "AlbumId", + "type": "integer" + } + }, + { + "name": "MediaTypeId", + "type": "Int", + "source": { + "column": "MediaTypeId", + "type": "integer" + } + }, + { + "name": "GenreId", + "type": "Int", + "source": { + "column": "GenreId", + "type": "integer" + } + }, + { + "name": "Composer", + "type": "String", + "source": { + "column": "Composer", + "type": "string" + } + }, + { + "name": "Milliseconds", + "type": "Int", + "source": { + "column": "Milliseconds", + "type": "integer" + } + }, + { + "name": "Bytes", + "type": "Int", + "source": { + "column": "Bytes", + "type": "integer" + } + }, + { + "name": "UnitPrice", + "type": "Float", + "source": { + "column": "UnitPrice", + "type": "float" + } + } + ], + "uniqueIdentifiers": [ + { + "name": "TrackByID", + "fields": [ + "TrackId" + ] + } + ] + }, + { + "name": "InvoiceLine", + "source": { + "database": "db", + "table": [ + "public", + "InvoiceLine" + ] + }, + "fields": [ + { + "name": "InvoiceLineId", + "type": "Int", + "source": { + "column": "InvoiceLineId", + "type": "integer" + } + }, + { + "name": "InvoiceId", + "type": "Int", + "source": { + "column": "InvoiceId", + "type": "integer" + } + }, + { + "name": "TrackId", + "type": "Int", + "source": { + "column": "TrackId", + "type": "integer" + } + }, + { + "name": "UnitPrice", + "type": "Float", + "source": { + "column": "UnitPrice", + "type": "float" + } + }, + { + "name": "Quantity", + "type": "Int", + "source": { + "column": "Quantity", + "type": "integer" + } + } + ], + "uniqueIdentifiers": [ + { + "name": "InvoiceLineByID", + "fields": [ + "InvoiceLineId" + ] + } + ] + }, + { + "name": "PlaylistTrack", + "source": { + "database": "db", + "table": [ + "public", + "PlaylistTrack" + ] + }, + "fields": [ + { + "name": "PlaylistId", + "type": "Int", + "source": { + "column": "PlaylistId", + "type": "integer" + } + }, + { + "name": "TrackId", + "type": "Int", + "source": { + "column": "TrackId", + "type": "integer" + } + } + ], + "uniqueIdentifiers": [ + { + "name": "PlaylistTrackByID", + "fields": [ + "PlaylistId", + "TrackId" + ] + } + ] + } + ] + } + +}