{"action":"created","comment":{"url":"https://api.github.com/repos/locationtech/geomesa/pulls/comments/61150640","id":61150640,"diff_hunk":"@@ -180,89 +191,51 @@ class AccumuloDataStoreTest extends Specification with AccumuloDataStoreDefaults\n       // check default\n       val qpt = ds.getQueryPlan(query)\n       qpt must haveSize(1)\n-      qpt.head.table mustEqual ds.getTableName(sftName, Z3Table)\n+      qpt.head.table mustEqual ds.getTableName(defaultTypeName, Z3Table)\n       qpt.head.numThreads mustEqual 8\n     }\n \n     \"allow users to call explainQuery\" in {\n-      val sftName = \"explainQueryTest\"\n-      createSchema(sftName)\n-      val query = new Query(sftName, Filter.INCLUDE)\n-      val fr = ds.getFeatureReader(query, Transaction.AUTO_COMMIT)\n-      fr must not beNull\n+      val query = new Query(defaultTypeName, Filter.INCLUDE)\n       val out = new ExplainString\n-      ds.getQueryPlan(new Query(sftName, Filter.INCLUDE), explainer = out)\n+      ds.getQueryPlan(new Query(defaultTypeName, Filter.INCLUDE), explainer = out)\n       val explain = out.toString()\n-      explain must startWith(s\"Planning '$sftName'\")\n+      explain must startWith(s\"Planning '$defaultTypeName'\")\n     }\n \n     \"allow secondary attribute indexes\" >> {\n-      val sftName = \"AttributeIndexTest\"\n-      val sft = createSchema(sftName, \"name:String:index=true,numattr:Integer,dtg:Date,*geom:Point:srid=4326\")\n-\n-      val c = ds.connector\n+      val sft = createNewSchema(\"name:String:index=true,numattr:Integer,dtg:Date,*geom:Point:srid=4326\")\n+      val sftName = sft.getTypeName\n \n       \"create all appropriate tables\" >> {\n-        \"catalog table\" >> { c.tableOperations().exists(defaultTable) must beTrue }\n-        \"st idx table\" >> { c.tableOperations().exists(s\"${defaultTable}_st_idx\") must beTrue }\n-        \"records table\" >> { c.tableOperations().exists(s\"${defaultTable}_records\") must beTrue }\n-        \"attr idx table\" >> { c.tableOperations().exists(s\"${defaultTable}_attr_idx\") must beTrue }\n+        val tables = GeoMesaTable.getTableNames(sft, ds)\n+        tables must haveLength(4)\n+        forall(Seq(Z2Table, Z3Table, AttributeTable, AttributeTable))(t => tables must contain(endWith(t.suffix)))\n+        forall(tables)(t => ds.connector.tableOperations.exists(t) must beTrue)\n       }\n \n-      val pt = gf.createPoint(new Coordinate(0, 0))\n+      val pt = WKTUtils.read(\"POINT (0 0)\")","path":"geomesa-accumulo/geomesa-accumulo-datastore/src/test/scala/org/locationtech/geomesa/accumulo/data/AccumuloDataStoreTest.scala","position":231,"original_position":231,"commit_id":"1fed6ddd85d825816a3912a7034ff59dfe54cb42","original_commit_id":"1fed6ddd85d825816a3912a7034ff59dfe54cb42","user":{"login":"anthonyccri","id":893732,"avatar_url":"https://avatars.githubusercontent.com/u/893732?v=3","gravatar_id":"","url":"https://api.github.com/users/anthonyccri","html_url":"https://github.com/anthonyccri","followers_url":"https://api.github.com/users/anthonyccri/followers","following_url":"https://api.github.com/users/anthonyccri/following{/other_user}","gists_url":"https://api.github.com/users/anthonyccri/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonyccri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonyccri/subscriptions","organizations_url":"https://api.github.com/users/anthonyccri/orgs","repos_url":"https://api.github.com/users/anthonyccri/repos","events_url":"https://api.github.com/users/anthonyccri/events{/privacy}","received_events_url":"https://api.github.com/users/anthonyccri/received_events","type":"User","site_admin":false},"body":"just wondering, why did you switch out the filter builder for text?","created_at":"2016-04-26T19:39:43Z","updated_at":"2016-04-26T19:39:43Z","html_url":"https://github.com/locationtech/geomesa/pull/868#discussion_r61150640","pull_request_url":"https://api.github.com/repos/locationtech/geomesa/pulls/868","_links":{"self":{"href":"https://api.github.com/repos/locationtech/geomesa/pulls/comments/61150640"},"html":{"href":"https://github.com/locationtech/geomesa/pull/868#discussion_r61150640"},"pull_request":{"href":"https://api.github.com/repos/locationtech/geomesa/pulls/868"}}},"pull_request":{"url":"https://api.github.com/repos/locationtech/geomesa/pulls/868","id":67765468,"html_url":"https://github.com/locationtech/geomesa/pull/868","diff_url":"https://github.com/locationtech/geomesa/pull/868.diff","patch_url":"https://github.com/locationtech/geomesa/pull/868.patch","issue_url":"https://api.github.com/repos/locationtech/geomesa/issues/868","number":868,"state":"open","locked":false,"title":"GEOMESA-1171 Requiring explicit indication of mixed geometry types","user":{"login":"elahrvivaz","id":7715322,"avatar_url":"https://avatars.githubusercontent.com/u/7715322?v=3","gravatar_id":"","url":"https://api.github.com/users/elahrvivaz","html_url":"https://github.com/elahrvivaz","followers_url":"https://api.github.com/users/elahrvivaz/followers","following_url":"https://api.github.com/users/elahrvivaz/following{/other_user}","gists_url":"https://api.github.com/users/elahrvivaz/gists{/gist_id}","starred_url":"https://api.github.com/users/elahrvivaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elahrvivaz/subscriptions","organizations_url":"https://api.github.com/users/elahrvivaz/orgs","repos_url":"https://api.github.com/users/elahrvivaz/repos","events_url":"https://api.github.com/users/elahrvivaz/events{/privacy}","received_events_url":"https://api.github.com/users/elahrvivaz/received_events","type":"User","site_admin":false},"body":"* Creating a schema with the default geometry type of 'Geometry' will throw an exception\r\n* This can be overridden by including 'geomesa.mixed.geometries=true' in the feature type user data\r\n\r\nSigned-off-by: Emilio Lahr-Vivaz <elahrvivaz@ccri.com>","created_at":"2016-04-25T18:25:26Z","updated_at":"2016-04-26T19:39:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0b394306e064a094d38dc7daa543567e91b39c5a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/locationtech/geomesa/pulls/868/commits","review_comments_url":"https://api.github.com/repos/locationtech/geomesa/pulls/868/comments","review_comment_url":"https://api.github.com/repos/locationtech/geomesa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/locationtech/geomesa/issues/868/comments","statuses_url":"https://api.github.com/repos/locationtech/geomesa/statuses/1fed6ddd85d825816a3912a7034ff59dfe54cb42","head":{"label":"elahrvivaz:fcr_mixed_geom_warn","ref":"fcr_mixed_geom_warn","sha":"1fed6ddd85d825816a3912a7034ff59dfe54cb42","user":{"login":"elahrvivaz","id":7715322,"avatar_url":"https://avatars.githubusercontent.com/u/7715322?v=3","gravatar_id":"","url":"https://api.github.com/users/elahrvivaz","html_url":"https://github.com/elahrvivaz","followers_url":"https://api.github.com/users/elahrvivaz/followers","following_url":"https://api.github.com/users/elahrvivaz/following{/other_user}","gists_url":"https://api.github.com/users/elahrvivaz/gists{/gist_id}","starred_url":"https://api.github.com/users/elahrvivaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elahrvivaz/subscriptions","organizations_url":"https://api.github.com/users/elahrvivaz/orgs","repos_url":"https://api.github.com/users/elahrvivaz/repos","events_url":"https://api.github.com/users/elahrvivaz/events{/privacy}","received_events_url":"https://api.github.com/users/elahrvivaz/received_events","type":"User","site_admin":false},"repo":{"id":20541167,"name":"geomesa","full_name":"elahrvivaz/geomesa","owner":{"login":"elahrvivaz","id":7715322,"avatar_url":"https://avatars.githubusercontent.com/u/7715322?v=3","gravatar_id":"","url":"https://api.github.com/users/elahrvivaz","html_url":"https://github.com/elahrvivaz","followers_url":"https://api.github.com/users/elahrvivaz/followers","following_url":"https://api.github.com/users/elahrvivaz/following{/other_user}","gists_url":"https://api.github.com/users/elahrvivaz/gists{/gist_id}","starred_url":"https://api.github.com/users/elahrvivaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elahrvivaz/subscriptions","organizations_url":"https://api.github.com/users/elahrvivaz/orgs","repos_url":"https://api.github.com/users/elahrvivaz/repos","events_url":"https://api.github.com/users/elahrvivaz/events{/privacy}","received_events_url":"https://api.github.com/users/elahrvivaz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/elahrvivaz/geomesa","description":"","fork":true,"url":"https://api.github.com/repos/elahrvivaz/geomesa","forks_url":"https://api.github.com/repos/elahrvivaz/geomesa/forks","keys_url":"https://api.github.com/repos/elahrvivaz/geomesa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elahrvivaz/geomesa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elahrvivaz/geomesa/teams","hooks_url":"https://api.github.com/repos/elahrvivaz/geomesa/hooks","issue_events_url":"https://api.github.com/repos/elahrvivaz/geomesa/issues/events{/number}","events_url":"https://api.github.com/repos/elahrvivaz/geomesa/events","assignees_url":"https://api.github.com/repos/elahrvivaz/geomesa/assignees{/user}","branches_url":"https://api.github.com/repos/elahrvivaz/geomesa/branches{/branch}","tags_url":"https://api.github.com/repos/elahrvivaz/geomesa/tags","blobs_url":"https://api.github.com/repos/elahrvivaz/geomesa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elahrvivaz/geomesa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elahrvivaz/geomesa/git/refs{/sha}","trees_url":"https://api.github.com/repos/elahrvivaz/geomesa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elahrvivaz/geomesa/statuses/{sha}","languages_url":"https://api.github.com/repos/elahrvivaz/geomesa/languages","stargazers_url":"https://api.github.com/repos/elahrvivaz/geomesa/stargazers","contributors_url":"https://api.github.com/repos/elahrvivaz/geomesa/contributors","subscribers_url":"https://api.github.com/repos/elahrvivaz/geomesa/subscribers","subscription_url":"https://api.github.com/repos/elahrvivaz/geomesa/subscription","commits_url":"https://api.github.com/repos/elahrvivaz/geomesa/commits{/sha}","git_commits_url":"https://api.github.com/repos/elahrvivaz/geomesa/git/commits{/sha}","comments_url":"https://api.github.com/repos/elahrvivaz/geomesa/comments{/number}","issue_comment_url":"https://api.github.com/repos/elahrvivaz/geomesa/issues/comments{/number}","contents_url":"https://api.github.com/repos/elahrvivaz/geomesa/contents/{+path}","compare_url":"https://api.github.com/repos/elahrvivaz/geomesa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elahrvivaz/geomesa/merges","archive_url":"https://api.github.com/repos/elahrvivaz/geomesa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elahrvivaz/geomesa/downloads","issues_url":"https://api.github.com/repos/elahrvivaz/geomesa/issues{/number}","pulls_url":"https://api.github.com/repos/elahrvivaz/geomesa/pulls{/number}","milestones_url":"https://api.github.com/repos/elahrvivaz/geomesa/milestones{/number}","notifications_url":"https://api.github.com/repos/elahrvivaz/geomesa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elahrvivaz/geomesa/labels{/name}","releases_url":"https://api.github.com/repos/elahrvivaz/geomesa/releases{/id}","deployments_url":"https://api.github.com/repos/elahrvivaz/geomesa/deployments","created_at":"2014-06-05T20:51:54Z","updated_at":"2016-02-15T21:22:52Z","pushed_at":"2016-04-26T17:09:29Z","git_url":"git://github.com/elahrvivaz/geomesa.git","ssh_url":"git@github.com:elahrvivaz/geomesa.git","clone_url":"https://github.com/elahrvivaz/geomesa.git","svn_url":"https://github.com/elahrvivaz/geomesa","homepage":null,"size":32253,"stargazers_count":0,"watchers_count":0,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"locationtech:master","ref":"master","sha":"77a676462b99f060b178aa27e055709a455c3c25","user":{"login":"locationtech","id":1991411,"avatar_url":"https://avatars.githubusercontent.com/u/1991411?v=3","gravatar_id":"","url":"https://api.github.com/users/locationtech","html_url":"https://github.com/locationtech","followers_url":"https://api.github.com/users/locationtech/followers","following_url":"https://api.github.com/users/locationtech/following{/other_user}","gists_url":"https://api.github.com/users/locationtech/gists{/gist_id}","starred_url":"https://api.github.com/users/locationtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/locationtech/subscriptions","organizations_url":"https://api.github.com/users/locationtech/orgs","repos_url":"https://api.github.com/users/locationtech/repos","events_url":"https://api.github.com/users/locationtech/events{/privacy}","received_events_url":"https://api.github.com/users/locationtech/received_events","type":"Organization","site_admin":false},"repo":{"id":13226069,"name":"geomesa","full_name":"locationtech/geomesa","owner":{"login":"locationtech","id":1991411,"avatar_url":"https://avatars.githubusercontent.com/u/1991411?v=3","gravatar_id":"","url":"https://api.github.com/users/locationtech","html_url":"https://github.com/locationtech","followers_url":"https://api.github.com/users/locationtech/followers","following_url":"https://api.github.com/users/locationtech/following{/other_user}","gists_url":"https://api.github.com/users/locationtech/gists{/gist_id}","starred_url":"https://api.github.com/users/locationtech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/locationtech/subscriptions","organizations_url":"https://api.github.com/users/locationtech/orgs","repos_url":"https://api.github.com/users/locationtech/repos","events_url":"https://api.github.com/users/locationtech/events{/privacy}","received_events_url":"https://api.github.com/users/locationtech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/locationtech/geomesa","description":"GeoMesa is a suite of tools for working with big geo-spatial data in a distributed fashion.","fork":false,"url":"https://api.github.com/repos/locationtech/geomesa","forks_url":"https://api.github.com/repos/locationtech/geomesa/forks","keys_url":"https://api.github.com/repos/locationtech/geomesa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/locationtech/geomesa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/locationtech/geomesa/teams","hooks_url":"https://api.github.com/repos/locationtech/geomesa/hooks","issue_events_url":"https://api.github.com/repos/locationtech/geomesa/issues/events{/number}","events_url":"https://api.github.com/repos/locationtech/geomesa/events","assignees_url":"https://api.github.com/repos/locationtech/geomesa/assignees{/user}","branches_url":"https://api.github.com/repos/locationtech/geomesa/branches{/branch}","tags_url":"https://api.github.com/repos/locationtech/geomesa/tags","blobs_url":"https://api.github.com/repos/locationtech/geomesa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/locationtech/geomesa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/locationtech/geomesa/git/refs{/sha}","trees_url":"https://api.github.com/repos/locationtech/geomesa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/locationtech/geomesa/statuses/{sha}","languages_url":"https://api.github.com/repos/locationtech/geomesa/languages","stargazers_url":"https://api.github.com/repos/locationtech/geomesa/stargazers","contributors_url":"https://api.github.com/repos/locationtech/geomesa/contributors","subscribers_url":"https://api.github.com/repos/locationtech/geomesa/subscribers","subscription_url":"https://api.github.com/repos/locationtech/geomesa/subscription","commits_url":"https://api.github.com/repos/locationtech/geomesa/commits{/sha}","git_commits_url":"https://api.github.com/repos/locationtech/geomesa/git/commits{/sha}","comments_url":"https://api.github.com/repos/locationtech/geomesa/comments{/number}","issue_comment_url":"https://api.github.com/repos/locationtech/geomesa/issues/comments{/number}","contents_url":"https://api.github.com/repos/locationtech/geomesa/contents/{+path}","compare_url":"https://api.github.com/repos/locationtech/geomesa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/locationtech/geomesa/merges","archive_url":"https://api.github.com/repos/locationtech/geomesa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/locationtech/geomesa/downloads","issues_url":"https://api.github.com/repos/locationtech/geomesa/issues{/number}","pulls_url":"https://api.github.com/repos/locationtech/geomesa/pulls{/number}","milestones_url":"https://api.github.com/repos/locationtech/geomesa/milestones{/number}","notifications_url":"https://api.github.com/repos/locationtech/geomesa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/locationtech/geomesa/labels{/name}","releases_url":"https://api.github.com/repos/locationtech/geomesa/releases{/id}","deployments_url":"https://api.github.com/repos/locationtech/geomesa/deployments","created_at":"2013-09-30T20:13:46Z","updated_at":"2016-04-25T14:04:08Z","pushed_at":"2016-04-26T17:09:30Z","git_url":"git://github.com/locationtech/geomesa.git","ssh_url":"git@github.com:locationtech/geomesa.git","clone_url":"https://github.com/locationtech/geomesa.git","svn_url":"https://github.com/locationtech/geomesa","homepage":"https://www.locationtech.org/projects/technology.geomesa","size":43583,"stargazers_count":164,"watchers_count":164,"language":"Scala","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":82,"mirror_url":null,"open_issues_count":8,"forks":82,"open_issues":8,"watchers":164,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/locationtech/geomesa/pulls/868"},"html":{"href":"https://github.com/locationtech/geomesa/pull/868"},"issue":{"href":"https://api.github.com/repos/locationtech/geomesa/issues/868"},"comments":{"href":"https://api.github.com/repos/locationtech/geomesa/issues/868/comments"},"review_comments":{"href":"https://api.github.com/repos/locationtech/geomesa/pulls/868/comments"},"review_comment":{"href":"https://api.github.com/repos/locationtech/geomesa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/locationtech/geomesa/pulls/868/commits"},"statuses":{"href":"https://api.github.com/repos/locationtech/geomesa/statuses/1fed6ddd85d825816a3912a7034ff59dfe54cb42"}}}}