{"action":"created","issue":{"url":"https://api.github.com/repos/databricks/spark-xml/issues/318","repository_url":"https://api.github.com/repos/databricks/spark-xml","labels_url":"https://api.github.com/repos/databricks/spark-xml/issues/318/labels{/name}","comments_url":"https://api.github.com/repos/databricks/spark-xml/issues/318/comments","events_url":"https://api.github.com/repos/databricks/spark-xml/issues/318/events","html_url":"https://github.com/databricks/spark-xml/issues/318","id":340793472,"node_id":"MDU6SXNzdWUzNDA3OTM0NzI=","number":318,"title":"Numeric value automatically changing parsing time","user":{"login":"rudrashis","id":29447876,"node_id":"MDQ6VXNlcjI5NDQ3ODc2","avatar_url":"https://avatars2.githubusercontent.com/u/29447876?v=4","gravatar_id":"","url":"https://api.github.com/users/rudrashis","html_url":"https://github.com/rudrashis","followers_url":"https://api.github.com/users/rudrashis/followers","following_url":"https://api.github.com/users/rudrashis/following{/other_user}","gists_url":"https://api.github.com/users/rudrashis/gists{/gist_id}","starred_url":"https://api.github.com/users/rudrashis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rudrashis/subscriptions","organizations_url":"https://api.github.com/users/rudrashis/orgs","repos_url":"https://api.github.com/users/rudrashis/repos","events_url":"https://api.github.com/users/rudrashis/events{/privacy}","received_events_url":"https://api.github.com/users/rudrashis/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-12T20:50:47Z","updated_at":"2018-12-30T20:52:19Z","closed_at":"2018-12-30T20:52:19Z","author_association":"NONE","body":"hi ,\r\nIn my xml file there is a value like:2018031406301852565547890,when i am parsing this value and creating dataframe, I am getting 2.01803140630185227E24 with data type long.I am parsing this using pyspark,IDE (pycharm).\r\nwhat is the possible reason an how i can get the atcual value. \r\n"},"comment":{"url":"https://api.github.com/repos/databricks/spark-xml/issues/comments/450585836","html_url":"https://github.com/databricks/spark-xml/issues/318#issuecomment-450585836","issue_url":"https://api.github.com/repos/databricks/spark-xml/issues/318","id":450585836,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDU4NTgzNg==","user":{"login":"srowen","id":822522,"node_id":"MDQ6VXNlcjgyMjUyMg==","avatar_url":"https://avatars0.githubusercontent.com/u/822522?v=4","gravatar_id":"","url":"https://api.github.com/users/srowen","html_url":"https://github.com/srowen","followers_url":"https://api.github.com/users/srowen/followers","following_url":"https://api.github.com/users/srowen/following{/other_user}","gists_url":"https://api.github.com/users/srowen/gists{/gist_id}","starred_url":"https://api.github.com/users/srowen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srowen/subscriptions","organizations_url":"https://api.github.com/users/srowen/orgs","repos_url":"https://api.github.com/users/srowen/repos","events_url":"https://api.github.com/users/srowen/events{/privacy}","received_events_url":"https://api.github.com/users/srowen/received_events","type":"User","site_admin":false},"created_at":"2018-12-30T20:52:19Z","updated_at":"2018-12-30T20:52:19Z","author_association":"COLLABORATOR","body":"It's being parsed as a long because it looks like a long, and what you are citing is just how Python is printing the large value. It should work as a long. If you want a string, convert it to a string or manually specify a schema that says this field is a string."}}
{"actor":{"display_login":"srowen"}}