You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: geomesa-fs/geomesa-fs-storage/geomesa-fs-storage-common/src/main/scala/org/locationtech/geomesa/fs/storage/common/partitions/AttributeScheme.scala
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -141,8 +141,7 @@ object AttributeScheme {
141
141
if (opts.name !=Name) { None } else {
142
142
valattribute= opts.getSingle("attribute").orNull
143
143
require(attribute !=null, s"Attribute scheme requires an attribute to be specified with 'attribute=<attribute>'")
144
-
valindex= sft.indexOf(attribute)
145
-
require(index !=-1, s"Attribute '$attribute' does not exist in schema '${sft.getTypeName}'")
Copy file name to clipboardExpand all lines: geomesa-fs/geomesa-fs-storage/geomesa-fs-storage-common/src/main/scala/org/locationtech/geomesa/fs/storage/common/partitions/DateTimeScheme.scala
Copy file name to clipboardExpand all lines: geomesa-fs/geomesa-fs-storage/geomesa-fs-storage-common/src/main/scala/org/locationtech/geomesa/fs/storage/common/partitions/HierarchicalDateTimeScheme.scala
Copy file name to clipboardExpand all lines: geomesa-fs/geomesa-fs-storage/geomesa-fs-storage-common/src/main/scala/org/locationtech/geomesa/fs/storage/common/partitions/SpatialScheme.scala
Copy file name to clipboardExpand all lines: geomesa-fs/geomesa-fs-storage/geomesa-fs-storage-common/src/main/scala/org/locationtech/geomesa/fs/storage/common/partitions/XZ2Scheme.scala
Copy file name to clipboardExpand all lines: geomesa-fs/geomesa-fs-storage/geomesa-fs-storage-common/src/main/scala/org/locationtech/geomesa/fs/storage/common/partitions/Z2Scheme.scala
Copy file name to clipboardExpand all lines: geomesa-fs/geomesa-fs-storage/geomesa-fs-storage-common/src/main/scala/org/locationtech/geomesa/fs/storage/common/partitions/package.scala
Copy file name to clipboardExpand all lines: geomesa-fs/geomesa-fs-storage/geomesa-fs-storage-common/src/test/scala/org/locationtech/geomesa/fs/storage/common/partitions/DateTimeSchemeTest.scala
+90-9Lines changed: 90 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -36,6 +36,22 @@ class DateTimeSchemeTest extends Specification {
0 commit comments