Skip to content

Commit

Permalink
fix #391 (Export of metadata fails in CSV and Weka exporters)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaskrause committed Mar 17, 2015
1 parent 54e656a commit 82a45ce
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,11 +203,11 @@ protected String selectMetadataString(TableAccessStrategy tas)
{
return "array_agg(DISTINCT coalesce("
+ tas.aliasedColumn(CORPUS_ANNOTATION_TABLE, "namespace")
+ " || ':', '') || "
+ " || ':', ':') || "
+ tas.aliasedColumn(CORPUS_ANNOTATION_TABLE, "name")
+ " || ':' || encode("
+ " || ':' || "
+ tas.aliasedColumn(CORPUS_ANNOTATION_TABLE, "value")
+ "::bytea, 'base64')) AS metadata";
+ ") AS metadata";
}

@Override
Expand Down

0 comments on commit 82a45ce

Please sign in to comment.