Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/18553#discussion_r125886125
--- Diff: python/pyspark/sql/tests.py ---
@@ -2342,6 +2342,12 @@ def test_to_pandas(self):
self.assertEquals(types[2], np.bool)
self.assertEquals(types[3], np.float32)
+ def test_create_dataframe_from_array_of_long(self):
+ import array
+ data = [Row(l=array.array('l', [-9223372036854775808, 0,
9223372036854775807]))]
--- End diff --
little nit ... we could avoid `l` for the same reason with
[scala-style-guide#variable-naming-convention](https://github.com/databricks/scala-style-guide#variable-naming-convention).
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]