File tree Expand file tree Collapse file tree 4 files changed +5
-8
lines changed
Expand file tree Collapse file tree 4 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 55* Bugfix - Replace use of numpy aliases of built-in types with built-in type. (#938 ) PR #939
66* Bugfix - ` ExternalTable.delete ` should not remove row on error (#953 ) PR #956
77* Bugfix - Fix error handling of remove_object function in ` s3.py ` (#952 ) PR #955
8- * Bugfix - Fix regression issue with DISTINCT clause and GROUP_BY (#914 ) PR #963
8+ * Bugfix - Fix regression issue with ` DISTINCT ` and ` GROUP_BY ` clause (#914 ) PR #963
99
1010### 0.13.2 -- May 7, 2021
1111* Update ` setuptools_certificate ` dependency to new name ` otumat `
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ def where_clause(self):
104104 return '' if not self .restriction else ' WHERE(%s)' % ')AND(' .join (
105105 str (s ) for s in self .restriction )
106106
107- def make_sql (self , fields = None , distinct = True ):
107+ def make_sql (self , fields = None ):
108108 """
109109 Make the SQL SELECT statement.
110110 :param fields: used to explicitly set the select attributes
Original file line number Diff line number Diff line change 44* Bugfix - Replace use of numpy aliases of built-in types with built-in type. (#938) PR #939
55* Bugfix - `ExternalTable.delete ` should not remove row on error (#953) PR #956
66* Bugfix - Fix error handling of remove_object function in `s3.py ` (#952) PR #955
7- * Bugfix - Fix regression issue with DISTINCT clause and GROUP_BY (#914) PR #963
7+ * Bugfix - Fix regression issue with `` DISTINCT `` and `` GROUP_BY `` clause (#914) PR #963
88
990.13.2 -- May 7, 2021
1010----------------------
Original file line number Diff line number Diff line change @@ -292,12 +292,9 @@ def test_query_caching(self):
292292 def test_fetch_group_by (self ):
293293 # https://github.com/datajoint/datajoint-python/issues/914
294294
295- expected_data = [{'parent_id' : 1 }]
296- fetched_data = Parent ().fetch ('KEY' , order_by = 'name' )
297- print (fetched_data )
298- assert fetched_data == expected_data
295+ assert Parent ().fetch ('KEY' , order_by = 'name' ) == [{'parent_id' : 1 }]
299296
300- def test_dj_U_DISTINCT (self ):
297+ def test_dj_u_distinct (self ):
301298 # Test developed to see if removing DISTINCT from the select statement
302299 # generation breakes the dj.U universal set imlementation
303300
You can’t perform that action at this time.
0 commit comments