{"action":"opened","issue":{"url":"https://api.github.com/repos/HuaweiBigData/astro/issues/19","labels_url":"https://api.github.com/repos/HuaweiBigData/astro/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/HuaweiBigData/astro/issues/19/comments","events_url":"https://api.github.com/repos/HuaweiBigData/astro/issues/19/events","html_url":"https://github.com/HuaweiBigData/astro/issues/19","id":114220582,"number":19,"title":"Does Astro support timestamp datatype?","user":{"login":"superjohnior","id":13794057,"avatar_url":"https://avatars.githubusercontent.com/u/13794057?v=3","gravatar_id":"","url":"https://api.github.com/users/superjohnior","html_url":"https://github.com/superjohnior","followers_url":"https://api.github.com/users/superjohnior/followers","following_url":"https://api.github.com/users/superjohnior/following{/other_user}","gists_url":"https://api.github.com/users/superjohnior/gists{/gist_id}","starred_url":"https://api.github.com/users/superjohnior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superjohnior/subscriptions","organizations_url":"https://api.github.com/users/superjohnior/orgs","repos_url":"https://api.github.com/users/superjohnior/repos","events_url":"https://api.github.com/users/superjohnior/events{/privacy}","received_events_url":"https://api.github.com/users/superjohnior/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-30T08:03:53Z","updated_at":"2015-10-30T08:03:53Z","closed_at":null,"body":"I tried to create a table with timestamp column:\r\n      create table jt2 (ROWKEY STRING , C1 timestamp,PRIMARY KEY (ROWKEY)) MAPPED BY  (TESTTABLE, COLS=[C1=RATINGS.C1])\r\n\r\njava.lang.IllegalArgumentException: Unrecognized data type: TIMESTAMP\r\n\tat org.apache.spark.sql.hbase.HBaseCatalog.getDataType(HBaseCatalog.scala:444)\r\n\tat org.apache.spark.sql.hbase.HBaseSource$$anonfun$5.apply(HBaseRelation.scala:70)\r\n\tat org.apache.spark.sql.hbase.HBaseSource$$anonfun$5.apply(HBaseRelation.scala:59)\r\n\tat scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)\r\n\tat scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)\r\n\tat scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)\r\n\tat scala.collection.mutable.ArrayOps$ofRef.foreach(ArrayOps.scala:108)\r\n\tat scala.collection.TraversableLike$class.map(TraversableLike.scala:244)\r\n\tat scala.collection.mutable.ArrayOps$ofRef.map(ArrayOps.scala:108)\r\n\tat org.apache.spark.sql.hbase.HBaseSource.createRelation(HBaseRelation.scala:59)\r\n\tat org.apache.spark.sql.hbase.HBaseSQLParser$CreateTable.run(HBaseSQLParser.scala:175)\r\n\tat org.apache.spark.sql.execution.ExecutedCommand.sideEffectResult$lzycompute(commands.scala:57)\r\n\tat org.apache.spark.sql.execution.ExecutedCommand.sideEffectResult(commands.scala:57)\r\n\tat org.apache.spark.sql.execution.ExecutedCommand.doExecute(commands.scala:68)\r\n\tat org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$1.apply(SparkPlan.scala:88)\r\n\tat org.apache.spark.sql.execution.SparkPlan$$anonfun$execute$1.apply(SparkPlan.scala:88)\r\n\tat org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.scala:147)\r\n\tat org.apache.spark.sql.execution.SparkPlan.execute(SparkPlan.scala:87)\r\n\tat org.apache.spark.sql.SQLContext$QueryExecution.toRdd$lzycompute(SQLContext.scala:950)\r\n\tat org.apache.spark.sql.SQLContext$QueryExecution.toRdd(SQLContext.scala:950)\r\n\tat org.apache.spark.sql.DataFrame.<init>(DataFrame.scala:144)\r\n\tat org.apache.spark.sql.DataFrame.<init>(DataFrame.scala:128)\r\n\tat org.apache.spark.sql.DataFrame$.apply(DataFrame.scala:51)\r\n\tat org.apache.spark.sql.SQLContext.sql(SQLContext.scala:755)\r\n\tat org.apache.spark.sql.hbase.HBaseSQLCliDriver$.process(HBaseSQLCliDriver.scala:130)\r\n\tat org.apache.spark.sql.hbase.HBaseSQLCliDriver$.processLine(HBaseSQLCliDriver.scala:113)\r\n\tat org.apache.spark.sql.hbase.HBaseSQLCliDriver$.main(HBaseSQLCliDriver.scala:91)\r\n\tat org.apache.spark.sql.hbase.HBaseSQLCliDriver.main(HBaseSQLCliDriver.scala)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:606)\r\n\tat org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:665)\r\n\tat org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:170)\r\n\tat org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:193)\r\n\tat org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:112)\r\n\tat org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)"}}