File tree 2 files changed +4
-4
lines changed
loader/src/main/scala/com/snowplowanalytics/snowplow/rdbloader/discovery
redshift-loader/src/test/scala/com/snowplowanalytics/snowplow/loader/redshift
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ object ShreddedType {
64
64
*/
65
65
final case class Json (info : Info , jsonPaths : BlobStorage .Key ) extends ShreddedType {
66
66
def getLoadPath : String =
67
- s " ${info.base}${Common .GoodPrefix }/vendor= ${info.vendor}/name= ${info.name}/format=json/model= ${info.version.model}/revision= ${info.version.revision}/addition= ${info.version.addition}"
67
+ s " ${info.base}${Common .GoodPrefix }/vendor= ${info.vendor}/name= ${info.name}/format=json/model= ${info.version.model}/revision= ${info.version.revision}/addition= ${info.version.addition}/ "
68
68
69
69
def show : String = s " ${info.toCriterion.asString} ( $jsonPaths) "
70
70
}
@@ -78,7 +78,7 @@ object ShreddedType {
78
78
*/
79
79
final case class Tabular (info : Info ) extends ShreddedType {
80
80
def getLoadPath : String =
81
- s " ${info.base}${Common .GoodPrefix }/vendor= ${info.vendor}/name= ${info.name}/format=tsv/model= ${info.version.model}/revision= ${info.version.revision}/addition= ${info.version.addition}"
81
+ s " ${info.base}${Common .GoodPrefix }/vendor= ${info.vendor}/name= ${info.name}/format=tsv/model= ${info.version.model}/revision= ${info.version.revision}/addition= ${info.version.addition}/ "
82
82
83
83
def show : String = s " ${info.toCriterion.asString} TSV "
84
84
}
Original file line number Diff line number Diff line change @@ -144,8 +144,8 @@ class RedshiftSpec extends Specification {
144
144
result.toList must containTheSameElementsAs(
145
145
List (
146
146
" COPY events FROM s3://my-bucket/my-path/" , // atomic
147
- " COPY com_acme_event_2 FROM s3://my-bucket/my-path/output=good/vendor=com.acme/name=event/format=tsv/model=2/revision=0/addition=0" ,
148
- " COPY com_acme_event_3 FROM s3://my-bucket/my-path/output=good/vendor=com.acme/name=event/format=tsv/model=3/revision=0/addition=0"
147
+ " COPY com_acme_event_2 FROM s3://my-bucket/my-path/output=good/vendor=com.acme/name=event/format=tsv/model=2/revision=0/addition=0/ " ,
148
+ " COPY com_acme_event_3 FROM s3://my-bucket/my-path/output=good/vendor=com.acme/name=event/format=tsv/model=3/revision=0/addition=0/ "
149
149
)
150
150
)
151
151
}
You can’t perform that action at this time.
0 commit comments