{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/8547","labels_url":"https://api.github.com/repos/apache/spark/issues/8547/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/8547/comments","events_url":"https://api.github.com/repos/apache/spark/issues/8547/events","html_url":"https://github.com/apache/spark/pull/8547","id":104187883,"number":8547,"title":"[SPARK-10304][SQL]: throw error when the table directory is invalid","user":{"login":"zhzhan","id":4451616,"avatar_url":"https://avatars.githubusercontent.com/u/4451616?v=3","gravatar_id":"","url":"https://api.github.com/users/zhzhan","html_url":"https://github.com/zhzhan","followers_url":"https://api.github.com/users/zhzhan/followers","following_url":"https://api.github.com/users/zhzhan/following{/other_user}","gists_url":"https://api.github.com/users/zhzhan/gists{/gist_id}","starred_url":"https://api.github.com/users/zhzhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhzhan/subscriptions","organizations_url":"https://api.github.com/users/zhzhan/orgs","repos_url":"https://api.github.com/users/zhzhan/repos","events_url":"https://api.github.com/users/zhzhan/events{/privacy}","received_events_url":"https://api.github.com/users/zhzhan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-01T05:08:19Z","updated_at":"2015-09-01T07:12:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/8547","html_url":"https://github.com/apache/spark/pull/8547","diff_url":"https://github.com/apache/spark/pull/8547.diff","patch_url":"https://github.com/apache/spark/pull/8547.patch"},"body":"Throw error if the directory of a table is invalid, validated by either all files in the directory are partitioned, or none of them are partitioned.\r\n\r\nThe consistency of detailed partition spec is validated by existing parsePartitionColumn."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/136610247","html_url":"https://github.com/apache/spark/pull/8547#issuecomment-136610247","issue_url":"https://api.github.com/repos/apache/spark/issues/8547","id":136610247,"user":{"login":"zhzhan","id":4451616,"avatar_url":"https://avatars.githubusercontent.com/u/4451616?v=3","gravatar_id":"","url":"https://api.github.com/users/zhzhan","html_url":"https://github.com/zhzhan","followers_url":"https://api.github.com/users/zhzhan/followers","following_url":"https://api.github.com/users/zhzhan/following{/other_user}","gists_url":"https://api.github.com/users/zhzhan/gists{/gist_id}","starred_url":"https://api.github.com/users/zhzhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhzhan/subscriptions","organizations_url":"https://api.github.com/users/zhzhan/orgs","repos_url":"https://api.github.com/users/zhzhan/repos","events_url":"https://api.github.com/users/zhzhan/events{/privacy}","received_events_url":"https://api.github.com/users/zhzhan/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T07:12:50Z","updated_at":"2015-09-01T07:12:50Z","body":"Adding an PartitionValues.empty does not cover all problems. Will close this PR, and investigate other approaches."}}