Skip to content

Instantly share code, notes, and snippets.

@hyperbolix
Created March 26, 2024 22:15
Show Gist options
  • Save hyperbolix/7df108c8169cf54bcc72fdc499be1dce to your computer and use it in GitHub Desktop.
Save hyperbolix/7df108c8169cf54bcc72fdc499be1dce to your computer and use it in GitHub Desktop.
Apache Drill HTTP connection configuration for demonstration of INDEX pagination mode bugs
{
"type": "http",
"connections": {
"a_bug_test": {
"url": "http://localhost:8081/",
"requireTail": false,
"method": "GET",
"params": [
"total_results_val",
"page_size_val",
"foo",
"foo_id",
"bar_id",
"foo_name",
"bar_name",
"some_integer",
"some_double",
"first_page"
],
"dataPath": "results",
"authType": "none",
"inputType": "json",
"xmlDataLevel": 1,
"postParameterLocation": "QUERY_STRING",
"verifySSLCert": true,
"paginator": {
"method": "INDEX",
"hasMoreParam": "has_more",
"indexParam": "next_page"
}
}
},
"timeout": 10000,
"retryDelay": 100000,
"proxyType": "direct",
"authMode": "SHARED_USER",
"enabled": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment