@@ -142,7 +142,6 @@ def test_boolean(self):
142
142
self .assertEqual (cursor .description [1 ].type_code , phoenixdb .BOOLEAN )
143
143
self .assertEqual (cursor .fetchall (), [[1 , True ], [2 , False ], [3 , None ], [4 , True ], [5 , False ], [6 , None ]])
144
144
145
- @unittest .skip ("https://issues.apache.org/jira/browse/PHOENIX-4664" )
146
145
def test_time (self ):
147
146
self .createTable ("phoenixdb_test_tbl1" , "CREATE TABLE {table} (id integer primary key, val time)" )
148
147
with self .conn .cursor () as cursor :
@@ -172,7 +171,6 @@ def test_time_full(self):
172
171
[2 , datetime .datetime (2015 , 7 , 12 , 13 , 1 , 2 , 123000 )],
173
172
])
174
173
175
- @unittest .skip ("https://issues.apache.org/jira/browse/PHOENIX-4664" )
176
174
def test_date (self ):
177
175
self .createTable ("phoenixdb_test_tbl1" , "CREATE TABLE {table} (id integer primary key, val date)" )
178
176
with self .conn .cursor () as cursor :
@@ -194,8 +192,8 @@ def test_date_full(self):
194
192
cursor .execute ("UPSERT INTO phoenixdb_test_tbl1 VALUES (2, ?)" , [datetime .datetime (2015 , 7 , 12 , 13 , 1 , 2 , 123000 )])
195
193
cursor .execute ("SELECT id, val FROM phoenixdb_test_tbl1 ORDER BY id" )
196
194
self .assertEqual (cursor .fetchall (), [
197
- [1 , datetime .datetime (2015 , 7 , 12 , 13 , 1 , 2 , 123000 )],
198
- [2 , datetime .datetime (2015 , 7 , 12 , 13 , 1 , 2 , 123000 )],
195
+ [1 , datetime .datetime (2015 , 7 , 12 )],
196
+ [2 , datetime .datetime (2015 , 7 , 12 )],
199
197
])
200
198
201
199
def test_date_null (self ):
@@ -209,7 +207,6 @@ def test_date_null(self):
209
207
[2 , None ],
210
208
])
211
209
212
- @unittest .skip ("https://issues.apache.org/jira/browse/PHOENIX-4664" )
213
210
def test_timestamp (self ):
214
211
self .createTable ("phoenixdb_test_tbl1" , "CREATE TABLE {table} (id integer primary key, val timestamp)" )
215
212
with self .conn .cursor () as cursor :
0 commit comments