update readme

This commit is contained in:
Paul Trowbridge 2017-10-26 17:34:45 -04:00
parent 9623853387
commit 3924776161

View File

@ -4,6 +4,8 @@ Concepts
pull various static files into postgres and do basic transformation without losing the original document pull various static files into postgres and do basic transformation without losing the original document
or getting into custom code for each scenario or getting into custom code for each scenario
the is an in-between for an foreign data wrapper & custom programming
## Storage ## Storage
all records are jsonb all records are jsonb
applied mappings are in associated jsonb documents applied mappings are in associated jsonb documents
@ -15,6 +17,9 @@ applied mappings are in associated jsonb documents
1. regular expressions are used to extract pieces of the json objects 1. regular expressions are used to extract pieces of the json objects
2. the results of the regular expressions are bumped up against a list of basic mappings and written to an associated jsonb document 2. the results of the regular expressions are bumped up against a list of basic mappings and written to an associated jsonb document
a target represents a whole scenario that needs matched. it can contain several regex expressions. if one fails, then no match is attempted because it coudl result in a false positive based on the @> oeprator used at join time
`this probably isn't correctly implemented`
## Transformation tools ## Transformation tools
* `COPY` * `COPY`
* `regexp_matches()` * `regexp_matches()`