Github user Peilin-Yang commented on the issue: https://github.com/apache/zeppelin/pull/1371 @corneadoug The ideal case is to fetch the type from back end. But that is pretty hard. There are several types of interpreters (Sql, Spark, AngularJS, Shell etc..) in the back end and create a unified interface for all of them needs a ton of work. A simple example is: if user submits a SQL query and in that query the user applies DATE function to a string field to make that column as type date then basically I do not think we can correctly get the type of the column. To me, (again) the data type in front end table is just a utility for the user sorts/formats the data on-the-fly. Does this make more sense? In the latest commit I added the date cell detection. Also, I make the detection at the time when data was loaded to the table and this would save some time (each cell will be processed and loaded anyway, see function $scope.loadTableData). I tried to follow the code convention to make the change as API but the current code seems do not like doing like that so I keep my changes with other parts of code that deals with table display.
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---