Skip to content

Instantly share code, notes, and snippets.

View zhuangdaz's full-sized avatar
🐈
coding

Zhuangda Zhu zhuangdaz

🐈
coding
View GitHub Profile
{
"href": "../accounts/abc/groups",
"offset": 0,
"limit": 25,
"first": { "href": "../accounts/abc/group?offset=0" },
"previous": null,
"next": { "href": "../accounts/abc/group?offset=25" },
"last": { "href": "..." },
"items": [
{
@zhuangdaz
zhuangdaz / ssm.js
Created October 20, 2021 17:04
SSM utils for fetching and caching parameters
import { SSM } from "aws-sdk";
import ms from "ms";
const ssm = new SSM();
const SSM_PATH = process.env.SSM_PATH;
let cache = { params: {} };
const getParametersByPath = async (path) =>
ssm
.getParametersByPath({
Caught exception while processing query: QueryContext{_tableName='unified_events_REALTIME', _subquery=null, _selectExpressions=[indexedString0], _aliasList=[null], _filter=(eventMetaTypeId = '4' AND eventTypeInnerId = '815233' AND text_contains(indexedString0,'.*ndada.*') AND producedAt > '1686852952827'), _groupByExpressions=null, _havingFilter=null, _orderByExpressions=[occurredAt ASC], _limit=5, _offset=0, _queryOptions={responseFormat=sql, groupByMode=sql, timeoutMs=9992}, _expressionOverrideHints={}, _explain=false}
java.lang.RuntimeException: Caught exception while running query: .*ndada.*
at org.apache.pinot.segment.local.segment.index.readers.text.NativeTextIndexReader.getDocIds(NativeTextIndexReader.java:111) ~[pinot-all-0.12.1-hubspot-SNAPSHOT-jar-with-dependencies.jar:0.12.1-hubspot-SNAPSHOT-7591ad1c99c58ab8556739272a98ce5861504769]
at org.apache.pinot.core.operator.filter.TextContainsFilterOperator.getNextBlock(TextContainsFilterOperator.java:52) ~[pinot-all-0.12.1-hubspot-SNAPSHOT-jar-with-depe