{"push_id":562184353,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"ef89b82d831d1d35dfaa6387ff2077ea2f2073cc","before":"883bc88d520b27bdeb74a1837b45ef0b59753568","commits":[{"sha":"ef89b82d831d1d35dfaa6387ff2077ea2f2073cc","author":{"email":"d24118b4297e1ecf0c990d6935f5f9e6e4fd7701@gmail.com","name":"Liang-Chi Hsieh"},"message":"[Minor][SQL] Little refactor DataFrame related codes\n\nSimplify some codes related to DataFrame.\n\n*  Calling `toAttributes` instead of a `map`.\n*  Original `createDataFrame` creates the `StructType` and its attributes in a redundant way. Refactored it to create `StructType` and call `toAttributes` on it directly.\n\nAuthor: Liang-Chi Hsieh <viirya@gmail.com>\n\nCloses #4298 from viirya/refactor_df and squashes the following commits:\n\n1d61c64 [Liang-Chi Hsieh] Revert it.\nf36efb5 [Liang-Chi Hsieh] Relax the constraint of toDataFrame.\n2c9f370 [Liang-Chi Hsieh] Just refactor DataFrame codes.","distinct":true,"url":"https://api.github.com/repos/apache/spark/commits/ef89b82d831d1d35dfaa6387ff2077ea2f2073cc"}]}