We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 005ae94 commit cfb5d29Copy full SHA for cfb5d29
README.md
@@ -94,13 +94,32 @@ conditions = [
94
}
95
]
96
97
+grouping = ['Timestamp']
98
+
99
+having = [
100
+ {
101
+ 'field': 'Timestamp',
102
+ 'type': 'INTEGER',
103
+ 'comparators': [
104
105
+ 'condition': '==',
106
+ 'negate': False,
107
+ 'value': 1399478981
108
+ }
109
+ ]
110
111
+]
112
113
+order_by ={'fields': ['Timestamp'], 'direction': 'desc'}
114
115
query = render_query(
116
'dataset',
117
['table'],
118
select=selects,
119
conditions=conditions,
- groupings=['Timestamp'],
- order_by={'field': 'Timestamp', 'direction': 'desc'}
120
+ groupings=grouping,
121
+ having=having,
122
+ order_by=order_by
123
)
124
125
job_id, _ = client.query(query)
0 commit comments