Skip to content
This repository has been archived by the owner on Oct 17, 2023. It is now read-only.

add type check for map slice and mejson.M/S #315

Merged
merged 1 commit into from
Mar 21, 2017
Merged

Conversation

jipperinbham
Copy link
Contributor

postgres adaptor tests updated with new column for complex table to test the case where field is an array of map[string]interface{}

fixes #314

  • CHANGELOG.md updated

@codecov
Copy link

codecov bot commented Mar 21, 2017

Codecov Report

Merging #315 into master will increase coverage by 0.11%.
The diff coverage is 44.44%.

@@            Coverage Diff             @@
##           master     #315      +/-   ##
==========================================
+ Coverage   82.11%   82.23%   +0.11%     
==========================================
  Files          50       50              
  Lines        2645     2651       +6     
==========================================
+ Hits         2172     2180       +8     
  Misses        332      332              
+ Partials      141      139       -2
Impacted Files Coverage Δ
adaptor/postgres/writer.go 81.74% <44.44%> (+0.91%) ⬆️
pipeline/pipeline.go 53.93% <0%> (-3.38%) ⬇️
adaptor/postgres/tailer.go 81.92% <0%> (+2.82%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 86d88b5...160c2a2. Read the comment docs.

postgres adaptor tests updated with new column for complex table to test the case where field is an array of map[string]interface{}

fixes #314
@jipperinbham jipperinbham merged commit 8f0d800 into master Mar 21, 2017
@jipperinbham jipperinbham deleted the 314-mejson-fix branch March 21, 2017 19:47
atomicules added a commit that referenced this pull request May 9, 2022
MySQL doesn't support Json arrays. Well, at least not in the same way
as Postgresql. This was copied over from Postgresql (see reference
below).

However... realised I _do_ need to add Json support as I'd skipped it
initially as was developing against 5.6 which doesn't have Json support.

References: #315
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mongodb -> Postgres :: unsupported type mejson
1 participant