This repository has been archived by the owner on Oct 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from radbrt/column_casing
New column casing, more sensible conversion from CamelCase (and uppercase) to snake_case
- Loading branch information
Showing
7 changed files
with
86 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{"type": "SCHEMA", "stream": "TestCamelcase", "schema": {"type": "object", "properties": { "Id": {"type": "string"}, "clientName": {"type": "string"} }}, "key_properties": ["Id"]} | ||
{"type": "RECORD", "stream": "TestCamelcase", "record": {"Id": "1", "clientName": "Gitter Windows Desktop App"}} | ||
{"type": "RECORD", "stream": "TestCamelcase", "record": {"Id": "2", "clientName": "Gitter iOS App"}} | ||
{"type": "SCHEMA", "stream": "TestCamelcase", "schema": {"type": "object", "properties": { "CustomerID": {"type": "string"}, "clientName": {"type": "string"} }}, "key_properties": ["CustomerID"]} | ||
{"type": "RECORD", "stream": "TestCamelcase", "record": {"CustomerID": "1", "clientName": "Gitter Windows Desktop App"}} | ||
{"type": "RECORD", "stream": "TestCamelcase", "record": {"CustomerID": "2", "clientName": "Gitter iOS App"}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{"type": "SCHEMA", "stream": "nocontinents", "schema": {"properties": {"code": {"type": ["null", "string"]}, "name": {"type": ["null", "string"]}}, "type": "object"}, "key_properties": []} | ||
{"type": "RECORD", "stream": "nocontinents", "record": {"code": "AF", "name": "Africa"}, "time_extracted": "2022-07-17T20:43:18.860687Z"} | ||
{"type": "STATE", "value": {"bookmarks": {"nocontinents": {"starting_replication_value": null}}}} | ||
{"type": "RECORD", "stream": "nocontinents", "record": {"code": "AN", "name": "Antarctica"}, "time_extracted": "2022-07-17T20:43:18.860817Z"} | ||
{"type": "RECORD", "stream": "nocontinents", "record": {"code": "AS", "name": "Asia"}, "time_extracted": "2022-07-17T20:43:18.860857Z"} | ||
{"type": "RECORD", "stream": "nocontinents", "record": {"code": "EU", "name": "Europe"}, "time_extracted": "2022-07-17T20:43:18.860890Z"} | ||
{"type": "RECORD", "stream": "nocontinents", "record": {"code": "NA", "name": "North America"}, "time_extracted": "2022-07-17T20:43:18.860922Z"} | ||
{"type": "RECORD", "stream": "nocontinents", "record": {"code": "OC", "name": "Oceania"}, "time_extracted": "2022-07-17T20:43:18.860952Z"} | ||
{"type": "RECORD", "stream": "nocontinents", "record": {"code": "SA", "name": "South America"}, "time_extracted": "2022-07-17T20:43:18.860983Z"} | ||
{"type": "STATE", "value": {"bookmarks": {"nocontinents": {}}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{"type": "SCHEMA", "stream": "countries", "schema": {"properties": {"code": {"type": ["string", "null"]}, "name": {"type": ["string", "null"]}, "native": {"type": ["string", "null"]}, "phone": {"type": ["string", "null"]}, "capital": {"type": ["string", "null"]}, "currency": {"type": ["string", "null"]}, "emoji": {"type": ["string", "null"]}, "continent": {"properties": {"code": {"type": ["string", "null"]}, "name": {"type": ["string", "null"]}}, "type": ["object", "null"]}, "languages": {"items": {"properties": {"code": {"type": ["string", "null"]}, "name": {"type": ["string", "null"]}}, "type": "object"}, "type": ["array", "null"]}}, "type": "object"}, "key_properties": []} | ||
{"type": "RECORD", "stream": "countries", "record": {"code": "AD", "name": "Andorra", "native": "Andorra", "phone": "376", "continent": {"code": "EU", "name": "Europe"}, "capital": "Andorra la Vella", "currency": "EUR", "languages": [{"code": "ca", "name": "Catalan"}], "emoji": "\ud83c\udde6\ud83c\udde9"}, "time_extracted": "2022-07-17T20:43:19.031894Z"} | ||
{"type": "STATE", "value": {"bookmarks": {"continents": {}, "countries": {"starting_replication_value": null}}}} | ||
{"type": "RECORD", "stream": "countries", "record": {"code": "AE", "name": "United Arab Emirates", "native": "\u062f\u0648\u0644\u0629 \u0627\u0644\u0625\u0645\u0627\u0631\u0627\u062a \u0627\u0644\u0639\u0631\u0628\u064a\u0629 \u0627\u0644\u0645\u062a\u062d\u062f\u0629", "phone": "971", "continent": {"code": "AS", "name": "Asia"}, "capital": "Abu Dhabi", "currency": "AED", "languages": [{"code": "ar", "name": "Arabic"}], "emoji": "\ud83c\udde6\ud83c\uddea"}, "time_extracted": "2022-07-17T20:43:19.032033Z"} | ||
{"type": "RECORD", "stream": "countries", "record": {"code": "AF", "name": "Afghanistan", "native": "\u0627\u0641\u063a\u0627\u0646\u0633\u062a\u0627\u0646", "phone": "93", "continent": {"code": "AS", "name": "Asia"}, "capital": "Kabul", "currency": "AFN", "languages": [{"code": "ps", "name": "Pashto"}, {"code": "uz", "name": "Uzbek"}, {"code": "tk", "name": "Turkmen"}], "emoji": "\ud83c\udde6\ud83c\uddeb"}, "time_extracted": "2022-07-17T20:43:19.032097Z"} | ||
{"type": "RECORD", "stream": "countries", "record": {"code": "AG", "name": "Antigua and Barbuda", "native": "Antigua and Barbuda", "phone": "1268", "continent": {"code": "NA", "name": "North America"}, "capital": "Saint John's", "currency": "XCD", "languages": [{"code": "en", "name": "English"}], "emoji": "\ud83c\udde6\ud83c\uddec"}, "time_extracted": "2022-07-17T20:43:19.032150Z"} | ||
{"type": "RECORD", "stream": "countries", "record": {"code": "AI", "name": "Anguilla", "native": "Anguilla", "phone": "1264", "continent": {"code": "NA", "name": "North America"}, "capital": "The Valley", "currency": "XCD", "languages": [{"code": "en", "name": "English"}], "emoji": "\ud83c\udde6\ud83c\uddee"}, "time_extracted": "2022-07-17T20:43:19.032198Z"} | ||
{"type": "RECORD", "stream": "countries", "record": {"code": "AL", "name": "Albania", "native": "Shqip\u00ebria", "phone": "355", "continent": {"code": "EU", "name": "Europe"}, "capital": "Tirana", "currency": "ALL", "languages": [{"code": "sq", "name": "Albanian"}], "emoji": "\ud83c\udde6\ud83c\uddf1"}, "time_extracted": "2022-07-17T20:43:19.032252Z"} | ||
{"type": "RECORD", "stream": "countries", "record": {"code": "AM", "name": "Armenia", "native": "\u0540\u0561\u0575\u0561\u057d\u057f\u0561\u0576", "phone": "374", "continent": {"code": "AS", "name": "Asia"}, "capital": "Yerevan", "currency": "AMD", "languages": [{"code": "hy", "name": "Armenian"}, {"code": "ru", "name": "Russian"}], "emoji": "\ud83c\udde6\ud83c\uddf2"}, "time_extracted": "2022-07-17T20:43:19.032298Z"} | ||
{"type": "RECORD", "stream": "countries", "record": {"code": "AO", "name": "Angola", "native": "Angola", "phone": "244", "continent": {"code": "AF", "name": "Africa"}, "capital": "Luanda", "currency": "AOA", "languages": [{"code": "pt", "name": "Portuguese"}], "emoji": "\ud83c\udde6\ud83c\uddf4"}, "time_extracted": "2022-07-17T20:43:19.032346Z"} | ||
{"type": "RECORD", "stream": "countries", "record": {"code": "AQ", "name": "Antarctica", "native": "Antarctica", "phone": "672", "continent": {"code": "AN", "name": "Antarctica"}, "capital": null, "currency": null, "languages": [], "emoji": "\ud83c\udde6\ud83c\uddf6"}, "time_extracted": "2022-07-17T20:43:19.032421Z"} | ||
{"type": "RECORD", "stream": "countries", "record": {"code": "AR", "name": "Argentina", "native": "Argentina", "phone": "54", "continent": {"code": "SA", "name": "South America"}, "capital": "Buenos Aires", "currency": "ARS", "languages": [{"code": "es", "name": "Spanish"}, {"code": "gn", "name": "Guarani"}], "emoji": "\ud83c\udde6\ud83c\uddf7"}, "time_extracted": "2022-07-17T20:43:19.032473Z"} | ||
{"type": "RECORD", "stream": "countries", "record": {"code": "AS", "name": "American Samoa", "native": "American Samoa", "phone": "1684", "continent": {"code": "OC", "name": "Oceania"}, "capital": "Pago Pago", "currency": "USD", "languages": [{"code": "en", "name": "English"}, {"code": "sm", "name": "Samoan"}], "emoji": "\ud83c\udde6\ud83c\uddf8"}, "time_extracted": "2022-07-17T20:43:19.032521Z"} | ||
{"type": "RECORD", "stream": "countries", "record": {"code": "AT", "name": "Austria", "native": "\u00d6sterreich", "phone": "43", "continent": {"code": "EU", "name": "Europe"}, "capital": "Vienna", "currency": "EUR", "languages": [{"code": "de", "name": "German"}], "emoji": "\ud83c\udde6\ud83c\uddf9"}, "time_extracted": "2022-07-17T20:43:19.032568Z"} | ||
{"type": "STATE", "value": {"bookmarks": {"continents": {}, "countries": {}}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters