Web console: upgrade axios and follow-redirects (#16087)

* upgrade axios

* upgrade jest
This commit is contained in:
Vadim Ogievetsky 2024-03-11 18:57:00 -07:00 committed by GitHub
parent 85ee775390
commit 8ef3eebd30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
48 changed files with 5489 additions and 8068 deletions

View File

@ -4963,7 +4963,7 @@ license_category: binary
module: web-console module: web-console
license_name: MIT License license_name: MIT License
copyright: The Babel Team copyright: The Babel Team
version: 7.22.5 version: 7.22.15
license_file_path: licenses/bin/@babel-helper-module-imports.MIT license_file_path: licenses/bin/@babel-helper-module-imports.MIT
--- ---
@ -5013,7 +5013,7 @@ license_category: binary
module: web-console module: web-console
license_name: MIT License license_name: MIT License
copyright: The Babel Team copyright: The Babel Team
version: 7.23.5 version: 7.24.0
license_file_path: licenses/bin/@babel-types.MIT license_file_path: licenses/bin/@babel-types.MIT
--- ---
@ -5297,12 +5297,22 @@ license_file_path: licenses/bin/ansi-styles.MIT
--- ---
name: "asynckit"
license_category: binary
module: web-console
license_name: MIT License
copyright: Alex Indigo
version: 0.4.0
license_file_path: licenses/bin/asynckit.MIT
---
name: "axios" name: "axios"
license_category: binary license_category: binary
module: web-console module: web-console
license_name: MIT License license_name: MIT License
copyright: Matt Zabriskie copyright: Matt Zabriskie
version: 0.26.1 version: 1.6.7
license_file_path: licenses/bin/axios.MIT license_file_path: licenses/bin/axios.MIT
--- ---
@ -5436,6 +5446,16 @@ license_file_path: licenses/bin/color-name.MIT
--- ---
name: "combined-stream"
license_category: binary
module: web-console
license_name: MIT License
copyright: Felix Geisendörfer
version: 1.0.8
license_file_path: licenses/bin/combined-stream.MIT
---
name: "commander" name: "commander"
license_category: binary license_category: binary
module: web-console module: web-console
@ -5656,6 +5676,16 @@ license_file_path: licenses/bin/define-properties.MIT
--- ---
name: "delayed-stream"
license_category: binary
module: web-console
license_name: MIT License
copyright: Felix Geisendörfer
version: 1.0.0
license_file_path: licenses/bin/delayed-stream.MIT
---
name: "diff-match-patch" name: "diff-match-patch"
license_category: binary license_category: binary
module: web-console module: web-console
@ -5769,7 +5799,7 @@ license_category: binary
module: web-console module: web-console
license_name: MIT License license_name: MIT License
copyright: Ruben Verborgh copyright: Ruben Verborgh
version: 1.15.1 version: 1.15.5
license_file_path: licenses/bin/follow-redirects.MIT license_file_path: licenses/bin/follow-redirects.MIT
--- ---
@ -5784,6 +5814,16 @@ license_file_path: licenses/bin/fontsource-open-sans.MIT
--- ---
name: "form-data"
license_category: binary
module: web-console
license_name: MIT License
copyright: Felix Geisendörfer
version: 4.0.0
license_file_path: licenses/bin/form-data.MIT
---
name: "function-bind" name: "function-bind"
license_category: binary license_category: binary
module: web-console module: web-console
@ -6143,6 +6183,26 @@ license_file_path: licenses/bin/memoize-one.MIT
--- ---
name: "mime-db"
license_category: binary
module: web-console
license_name: MIT License
copyright: Jonathan Ong <me@jongleberry.com>
version: 1.52.0
license_file_path: licenses/bin/mime-db.MIT
---
name: "mime-types"
license_category: binary
module: web-console
license_name: MIT License
copyright: Jonathan Ong <me@jongleberry.com>
version: 2.1.35
license_file_path: licenses/bin/mime-types.MIT
---
name: "moment-timezone" name: "moment-timezone"
license_category: binary license_category: binary
module: web-console module: web-console
@ -6332,6 +6392,16 @@ license_file_path: licenses/bin/prop-types.MIT
--- ---
name: "proxy-from-env"
license_category: binary
module: web-console
license_name: MIT License
copyright: Rob Wu
version: 1.1.0
license_file_path: licenses/bin/proxy-from-env.MIT
---
name: "react-ace" name: "react-ace"
license_category: binary license_category: binary
module: web-console module: web-console

21
licenses/bin/asynckit.MIT Normal file
View File

@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2016 Alex Indigo
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View File

@ -1,19 +1,7 @@
Copyright (c) 2014-present Matt Zabriskie # Copyright (c) 2014-present Matt Zabriskie & Collaborators
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@ -0,0 +1,19 @@
Copyright (c) 2011 Debuggable Limited <felix@debuggable.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@ -0,0 +1,19 @@
Copyright (c) 2011 Debuggable Limited <felix@debuggable.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

View File

@ -0,0 +1,19 @@
Copyright (c) 2012 Felix Geisendörfer (felix@debuggable.com) and contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

23
licenses/bin/mime-db.MIT Normal file
View File

@ -0,0 +1,23 @@
(The MIT License)
Copyright (c) 2014 Jonathan Ong <me@jongleberry.com>
Copyright (c) 2015-2022 Douglas Christopher Wilson <doug@somethingdoug.com>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -0,0 +1,23 @@
(The MIT License)
Copyright (c) 2014 Jonathan Ong <me@jongleberry.com>
Copyright (c) 2015 Douglas Christopher Wilson <doug@somethingdoug.com>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -0,0 +1,20 @@
The MIT License
Copyright (C) 2016-2018 Rob Wu <rob@robwu.nl>
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -1,29 +0,0 @@
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module.exports = function (api) {
api.cache(false);
const presets = [['@babel/preset-env', { useBuiltIns: 'entry', corejs: 3 }]];
const plugins = [];
return {
presets,
plugins,
};
};

File diff suppressed because it is too large Load Diff

View File

@ -72,7 +72,7 @@
"@druid-toolkit/visuals-core": "^0.3.3", "@druid-toolkit/visuals-core": "^0.3.3",
"@druid-toolkit/visuals-react": "^0.3.3", "@druid-toolkit/visuals-react": "^0.3.3",
"ace-builds": "~1.4.14", "ace-builds": "~1.4.14",
"axios": "^0.26.1", "axios": "^1.6.7",
"chronoshift": "^0.10.0", "chronoshift": "^0.10.0",
"classnames": "^2.2.6", "classnames": "^2.2.6",
"copy-to-clipboard": "^3.2.0", "copy-to-clipboard": "^3.2.0",
@ -84,7 +84,6 @@
"d3-selection": "^2.0.0", "d3-selection": "^2.0.0",
"echarts": "^5.4.3", "echarts": "^5.4.3",
"file-saver": "^2.0.5", "file-saver": "^2.0.5",
"follow-redirects": "^1.14.7",
"fontsource-open-sans": "^3.0.9", "fontsource-open-sans": "^3.0.9",
"hjson": "^3.2.2", "hjson": "^3.2.2",
"json-bigint-native": "^1.2.0", "json-bigint-native": "^1.2.0",
@ -136,7 +135,6 @@
"@typescript-eslint/eslint-plugin": "^5.51.0", "@typescript-eslint/eslint-plugin": "^5.51.0",
"@typescript-eslint/parser": "^5.51.0", "@typescript-eslint/parser": "^5.51.0",
"autoprefixer": "^10.2.6", "autoprefixer": "^10.2.6",
"babel-loader": "^8.2.2",
"browserslist": "^4.16.6", "browserslist": "^4.16.6",
"codecov": "^3.8.2", "codecov": "^3.8.2",
"css-loader": "^5.2.1", "css-loader": "^5.2.1",
@ -152,7 +150,8 @@
"file-loader": "^6.2.0", "file-loader": "^6.2.0",
"fs-extra": "^8.1.0", "fs-extra": "^8.1.0",
"identity-obj-proxy": "^3.0.0", "identity-obj-proxy": "^3.0.0",
"jest": "^27.5.0", "jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"license-checker": "^25.0.1", "license-checker": "^25.0.1",
"playwright-chromium": "^1.24.1", "playwright-chromium": "^1.24.1",
"postcss": "^8.3.0", "postcss": "^8.3.0",
@ -166,7 +165,7 @@
"snarkdown": "^2.0.0", "snarkdown": "^2.0.0",
"style-loader": "^2.0.0", "style-loader": "^2.0.0",
"stylelint": "^13.12.0", "stylelint": "^13.12.0",
"ts-jest": "^27.1.3", "ts-jest": "^29.1.2",
"ts-loader": "^9.4.2", "ts-loader": "^9.4.2",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"typescript": "^4.9.5", "typescript": "^4.9.5",

View File

@ -121,7 +121,7 @@ exports[`AutoForm matches snapshot 1`] = `
disabled={false} disabled={false}
onChange={[Function]} onChange={[Function]}
placeholder="" placeholder=""
values={Array []} values={[]}
/> />
</Memo(FormGroupWithInfo)> </Memo(FormGroupWithInfo)>
<Memo(FormGroupWithInfo) <Memo(FormGroupWithInfo)
@ -132,7 +132,7 @@ exports[`AutoForm matches snapshot 1`] = `
onChange={[Function]} onChange={[Function]}
placeholder="" placeholder=""
values={ values={
Array [ [
"Hello", "Hello",
"World", "World",
] ]

View File

@ -26,7 +26,7 @@ exports[`FormattedInput matches snapshot with escaped value 1`] = `
<input <input
class="bp4-input" class="bp4-input"
type="text" type="text"
value="Here are some chars \\\\t\\\\r\\\\n lol" value="Here are some chars \\t\\r\\n lol"
/> />
</div> </div>
</div> </div>

View File

@ -33,7 +33,7 @@ exports[`HeaderBar matches snapshot 1`] = `
href="#streaming-data-loader" href="#streaming-data-loader"
icon="feed" icon="feed"
multiline={false} multiline={false}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Streaming" text="Streaming"
@ -51,7 +51,7 @@ exports[`HeaderBar matches snapshot 1`] = `
</Blueprint4.Tag> </Blueprint4.Tag>
} }
multiline={false} multiline={false}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Batch - SQL" text="Batch - SQL"
@ -62,7 +62,7 @@ exports[`HeaderBar matches snapshot 1`] = `
href="#classic-batch-data-loader" href="#classic-batch-data-loader"
icon="list" icon="list"
multiline={false} multiline={false}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Batch - classic" text="Batch - classic"
@ -153,7 +153,7 @@ exports[`HeaderBar matches snapshot 1`] = `
href="#lookups" href="#lookups"
icon="properties" icon="properties"
multiline={false} multiline={false}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Lookups" text="Lookups"
@ -166,7 +166,7 @@ exports[`HeaderBar matches snapshot 1`] = `
icon="compass" icon="compass"
label="(experimental)" label="(experimental)"
multiline={false} multiline={false}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Explore" text="Explore"
@ -225,7 +225,7 @@ exports[`HeaderBar matches snapshot 1`] = `
icon="pulse" icon="pulse"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Druid Doctor" text="Druid Doctor"
@ -236,7 +236,7 @@ exports[`HeaderBar matches snapshot 1`] = `
icon="settings" icon="settings"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Coordinator dynamic config" text="Coordinator dynamic config"
@ -247,7 +247,7 @@ exports[`HeaderBar matches snapshot 1`] = `
icon="wrench" icon="wrench"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Overlord dynamic config" text="Overlord dynamic config"
@ -258,7 +258,7 @@ exports[`HeaderBar matches snapshot 1`] = `
icon="compressed" icon="compressed"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Compaction dynamic config" text="Compaction dynamic config"
@ -269,7 +269,7 @@ exports[`HeaderBar matches snapshot 1`] = `
disabled={false} disabled={false}
icon="cog" icon="cog"
multiline={false} multiline={false}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Console options" text="Console options"
@ -280,7 +280,7 @@ exports[`HeaderBar matches snapshot 1`] = `
disabled={false} disabled={false}
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Force Coordinator/Overlord mode" text="Force Coordinator/Overlord mode"
@ -290,7 +290,7 @@ exports[`HeaderBar matches snapshot 1`] = `
disabled={false} disabled={false}
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Force Coordinator mode" text="Force Coordinator mode"
@ -300,7 +300,7 @@ exports[`HeaderBar matches snapshot 1`] = `
disabled={false} disabled={false}
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Force Overlord mode" text="Force Overlord mode"
@ -310,7 +310,7 @@ exports[`HeaderBar matches snapshot 1`] = `
disabled={false} disabled={false}
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Force no management proxy mode" text="Force no management proxy mode"
@ -354,7 +354,7 @@ exports[`HeaderBar matches snapshot 1`] = `
icon="graph" icon="graph"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="About" text="About"
@ -365,7 +365,7 @@ exports[`HeaderBar matches snapshot 1`] = `
href="https://druid.apache.org/docs/latest" href="https://druid.apache.org/docs/latest"
icon="th" icon="th"
multiline={false} multiline={false}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
target="_blank" target="_blank"
@ -377,7 +377,7 @@ exports[`HeaderBar matches snapshot 1`] = `
href="https://groups.google.com/forum/#!forum/druid-user" href="https://groups.google.com/forum/#!forum/druid-user"
icon="user" icon="user"
multiline={false} multiline={false}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
target="_blank" target="_blank"
@ -389,7 +389,7 @@ exports[`HeaderBar matches snapshot 1`] = `
href="https://druid.apache.org/community/join-slack" href="https://druid.apache.org/community/join-slack"
icon="chat" icon="chat"
multiline={false} multiline={false}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
target="_blank" target="_blank"
@ -401,7 +401,7 @@ exports[`HeaderBar matches snapshot 1`] = `
href="https://github.com/apache/druid" href="https://github.com/apache/druid"
icon="git-branch" icon="git-branch"
multiline={false} multiline={false}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
target="_blank" target="_blank"

View File

@ -26,7 +26,6 @@ export * from './center-message/center-message';
export * from './clearable-input/clearable-input'; export * from './clearable-input/clearable-input';
export * from './click-to-copy/click-to-copy'; export * from './click-to-copy/click-to-copy';
export * from './deferred/deferred'; export * from './deferred/deferred';
export * from './deferred/deferred';
export * from './external-link/external-link'; export * from './external-link/external-link';
export * from './fancy-tab-pane/fancy-tab-pane'; export * from './fancy-tab-pane/fancy-tab-pane';
export * from './form-group-with-info/form-group-with-info'; export * from './form-group-with-info/form-group-with-info';

View File

@ -23,7 +23,7 @@ exports[`JsonCollapse matches snapshot 1`] = `
<Blueprint4.TextArea <Blueprint4.TextArea
readOnly={true} readOnly={true}
value="{ value="{
\\"name\\": \\"test\\" "name": "test"
}" }"
/> />
</Blueprint4.Collapse> </Blueprint4.Collapse>

View File

@ -60,7 +60,7 @@ exports[`SuggestibleInput matches snapshot with escaped value 1`] = `
class="bp4-input" class="bp4-input"
style="padding-right: 0px;" style="padding-right: 0px;"
type="text" type="text"
value="Here are some chars \\\\t\\\\r\\\\n lol" value="Here are some chars \\t\\r\\n lol"
/> />
<span <span
class="bp4-input-action" class="bp4-input-action"

View File

@ -21,7 +21,7 @@ exports[`TimedButton matches snapshot 1`] = `
icon="selection" icon="selection"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="timeValue" text="timeValue"

View File

@ -18,14 +18,14 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
<React.Fragment> <React.Fragment>
<AutoForm <AutoForm
fields={ fields={
Array [ [
Object { {
"defaultValue": "P1D", "defaultValue": "P1D",
"info": <p> "info": <p>
The offset for searching segments to be compacted. Strongly recommended to set for realtime dataSources. The offset for searching segments to be compacted. Strongly recommended to set for realtime dataSources.
</p>, </p>,
"name": "skipOffsetFromLatest", "name": "skipOffsetFromLatest",
"suggestions": Array [ "suggestions": [
"PT0H", "PT0H",
"PT1H", "PT1H",
"P1D", "P1D",
@ -33,7 +33,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
], ],
"type": "string", "type": "string",
}, },
Object { {
"info": <p> "info": <p>
For perfect rollup, you should use either For perfect rollup, you should use either
<Unknown> <Unknown>
@ -51,14 +51,14 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
</p>, </p>,
"label": "Partitioning type", "label": "Partitioning type",
"name": "tuningConfig.partitionsSpec.type", "name": "tuningConfig.partitionsSpec.type",
"suggestions": Array [ "suggestions": [
"dynamic", "dynamic",
"hashed", "hashed",
"range", "range",
], ],
"type": "string", "type": "string",
}, },
Object { {
"defaultValue": 5000000, "defaultValue": 5000000,
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
@ -67,7 +67,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
"name": "tuningConfig.partitionsSpec.maxRowsPerSegment", "name": "tuningConfig.partitionsSpec.maxRowsPerSegment",
"type": "number", "type": "number",
}, },
Object { {
"defaultValue": 20000000, "defaultValue": 20000000,
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
@ -76,7 +76,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
"name": "tuningConfig.partitionsSpec.maxTotalRows", "name": "tuningConfig.partitionsSpec.maxTotalRows",
"type": "number", "type": "number",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -118,7 +118,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
"type": "number", "type": "number",
"zeroMeansUndefined": true, "zeroMeansUndefined": true,
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -165,7 +165,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
"type": "number", "type": "number",
"zeroMeansUndefined": true, "zeroMeansUndefined": true,
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -190,7 +190,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
"type": "number", "type": "number",
"zeroMeansUndefined": true, "zeroMeansUndefined": true,
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <p> "info": <p>
The dimensions to partition on. Leave blank to select all dimensions. The dimensions to partition on. Leave blank to select all dimensions.
@ -199,7 +199,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
"placeholder": "(all dimensions)", "placeholder": "(all dimensions)",
"type": "string-array", "type": "string-array",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <p> "info": <p>
The dimension to partition on. The dimension to partition on.
@ -208,7 +208,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
"required": true, "required": true,
"type": "string", "type": "string",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <p> "info": <p>
The dimensions to partition on. The dimensions to partition on.
@ -217,7 +217,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
"required": true, "required": true,
"type": "string-array", "type": "string-array",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -240,7 +240,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
"type": "number", "type": "number",
"zeroMeansUndefined": true, "zeroMeansUndefined": true,
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -263,7 +263,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
"type": "number", "type": "number",
"zeroMeansUndefined": true, "zeroMeansUndefined": true,
}, },
Object { {
"defaultValue": false, "defaultValue": false,
"defined": [Function], "defined": [Function],
"info": <p> "info": <p>
@ -272,7 +272,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
"name": "tuningConfig.partitionsSpec.assumeGrouped", "name": "tuningConfig.partitionsSpec.assumeGrouped",
"type": "boolean", "type": "boolean",
}, },
Object { {
"defaultValue": 1, "defaultValue": 1,
"info": <React.Fragment> "info": <React.Fragment>
Maximum number of tasks which can be run at the same time. The supervisor task would spawn worker tasks up to maxNumConcurrentSubTasks regardless of the available task slots. If this value is set to 1, the supervisor task processes data ingestion on its own instead of spawning worker tasks. If this value is set to too large, too many worker tasks can be created which might block other ingestion. Maximum number of tasks which can be run at the same time. The supervisor task would spawn worker tasks up to maxNumConcurrentSubTasks regardless of the available task slots. If this value is set to 1, the supervisor task processes data ingestion on its own instead of spawning worker tasks. If this value is set to too large, too many worker tasks can be created which might block other ingestion.
@ -281,7 +281,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
"name": "tuningConfig.maxNumConcurrentSubTasks", "name": "tuningConfig.maxNumConcurrentSubTasks",
"type": "number", "type": "number",
}, },
Object { {
"defaultValue": -1, "defaultValue": -1,
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -295,7 +295,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
"name": "tuningConfig.maxColumnsToMerge", "name": "tuningConfig.maxColumnsToMerge",
"type": "number", "type": "number",
}, },
Object { {
"defaultValue": 10, "defaultValue": 10,
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
@ -305,7 +305,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
"name": "tuningConfig.totalNumMergeTasks", "name": "tuningConfig.totalNumMergeTasks",
"type": "number", "type": "number",
}, },
Object { {
"adjustment": [Function], "adjustment": [Function],
"defaultValue": 1073741824, "defaultValue": 1073741824,
"hideInMore": true, "hideInMore": true,
@ -316,7 +316,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
"name": "tuningConfig.splitHintSpec.maxSplitSize", "name": "tuningConfig.splitHintSpec.maxSplitSize",
"type": "number", "type": "number",
}, },
Object { {
"adjustment": [Function], "adjustment": [Function],
"defaultValue": 1000, "defaultValue": 1000,
"hideInMore": true, "hideInMore": true,
@ -339,10 +339,10 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
] ]
} }
model={ model={
Object { {
"dataSource": "test1", "dataSource": "test1",
"tuningConfig": Object { "tuningConfig": {
"partitionsSpec": Object { "partitionsSpec": {
"type": "dynamic", "type": "dynamic",
}, },
}, },
@ -428,14 +428,14 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
<React.Fragment> <React.Fragment>
<AutoForm <AutoForm
fields={ fields={
Array [ [
Object { {
"defaultValue": "P1D", "defaultValue": "P1D",
"info": <p> "info": <p>
The offset for searching segments to be compacted. Strongly recommended to set for realtime dataSources. The offset for searching segments to be compacted. Strongly recommended to set for realtime dataSources.
</p>, </p>,
"name": "skipOffsetFromLatest", "name": "skipOffsetFromLatest",
"suggestions": Array [ "suggestions": [
"PT0H", "PT0H",
"PT1H", "PT1H",
"P1D", "P1D",
@ -443,7 +443,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
], ],
"type": "string", "type": "string",
}, },
Object { {
"info": <p> "info": <p>
For perfect rollup, you should use either For perfect rollup, you should use either
<Unknown> <Unknown>
@ -461,14 +461,14 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
</p>, </p>,
"label": "Partitioning type", "label": "Partitioning type",
"name": "tuningConfig.partitionsSpec.type", "name": "tuningConfig.partitionsSpec.type",
"suggestions": Array [ "suggestions": [
"dynamic", "dynamic",
"hashed", "hashed",
"range", "range",
], ],
"type": "string", "type": "string",
}, },
Object { {
"defaultValue": 5000000, "defaultValue": 5000000,
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
@ -477,7 +477,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
"name": "tuningConfig.partitionsSpec.maxRowsPerSegment", "name": "tuningConfig.partitionsSpec.maxRowsPerSegment",
"type": "number", "type": "number",
}, },
Object { {
"defaultValue": 20000000, "defaultValue": 20000000,
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
@ -486,7 +486,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
"name": "tuningConfig.partitionsSpec.maxTotalRows", "name": "tuningConfig.partitionsSpec.maxTotalRows",
"type": "number", "type": "number",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -528,7 +528,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
"type": "number", "type": "number",
"zeroMeansUndefined": true, "zeroMeansUndefined": true,
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -575,7 +575,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
"type": "number", "type": "number",
"zeroMeansUndefined": true, "zeroMeansUndefined": true,
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -600,7 +600,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
"type": "number", "type": "number",
"zeroMeansUndefined": true, "zeroMeansUndefined": true,
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <p> "info": <p>
The dimensions to partition on. Leave blank to select all dimensions. The dimensions to partition on. Leave blank to select all dimensions.
@ -609,7 +609,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
"placeholder": "(all dimensions)", "placeholder": "(all dimensions)",
"type": "string-array", "type": "string-array",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <p> "info": <p>
The dimension to partition on. The dimension to partition on.
@ -618,7 +618,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
"required": true, "required": true,
"type": "string", "type": "string",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <p> "info": <p>
The dimensions to partition on. The dimensions to partition on.
@ -627,7 +627,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
"required": true, "required": true,
"type": "string-array", "type": "string-array",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -650,7 +650,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
"type": "number", "type": "number",
"zeroMeansUndefined": true, "zeroMeansUndefined": true,
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -673,7 +673,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
"type": "number", "type": "number",
"zeroMeansUndefined": true, "zeroMeansUndefined": true,
}, },
Object { {
"defaultValue": false, "defaultValue": false,
"defined": [Function], "defined": [Function],
"info": <p> "info": <p>
@ -682,7 +682,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
"name": "tuningConfig.partitionsSpec.assumeGrouped", "name": "tuningConfig.partitionsSpec.assumeGrouped",
"type": "boolean", "type": "boolean",
}, },
Object { {
"defaultValue": 1, "defaultValue": 1,
"info": <React.Fragment> "info": <React.Fragment>
Maximum number of tasks which can be run at the same time. The supervisor task would spawn worker tasks up to maxNumConcurrentSubTasks regardless of the available task slots. If this value is set to 1, the supervisor task processes data ingestion on its own instead of spawning worker tasks. If this value is set to too large, too many worker tasks can be created which might block other ingestion. Maximum number of tasks which can be run at the same time. The supervisor task would spawn worker tasks up to maxNumConcurrentSubTasks regardless of the available task slots. If this value is set to 1, the supervisor task processes data ingestion on its own instead of spawning worker tasks. If this value is set to too large, too many worker tasks can be created which might block other ingestion.
@ -691,7 +691,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
"name": "tuningConfig.maxNumConcurrentSubTasks", "name": "tuningConfig.maxNumConcurrentSubTasks",
"type": "number", "type": "number",
}, },
Object { {
"defaultValue": -1, "defaultValue": -1,
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -705,7 +705,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
"name": "tuningConfig.maxColumnsToMerge", "name": "tuningConfig.maxColumnsToMerge",
"type": "number", "type": "number",
}, },
Object { {
"defaultValue": 10, "defaultValue": 10,
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
@ -715,7 +715,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
"name": "tuningConfig.totalNumMergeTasks", "name": "tuningConfig.totalNumMergeTasks",
"type": "number", "type": "number",
}, },
Object { {
"adjustment": [Function], "adjustment": [Function],
"defaultValue": 1073741824, "defaultValue": 1073741824,
"hideInMore": true, "hideInMore": true,
@ -726,7 +726,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
"name": "tuningConfig.splitHintSpec.maxSplitSize", "name": "tuningConfig.splitHintSpec.maxSplitSize",
"type": "number", "type": "number",
}, },
Object { {
"adjustment": [Function], "adjustment": [Function],
"defaultValue": 1000, "defaultValue": 1000,
"hideInMore": true, "hideInMore": true,
@ -749,10 +749,10 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
] ]
} }
model={ model={
Object { {
"dataSource": "test1", "dataSource": "test1",
"tuningConfig": Object { "tuningConfig": {
"partitionsSpec": Object { "partitionsSpec": {
"type": "hashed", "type": "hashed",
}, },
}, },
@ -838,14 +838,14 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
<React.Fragment> <React.Fragment>
<AutoForm <AutoForm
fields={ fields={
Array [ [
Object { {
"defaultValue": "P1D", "defaultValue": "P1D",
"info": <p> "info": <p>
The offset for searching segments to be compacted. Strongly recommended to set for realtime dataSources. The offset for searching segments to be compacted. Strongly recommended to set for realtime dataSources.
</p>, </p>,
"name": "skipOffsetFromLatest", "name": "skipOffsetFromLatest",
"suggestions": Array [ "suggestions": [
"PT0H", "PT0H",
"PT1H", "PT1H",
"P1D", "P1D",
@ -853,7 +853,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
], ],
"type": "string", "type": "string",
}, },
Object { {
"info": <p> "info": <p>
For perfect rollup, you should use either For perfect rollup, you should use either
<Unknown> <Unknown>
@ -871,14 +871,14 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
</p>, </p>,
"label": "Partitioning type", "label": "Partitioning type",
"name": "tuningConfig.partitionsSpec.type", "name": "tuningConfig.partitionsSpec.type",
"suggestions": Array [ "suggestions": [
"dynamic", "dynamic",
"hashed", "hashed",
"range", "range",
], ],
"type": "string", "type": "string",
}, },
Object { {
"defaultValue": 5000000, "defaultValue": 5000000,
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
@ -887,7 +887,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
"name": "tuningConfig.partitionsSpec.maxRowsPerSegment", "name": "tuningConfig.partitionsSpec.maxRowsPerSegment",
"type": "number", "type": "number",
}, },
Object { {
"defaultValue": 20000000, "defaultValue": 20000000,
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
@ -896,7 +896,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
"name": "tuningConfig.partitionsSpec.maxTotalRows", "name": "tuningConfig.partitionsSpec.maxTotalRows",
"type": "number", "type": "number",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -938,7 +938,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
"type": "number", "type": "number",
"zeroMeansUndefined": true, "zeroMeansUndefined": true,
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -985,7 +985,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
"type": "number", "type": "number",
"zeroMeansUndefined": true, "zeroMeansUndefined": true,
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -1010,7 +1010,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
"type": "number", "type": "number",
"zeroMeansUndefined": true, "zeroMeansUndefined": true,
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <p> "info": <p>
The dimensions to partition on. Leave blank to select all dimensions. The dimensions to partition on. Leave blank to select all dimensions.
@ -1019,7 +1019,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
"placeholder": "(all dimensions)", "placeholder": "(all dimensions)",
"type": "string-array", "type": "string-array",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <p> "info": <p>
The dimension to partition on. The dimension to partition on.
@ -1028,7 +1028,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
"required": true, "required": true,
"type": "string", "type": "string",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <p> "info": <p>
The dimensions to partition on. The dimensions to partition on.
@ -1037,7 +1037,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
"required": true, "required": true,
"type": "string-array", "type": "string-array",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -1060,7 +1060,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
"type": "number", "type": "number",
"zeroMeansUndefined": true, "zeroMeansUndefined": true,
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -1083,7 +1083,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
"type": "number", "type": "number",
"zeroMeansUndefined": true, "zeroMeansUndefined": true,
}, },
Object { {
"defaultValue": false, "defaultValue": false,
"defined": [Function], "defined": [Function],
"info": <p> "info": <p>
@ -1092,7 +1092,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
"name": "tuningConfig.partitionsSpec.assumeGrouped", "name": "tuningConfig.partitionsSpec.assumeGrouped",
"type": "boolean", "type": "boolean",
}, },
Object { {
"defaultValue": 1, "defaultValue": 1,
"info": <React.Fragment> "info": <React.Fragment>
Maximum number of tasks which can be run at the same time. The supervisor task would spawn worker tasks up to maxNumConcurrentSubTasks regardless of the available task slots. If this value is set to 1, the supervisor task processes data ingestion on its own instead of spawning worker tasks. If this value is set to too large, too many worker tasks can be created which might block other ingestion. Maximum number of tasks which can be run at the same time. The supervisor task would spawn worker tasks up to maxNumConcurrentSubTasks regardless of the available task slots. If this value is set to 1, the supervisor task processes data ingestion on its own instead of spawning worker tasks. If this value is set to too large, too many worker tasks can be created which might block other ingestion.
@ -1101,7 +1101,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
"name": "tuningConfig.maxNumConcurrentSubTasks", "name": "tuningConfig.maxNumConcurrentSubTasks",
"type": "number", "type": "number",
}, },
Object { {
"defaultValue": -1, "defaultValue": -1,
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -1115,7 +1115,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
"name": "tuningConfig.maxColumnsToMerge", "name": "tuningConfig.maxColumnsToMerge",
"type": "number", "type": "number",
}, },
Object { {
"defaultValue": 10, "defaultValue": 10,
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
@ -1125,7 +1125,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
"name": "tuningConfig.totalNumMergeTasks", "name": "tuningConfig.totalNumMergeTasks",
"type": "number", "type": "number",
}, },
Object { {
"adjustment": [Function], "adjustment": [Function],
"defaultValue": 1073741824, "defaultValue": 1073741824,
"hideInMore": true, "hideInMore": true,
@ -1136,7 +1136,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
"name": "tuningConfig.splitHintSpec.maxSplitSize", "name": "tuningConfig.splitHintSpec.maxSplitSize",
"type": "number", "type": "number",
}, },
Object { {
"adjustment": [Function], "adjustment": [Function],
"defaultValue": 1000, "defaultValue": 1000,
"hideInMore": true, "hideInMore": true,
@ -1159,10 +1159,10 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
] ]
} }
model={ model={
Object { {
"dataSource": "test1", "dataSource": "test1",
"tuningConfig": Object { "tuningConfig": {
"partitionsSpec": Object { "partitionsSpec": {
"type": "range", "type": "range",
}, },
}, },
@ -1248,14 +1248,14 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
<React.Fragment> <React.Fragment>
<AutoForm <AutoForm
fields={ fields={
Array [ [
Object { {
"defaultValue": "P1D", "defaultValue": "P1D",
"info": <p> "info": <p>
The offset for searching segments to be compacted. Strongly recommended to set for realtime dataSources. The offset for searching segments to be compacted. Strongly recommended to set for realtime dataSources.
</p>, </p>,
"name": "skipOffsetFromLatest", "name": "skipOffsetFromLatest",
"suggestions": Array [ "suggestions": [
"PT0H", "PT0H",
"PT1H", "PT1H",
"P1D", "P1D",
@ -1263,7 +1263,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
], ],
"type": "string", "type": "string",
}, },
Object { {
"info": <p> "info": <p>
For perfect rollup, you should use either For perfect rollup, you should use either
<Unknown> <Unknown>
@ -1281,14 +1281,14 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
</p>, </p>,
"label": "Partitioning type", "label": "Partitioning type",
"name": "tuningConfig.partitionsSpec.type", "name": "tuningConfig.partitionsSpec.type",
"suggestions": Array [ "suggestions": [
"dynamic", "dynamic",
"hashed", "hashed",
"range", "range",
], ],
"type": "string", "type": "string",
}, },
Object { {
"defaultValue": 5000000, "defaultValue": 5000000,
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
@ -1297,7 +1297,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
"name": "tuningConfig.partitionsSpec.maxRowsPerSegment", "name": "tuningConfig.partitionsSpec.maxRowsPerSegment",
"type": "number", "type": "number",
}, },
Object { {
"defaultValue": 20000000, "defaultValue": 20000000,
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
@ -1306,7 +1306,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
"name": "tuningConfig.partitionsSpec.maxTotalRows", "name": "tuningConfig.partitionsSpec.maxTotalRows",
"type": "number", "type": "number",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -1348,7 +1348,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
"type": "number", "type": "number",
"zeroMeansUndefined": true, "zeroMeansUndefined": true,
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -1395,7 +1395,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
"type": "number", "type": "number",
"zeroMeansUndefined": true, "zeroMeansUndefined": true,
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -1420,7 +1420,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
"type": "number", "type": "number",
"zeroMeansUndefined": true, "zeroMeansUndefined": true,
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <p> "info": <p>
The dimensions to partition on. Leave blank to select all dimensions. The dimensions to partition on. Leave blank to select all dimensions.
@ -1429,7 +1429,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
"placeholder": "(all dimensions)", "placeholder": "(all dimensions)",
"type": "string-array", "type": "string-array",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <p> "info": <p>
The dimension to partition on. The dimension to partition on.
@ -1438,7 +1438,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
"required": true, "required": true,
"type": "string", "type": "string",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <p> "info": <p>
The dimensions to partition on. The dimensions to partition on.
@ -1447,7 +1447,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
"required": true, "required": true,
"type": "string-array", "type": "string-array",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -1470,7 +1470,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
"type": "number", "type": "number",
"zeroMeansUndefined": true, "zeroMeansUndefined": true,
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -1493,7 +1493,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
"type": "number", "type": "number",
"zeroMeansUndefined": true, "zeroMeansUndefined": true,
}, },
Object { {
"defaultValue": false, "defaultValue": false,
"defined": [Function], "defined": [Function],
"info": <p> "info": <p>
@ -1502,7 +1502,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
"name": "tuningConfig.partitionsSpec.assumeGrouped", "name": "tuningConfig.partitionsSpec.assumeGrouped",
"type": "boolean", "type": "boolean",
}, },
Object { {
"defaultValue": 1, "defaultValue": 1,
"info": <React.Fragment> "info": <React.Fragment>
Maximum number of tasks which can be run at the same time. The supervisor task would spawn worker tasks up to maxNumConcurrentSubTasks regardless of the available task slots. If this value is set to 1, the supervisor task processes data ingestion on its own instead of spawning worker tasks. If this value is set to too large, too many worker tasks can be created which might block other ingestion. Maximum number of tasks which can be run at the same time. The supervisor task would spawn worker tasks up to maxNumConcurrentSubTasks regardless of the available task slots. If this value is set to 1, the supervisor task processes data ingestion on its own instead of spawning worker tasks. If this value is set to too large, too many worker tasks can be created which might block other ingestion.
@ -1511,7 +1511,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
"name": "tuningConfig.maxNumConcurrentSubTasks", "name": "tuningConfig.maxNumConcurrentSubTasks",
"type": "number", "type": "number",
}, },
Object { {
"defaultValue": -1, "defaultValue": -1,
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -1525,7 +1525,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
"name": "tuningConfig.maxColumnsToMerge", "name": "tuningConfig.maxColumnsToMerge",
"type": "number", "type": "number",
}, },
Object { {
"defaultValue": 10, "defaultValue": 10,
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
@ -1535,7 +1535,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
"name": "tuningConfig.totalNumMergeTasks", "name": "tuningConfig.totalNumMergeTasks",
"type": "number", "type": "number",
}, },
Object { {
"adjustment": [Function], "adjustment": [Function],
"defaultValue": 1073741824, "defaultValue": 1073741824,
"hideInMore": true, "hideInMore": true,
@ -1546,7 +1546,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
"name": "tuningConfig.splitHintSpec.maxSplitSize", "name": "tuningConfig.splitHintSpec.maxSplitSize",
"type": "number", "type": "number",
}, },
Object { {
"adjustment": [Function], "adjustment": [Function],
"defaultValue": 1000, "defaultValue": 1000,
"hideInMore": true, "hideInMore": true,
@ -1569,10 +1569,10 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
] ]
} }
model={ model={
Object { {
"dataSource": "test1", "dataSource": "test1",
"tuningConfig": Object { "tuningConfig": {
"partitionsSpec": Object { "partitionsSpec": {
"type": "dynamic", "type": "dynamic",
}, },
}, },

View File

@ -28,7 +28,7 @@ exports[`DatasourceColumnsTable matches snapshot on error 1`] = `
collapseOnPageChange={true} collapseOnPageChange={true}
collapseOnSortingChange={true} collapseOnSortingChange={true}
column={ column={
Object { {
"Aggregated": undefined, "Aggregated": undefined,
"Cell": undefined, "Cell": undefined,
"Expander": undefined, "Expander": undefined,
@ -44,30 +44,30 @@ exports[`DatasourceColumnsTable matches snapshot on error 1`] = `
"filterMethod": undefined, "filterMethod": undefined,
"filterable": undefined, "filterable": undefined,
"footerClassName": "", "footerClassName": "",
"footerStyle": Object {}, "footerStyle": {},
"getFooterProps": [Function], "getFooterProps": [Function],
"getHeaderProps": [Function], "getHeaderProps": [Function],
"getProps": [Function], "getProps": [Function],
"headerClassName": "", "headerClassName": "",
"headerStyle": Object {}, "headerStyle": {},
"minResizeWidth": 11, "minResizeWidth": 11,
"minWidth": 100, "minWidth": 100,
"resizable": undefined, "resizable": undefined,
"show": true, "show": true,
"sortMethod": undefined, "sortMethod": undefined,
"sortable": undefined, "sortable": undefined,
"style": Object {}, "style": {},
} }
} }
columns={ columns={
Array [ [
Object { {
"Header": "Column name", "Header": "Column name",
"accessor": "COLUMN_NAME", "accessor": "COLUMN_NAME",
"className": "padded", "className": "padded",
"width": 300, "width": 300,
}, },
Object { {
"Header": "Data type", "Header": "Data type",
"accessor": "DATA_TYPE", "accessor": "DATA_TYPE",
"className": "padded", "className": "padded",
@ -75,18 +75,18 @@ exports[`DatasourceColumnsTable matches snapshot on error 1`] = `
}, },
] ]
} }
data={Array []} data={[]}
defaultExpanded={Object {}} defaultExpanded={{}}
defaultFilterMethod={[Function]} defaultFilterMethod={[Function]}
defaultFiltered={Array []} defaultFiltered={[]}
defaultPage={0} defaultPage={0}
defaultPageSize={25} defaultPageSize={25}
defaultResized={Array []} defaultResized={[]}
defaultSortDesc={false} defaultSortDesc={false}
defaultSortMethod={[Function]} defaultSortMethod={[Function]}
defaultSorted={Array []} defaultSorted={[]}
expanderDefaults={ expanderDefaults={
Object { {
"filterable": false, "filterable": false,
"resizable": false, "resizable": false,
"sortable": false, "sortable": false,
@ -130,14 +130,14 @@ exports[`DatasourceColumnsTable matches snapshot on error 1`] = `
originalKey="_original" originalKey="_original"
pageJumpText="jump to page" pageJumpText="jump to page"
pageSizeOptions={ pageSizeOptions={
Array [ [
25, 25,
50, 50,
100, 100,
] ]
} }
pageText="Page" pageText="Page"
pivotDefaults={Object {}} pivotDefaults={{}}
pivotIDKey="_pivotID" pivotIDKey="_pivotID"
pivotValKey="_pivotVal" pivotValKey="_pivotVal"
previousText="Previous" previousText="Previous"
@ -151,7 +151,7 @@ exports[`DatasourceColumnsTable matches snapshot on error 1`] = `
showPaginationBottom={true} showPaginationBottom={true}
showPaginationTop={false} showPaginationTop={false}
sortable={true} sortable={true}
style={Object {}} style={{}}
subRowsKey="_subRows" subRowsKey="_subRows"
/> />
</div> </div>
@ -185,7 +185,7 @@ exports[`DatasourceColumnsTable matches snapshot on init 1`] = `
collapseOnPageChange={true} collapseOnPageChange={true}
collapseOnSortingChange={true} collapseOnSortingChange={true}
column={ column={
Object { {
"Aggregated": undefined, "Aggregated": undefined,
"Cell": undefined, "Cell": undefined,
"Expander": undefined, "Expander": undefined,
@ -201,30 +201,30 @@ exports[`DatasourceColumnsTable matches snapshot on init 1`] = `
"filterMethod": undefined, "filterMethod": undefined,
"filterable": undefined, "filterable": undefined,
"footerClassName": "", "footerClassName": "",
"footerStyle": Object {}, "footerStyle": {},
"getFooterProps": [Function], "getFooterProps": [Function],
"getHeaderProps": [Function], "getHeaderProps": [Function],
"getProps": [Function], "getProps": [Function],
"headerClassName": "", "headerClassName": "",
"headerStyle": Object {}, "headerStyle": {},
"minResizeWidth": 11, "minResizeWidth": 11,
"minWidth": 100, "minWidth": 100,
"resizable": undefined, "resizable": undefined,
"show": true, "show": true,
"sortMethod": undefined, "sortMethod": undefined,
"sortable": undefined, "sortable": undefined,
"style": Object {}, "style": {},
} }
} }
columns={ columns={
Array [ [
Object { {
"Header": "Column name", "Header": "Column name",
"accessor": "COLUMN_NAME", "accessor": "COLUMN_NAME",
"className": "padded", "className": "padded",
"width": 300, "width": 300,
}, },
Object { {
"Header": "Data type", "Header": "Data type",
"accessor": "DATA_TYPE", "accessor": "DATA_TYPE",
"className": "padded", "className": "padded",
@ -232,18 +232,18 @@ exports[`DatasourceColumnsTable matches snapshot on init 1`] = `
}, },
] ]
} }
data={Array []} data={[]}
defaultExpanded={Object {}} defaultExpanded={{}}
defaultFilterMethod={[Function]} defaultFilterMethod={[Function]}
defaultFiltered={Array []} defaultFiltered={[]}
defaultPage={0} defaultPage={0}
defaultPageSize={25} defaultPageSize={25}
defaultResized={Array []} defaultResized={[]}
defaultSortDesc={false} defaultSortDesc={false}
defaultSortMethod={[Function]} defaultSortMethod={[Function]}
defaultSorted={Array []} defaultSorted={[]}
expanderDefaults={ expanderDefaults={
Object { {
"filterable": false, "filterable": false,
"resizable": false, "resizable": false,
"sortable": false, "sortable": false,
@ -287,14 +287,14 @@ exports[`DatasourceColumnsTable matches snapshot on init 1`] = `
originalKey="_original" originalKey="_original"
pageJumpText="jump to page" pageJumpText="jump to page"
pageSizeOptions={ pageSizeOptions={
Array [ [
25, 25,
50, 50,
100, 100,
] ]
} }
pageText="Page" pageText="Page"
pivotDefaults={Object {}} pivotDefaults={{}}
pivotIDKey="_pivotID" pivotIDKey="_pivotID"
pivotValKey="_pivotVal" pivotValKey="_pivotVal"
previousText="Previous" previousText="Previous"
@ -308,7 +308,7 @@ exports[`DatasourceColumnsTable matches snapshot on init 1`] = `
showPaginationBottom={true} showPaginationBottom={true}
showPaginationTop={false} showPaginationTop={false}
sortable={true} sortable={true}
style={Object {}} style={{}}
subRowsKey="_subRows" subRowsKey="_subRows"
/> />
</div> </div>
@ -350,7 +350,7 @@ exports[`DatasourceColumnsTable matches snapshot on no data 1`] = `
collapseOnPageChange={true} collapseOnPageChange={true}
collapseOnSortingChange={true} collapseOnSortingChange={true}
column={ column={
Object { {
"Aggregated": undefined, "Aggregated": undefined,
"Cell": undefined, "Cell": undefined,
"Expander": undefined, "Expander": undefined,
@ -366,30 +366,30 @@ exports[`DatasourceColumnsTable matches snapshot on no data 1`] = `
"filterMethod": undefined, "filterMethod": undefined,
"filterable": undefined, "filterable": undefined,
"footerClassName": "", "footerClassName": "",
"footerStyle": Object {}, "footerStyle": {},
"getFooterProps": [Function], "getFooterProps": [Function],
"getHeaderProps": [Function], "getHeaderProps": [Function],
"getProps": [Function], "getProps": [Function],
"headerClassName": "", "headerClassName": "",
"headerStyle": Object {}, "headerStyle": {},
"minResizeWidth": 11, "minResizeWidth": 11,
"minWidth": 100, "minWidth": 100,
"resizable": undefined, "resizable": undefined,
"show": true, "show": true,
"sortMethod": undefined, "sortMethod": undefined,
"sortable": undefined, "sortable": undefined,
"style": Object {}, "style": {},
} }
} }
columns={ columns={
Array [ [
Object { {
"Header": "Column name", "Header": "Column name",
"accessor": "COLUMN_NAME", "accessor": "COLUMN_NAME",
"className": "padded", "className": "padded",
"width": 300, "width": 300,
}, },
Object { {
"Header": "Data type", "Header": "Data type",
"accessor": "DATA_TYPE", "accessor": "DATA_TYPE",
"className": "padded", "className": "padded",
@ -397,18 +397,18 @@ exports[`DatasourceColumnsTable matches snapshot on no data 1`] = `
}, },
] ]
} }
data={Array []} data={[]}
defaultExpanded={Object {}} defaultExpanded={{}}
defaultFilterMethod={[Function]} defaultFilterMethod={[Function]}
defaultFiltered={Array []} defaultFiltered={[]}
defaultPage={0} defaultPage={0}
defaultPageSize={25} defaultPageSize={25}
defaultResized={Array []} defaultResized={[]}
defaultSortDesc={false} defaultSortDesc={false}
defaultSortMethod={[Function]} defaultSortMethod={[Function]}
defaultSorted={Array []} defaultSorted={[]}
expanderDefaults={ expanderDefaults={
Object { {
"filterable": false, "filterable": false,
"resizable": false, "resizable": false,
"sortable": false, "sortable": false,
@ -452,14 +452,14 @@ exports[`DatasourceColumnsTable matches snapshot on no data 1`] = `
originalKey="_original" originalKey="_original"
pageJumpText="jump to page" pageJumpText="jump to page"
pageSizeOptions={ pageSizeOptions={
Array [ [
25, 25,
50, 50,
100, 100,
] ]
} }
pageText="Page" pageText="Page"
pivotDefaults={Object {}} pivotDefaults={{}}
pivotIDKey="_pivotID" pivotIDKey="_pivotID"
pivotValKey="_pivotVal" pivotValKey="_pivotVal"
previousText="Previous" previousText="Previous"
@ -473,7 +473,7 @@ exports[`DatasourceColumnsTable matches snapshot on no data 1`] = `
showPaginationBottom={true} showPaginationBottom={true}
showPaginationTop={false} showPaginationTop={false}
sortable={true} sortable={true}
style={Object {}} style={{}}
subRowsKey="_subRows" subRowsKey="_subRows"
/> />
</div> </div>
@ -507,7 +507,7 @@ exports[`DatasourceColumnsTable matches snapshot on some data 1`] = `
collapseOnPageChange={true} collapseOnPageChange={true}
collapseOnSortingChange={true} collapseOnSortingChange={true}
column={ column={
Object { {
"Aggregated": undefined, "Aggregated": undefined,
"Cell": undefined, "Cell": undefined,
"Expander": undefined, "Expander": undefined,
@ -523,30 +523,30 @@ exports[`DatasourceColumnsTable matches snapshot on some data 1`] = `
"filterMethod": undefined, "filterMethod": undefined,
"filterable": undefined, "filterable": undefined,
"footerClassName": "", "footerClassName": "",
"footerStyle": Object {}, "footerStyle": {},
"getFooterProps": [Function], "getFooterProps": [Function],
"getHeaderProps": [Function], "getHeaderProps": [Function],
"getProps": [Function], "getProps": [Function],
"headerClassName": "", "headerClassName": "",
"headerStyle": Object {}, "headerStyle": {},
"minResizeWidth": 11, "minResizeWidth": 11,
"minWidth": 100, "minWidth": 100,
"resizable": undefined, "resizable": undefined,
"show": true, "show": true,
"sortMethod": undefined, "sortMethod": undefined,
"sortable": undefined, "sortable": undefined,
"style": Object {}, "style": {},
} }
} }
columns={ columns={
Array [ [
Object { {
"Header": "Column name", "Header": "Column name",
"accessor": "COLUMN_NAME", "accessor": "COLUMN_NAME",
"className": "padded", "className": "padded",
"width": 300, "width": 300,
}, },
Object { {
"Header": "Data type", "Header": "Data type",
"accessor": "DATA_TYPE", "accessor": "DATA_TYPE",
"className": "padded", "className": "padded",
@ -555,28 +555,28 @@ exports[`DatasourceColumnsTable matches snapshot on some data 1`] = `
] ]
} }
data={ data={
Array [ [
Object { {
"COLUMN_NAME": "channel", "COLUMN_NAME": "channel",
"DATA_TYPE": "VARCHAR", "DATA_TYPE": "VARCHAR",
}, },
Object { {
"COLUMN_NAME": "page", "COLUMN_NAME": "page",
"DATA_TYPE": "VARCHAR", "DATA_TYPE": "VARCHAR",
}, },
] ]
} }
defaultExpanded={Object {}} defaultExpanded={{}}
defaultFilterMethod={[Function]} defaultFilterMethod={[Function]}
defaultFiltered={Array []} defaultFiltered={[]}
defaultPage={0} defaultPage={0}
defaultPageSize={25} defaultPageSize={25}
defaultResized={Array []} defaultResized={[]}
defaultSortDesc={false} defaultSortDesc={false}
defaultSortMethod={[Function]} defaultSortMethod={[Function]}
defaultSorted={Array []} defaultSorted={[]}
expanderDefaults={ expanderDefaults={
Object { {
"filterable": false, "filterable": false,
"resizable": false, "resizable": false,
"sortable": false, "sortable": false,
@ -620,14 +620,14 @@ exports[`DatasourceColumnsTable matches snapshot on some data 1`] = `
originalKey="_original" originalKey="_original"
pageJumpText="jump to page" pageJumpText="jump to page"
pageSizeOptions={ pageSizeOptions={
Array [ [
25, 25,
50, 50,
100, 100,
] ]
} }
pageText="Page" pageText="Page"
pivotDefaults={Object {}} pivotDefaults={{}}
pivotIDKey="_pivotID" pivotIDKey="_pivotID"
pivotValKey="_pivotVal" pivotValKey="_pivotVal"
previousText="Previous" previousText="Previous"
@ -641,7 +641,7 @@ exports[`DatasourceColumnsTable matches snapshot on some data 1`] = `
showPaginationBottom={true} showPaginationBottom={true}
showPaginationTop={false} showPaginationTop={false}
sortable={true} sortable={true}
style={Object {}} style={{}}
subRowsKey="_subRows" subRowsKey="_subRows"
/> />
</div> </div>

View File

@ -17,21 +17,21 @@ exports[`IndexSpecDialog matches snapshot with indexSpec 1`] = `
> >
<AutoForm <AutoForm
fields={ fields={
Array [ [
Object { {
"defaultValue": "utf8", "defaultValue": "utf8",
"info": <React.Fragment> "info": <React.Fragment>
Encoding format for STRING value dictionaries used by STRING and COMPLEX&lt;json&gt; columns. Encoding format for STRING value dictionaries used by STRING and COMPLEX&lt;json&gt; columns.
</React.Fragment>, </React.Fragment>,
"label": "String dictionary encoding", "label": "String dictionary encoding",
"name": "stringDictionaryEncoding.type", "name": "stringDictionaryEncoding.type",
"suggestions": Array [ "suggestions": [
"utf8", "utf8",
"frontCoded", "frontCoded",
], ],
"type": "string", "type": "string",
}, },
Object { {
"defaultValue": 4, "defaultValue": 4,
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
@ -43,26 +43,26 @@ exports[`IndexSpecDialog matches snapshot with indexSpec 1`] = `
"name": "stringDictionaryEncoding.bucketSize", "name": "stringDictionaryEncoding.bucketSize",
"type": "number", "type": "number",
}, },
Object { {
"defaultValue": "roaring", "defaultValue": "roaring",
"info": <React.Fragment> "info": <React.Fragment>
Compression format for bitmap indexes. Compression format for bitmap indexes.
</React.Fragment>, </React.Fragment>,
"label": "Bitmap type", "label": "Bitmap type",
"name": "bitmap.type", "name": "bitmap.type",
"suggestions": Array [ "suggestions": [
"roaring", "roaring",
"concise", "concise",
], ],
"type": "string", "type": "string",
}, },
Object { {
"defaultValue": "lz4", "defaultValue": "lz4",
"info": <React.Fragment> "info": <React.Fragment>
Compression format for dimension columns. Compression format for dimension columns.
</React.Fragment>, </React.Fragment>,
"name": "dimensionCompression", "name": "dimensionCompression",
"suggestions": Array [ "suggestions": [
"lz4", "lz4",
"lzf", "lzf",
"zstd", "zstd",
@ -70,7 +70,7 @@ exports[`IndexSpecDialog matches snapshot with indexSpec 1`] = `
], ],
"type": "string", "type": "string",
}, },
Object { {
"defaultValue": "longs", "defaultValue": "longs",
"info": <React.Fragment> "info": <React.Fragment>
Encoding format for long-typed columns. Applies regardless of whether they are dimensions or metrics. Encoding format for long-typed columns. Applies regardless of whether they are dimensions or metrics.
@ -84,19 +84,19 @@ exports[`IndexSpecDialog matches snapshot with indexSpec 1`] = `
stores the value as-is with 8 bytes each. stores the value as-is with 8 bytes each.
</React.Fragment>, </React.Fragment>,
"name": "longEncoding", "name": "longEncoding",
"suggestions": Array [ "suggestions": [
"longs", "longs",
"auto", "auto",
], ],
"type": "string", "type": "string",
}, },
Object { {
"defaultValue": "lz4", "defaultValue": "lz4",
"info": <React.Fragment> "info": <React.Fragment>
Compression format for primitive type metric columns. Compression format for primitive type metric columns.
</React.Fragment>, </React.Fragment>,
"name": "metricCompression", "name": "metricCompression",
"suggestions": Array [ "suggestions": [
"lz4", "lz4",
"lzf", "lzf",
"zstd", "zstd",
@ -104,14 +104,14 @@ exports[`IndexSpecDialog matches snapshot with indexSpec 1`] = `
], ],
"type": "string", "type": "string",
}, },
Object { {
"defaultValue": "lz4", "defaultValue": "lz4",
"info": <React.Fragment> "info": <React.Fragment>
Compression format to use for nested column raw data. Compression format to use for nested column raw data.
</React.Fragment>, </React.Fragment>,
"label": "JSON compression", "label": "JSON compression",
"name": "jsonCompression", "name": "jsonCompression",
"suggestions": Array [ "suggestions": [
"lz4", "lz4",
"lzf", "lzf",
"zstd", "zstd",
@ -122,7 +122,7 @@ exports[`IndexSpecDialog matches snapshot with indexSpec 1`] = `
] ]
} }
model={ model={
Object { {
"dimensionCompression": "lzf", "dimensionCompression": "lzf",
} }
} }
@ -167,21 +167,21 @@ exports[`IndexSpecDialog matches snapshot without compactionConfig 1`] = `
> >
<AutoForm <AutoForm
fields={ fields={
Array [ [
Object { {
"defaultValue": "utf8", "defaultValue": "utf8",
"info": <React.Fragment> "info": <React.Fragment>
Encoding format for STRING value dictionaries used by STRING and COMPLEX&lt;json&gt; columns. Encoding format for STRING value dictionaries used by STRING and COMPLEX&lt;json&gt; columns.
</React.Fragment>, </React.Fragment>,
"label": "String dictionary encoding", "label": "String dictionary encoding",
"name": "stringDictionaryEncoding.type", "name": "stringDictionaryEncoding.type",
"suggestions": Array [ "suggestions": [
"utf8", "utf8",
"frontCoded", "frontCoded",
], ],
"type": "string", "type": "string",
}, },
Object { {
"defaultValue": 4, "defaultValue": 4,
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
@ -193,26 +193,26 @@ exports[`IndexSpecDialog matches snapshot without compactionConfig 1`] = `
"name": "stringDictionaryEncoding.bucketSize", "name": "stringDictionaryEncoding.bucketSize",
"type": "number", "type": "number",
}, },
Object { {
"defaultValue": "roaring", "defaultValue": "roaring",
"info": <React.Fragment> "info": <React.Fragment>
Compression format for bitmap indexes. Compression format for bitmap indexes.
</React.Fragment>, </React.Fragment>,
"label": "Bitmap type", "label": "Bitmap type",
"name": "bitmap.type", "name": "bitmap.type",
"suggestions": Array [ "suggestions": [
"roaring", "roaring",
"concise", "concise",
], ],
"type": "string", "type": "string",
}, },
Object { {
"defaultValue": "lz4", "defaultValue": "lz4",
"info": <React.Fragment> "info": <React.Fragment>
Compression format for dimension columns. Compression format for dimension columns.
</React.Fragment>, </React.Fragment>,
"name": "dimensionCompression", "name": "dimensionCompression",
"suggestions": Array [ "suggestions": [
"lz4", "lz4",
"lzf", "lzf",
"zstd", "zstd",
@ -220,7 +220,7 @@ exports[`IndexSpecDialog matches snapshot without compactionConfig 1`] = `
], ],
"type": "string", "type": "string",
}, },
Object { {
"defaultValue": "longs", "defaultValue": "longs",
"info": <React.Fragment> "info": <React.Fragment>
Encoding format for long-typed columns. Applies regardless of whether they are dimensions or metrics. Encoding format for long-typed columns. Applies regardless of whether they are dimensions or metrics.
@ -234,19 +234,19 @@ exports[`IndexSpecDialog matches snapshot without compactionConfig 1`] = `
stores the value as-is with 8 bytes each. stores the value as-is with 8 bytes each.
</React.Fragment>, </React.Fragment>,
"name": "longEncoding", "name": "longEncoding",
"suggestions": Array [ "suggestions": [
"longs", "longs",
"auto", "auto",
], ],
"type": "string", "type": "string",
}, },
Object { {
"defaultValue": "lz4", "defaultValue": "lz4",
"info": <React.Fragment> "info": <React.Fragment>
Compression format for primitive type metric columns. Compression format for primitive type metric columns.
</React.Fragment>, </React.Fragment>,
"name": "metricCompression", "name": "metricCompression",
"suggestions": Array [ "suggestions": [
"lz4", "lz4",
"lzf", "lzf",
"zstd", "zstd",
@ -254,14 +254,14 @@ exports[`IndexSpecDialog matches snapshot without compactionConfig 1`] = `
], ],
"type": "string", "type": "string",
}, },
Object { {
"defaultValue": "lz4", "defaultValue": "lz4",
"info": <React.Fragment> "info": <React.Fragment>
Compression format to use for nested column raw data. Compression format to use for nested column raw data.
</React.Fragment>, </React.Fragment>,
"label": "JSON compression", "label": "JSON compression",
"name": "jsonCompression", "name": "jsonCompression",
"suggestions": Array [ "suggestions": [
"lz4", "lz4",
"lzf", "lzf",
"zstd", "zstd",
@ -271,7 +271,7 @@ exports[`IndexSpecDialog matches snapshot without compactionConfig 1`] = `
}, },
] ]
} }
model={Object {}} model={{}}
onChange={[Function]} onChange={[Function]}
/> />
</div> </div>

View File

@ -64,19 +64,19 @@ exports[`LookupEditDialog matches snapshot 1`] = `
/> />
<AutoForm <AutoForm
fields={ fields={
Array [ [
Object { {
"adjustment": [Function], "adjustment": [Function],
"name": "type", "name": "type",
"required": true, "required": true,
"suggestions": Array [ "suggestions": [
"map", "map",
"cachedNamespace", "cachedNamespace",
"kafka", "kafka",
], ],
"type": "string", "type": "string",
}, },
Object { {
"defined": [Function], "defined": [Function],
"height": "60vh", "height": "60vh",
"issueWithValue": [Function], "issueWithValue": [Function],
@ -84,19 +84,19 @@ exports[`LookupEditDialog matches snapshot 1`] = `
"required": true, "required": true,
"type": "json", "type": "json",
}, },
Object { {
"defined": [Function], "defined": [Function],
"label": "Extraction type", "label": "Extraction type",
"name": "extractionNamespace.type", "name": "extractionNamespace.type",
"placeholder": "uri", "placeholder": "uri",
"required": true, "required": true,
"suggestions": Array [ "suggestions": [
"uri", "uri",
"jdbc", "jdbc",
], ],
"type": "string", "type": "string",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <p> "info": <p>
A URI which specifies a directory (or other searchable resource) in which to search for files specified as a A URI which specifies a directory (or other searchable resource) in which to search for files specified as a
@ -125,7 +125,7 @@ exports[`LookupEditDialog matches snapshot 1`] = `
"required": [Function], "required": [Function],
"type": "string", "type": "string",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -159,7 +159,7 @@ exports[`LookupEditDialog matches snapshot 1`] = `
"required": [Function], "required": [Function],
"type": "string", "type": "string",
}, },
Object { {
"defaultValue": ".*", "defaultValue": ".*",
"defined": [Function], "defined": [Function],
"info": "Optional regex for matching the file name under uriPrefix.", "info": "Optional regex for matching the file name under uriPrefix.",
@ -167,7 +167,7 @@ exports[`LookupEditDialog matches snapshot 1`] = `
"name": "extractionNamespace.fileRegex", "name": "extractionNamespace.fileRegex",
"type": "string", "type": "string",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -184,7 +184,7 @@ exports[`LookupEditDialog matches snapshot 1`] = `
"label": "Parse format", "label": "Parse format",
"name": "extractionNamespace.namespaceParseSpec.format", "name": "extractionNamespace.namespaceParseSpec.format",
"required": true, "required": true,
"suggestions": Array [ "suggestions": [
"csv", "csv",
"tsv", "tsv",
"simpleJson", "simpleJson",
@ -192,11 +192,11 @@ exports[`LookupEditDialog matches snapshot 1`] = `
], ],
"type": "string", "type": "string",
}, },
Object { {
"defaultValue": " ", "defaultValue": " ",
"defined": [Function], "defined": [Function],
"name": "extractionNamespace.namespaceParseSpec.delimiter", "name": "extractionNamespace.namespaceParseSpec.delimiter",
"suggestions": Array [ "suggestions": [
" ", " ",
";", ";",
"|", "|",
@ -204,21 +204,21 @@ exports[`LookupEditDialog matches snapshot 1`] = `
], ],
"type": "string", "type": "string",
}, },
Object { {
"defaultValue": 0, "defaultValue": 0,
"defined": [Function], "defined": [Function],
"info": "Number of header rows to be skipped.", "info": "Number of header rows to be skipped.",
"name": "extractionNamespace.namespaceParseSpec.skipHeaderRows", "name": "extractionNamespace.namespaceParseSpec.skipHeaderRows",
"type": "number", "type": "number",
}, },
Object { {
"defaultValue": false, "defaultValue": false,
"defined": [Function], "defined": [Function],
"info": "A flag to indicate that column information can be extracted from the input files' header row", "info": "A flag to indicate that column information can be extracted from the input files' header row",
"name": "extractionNamespace.namespaceParseSpec.hasHeaderRow", "name": "extractionNamespace.namespaceParseSpec.hasHeaderRow",
"type": "boolean", "type": "boolean",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": "The list of columns in the csv file", "info": "The list of columns in the csv file",
"name": "extractionNamespace.namespaceParseSpec.columns", "name": "extractionNamespace.namespaceParseSpec.columns",
@ -226,35 +226,35 @@ exports[`LookupEditDialog matches snapshot 1`] = `
"required": [Function], "required": [Function],
"type": "string-array", "type": "string-array",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": "The name of the column containing the key", "info": "The name of the column containing the key",
"name": "extractionNamespace.namespaceParseSpec.keyColumn", "name": "extractionNamespace.namespaceParseSpec.keyColumn",
"placeholder": "(optional - defaults to the first column)", "placeholder": "(optional - defaults to the first column)",
"type": "string", "type": "string",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": "The name of the column containing the value", "info": "The name of the column containing the value",
"name": "extractionNamespace.namespaceParseSpec.valueColumn", "name": "extractionNamespace.namespaceParseSpec.valueColumn",
"placeholder": "(optional - defaults to the second column)", "placeholder": "(optional - defaults to the second column)",
"type": "string", "type": "string",
}, },
Object { {
"defined": [Function], "defined": [Function],
"name": "extractionNamespace.namespaceParseSpec.keyFieldName", "name": "extractionNamespace.namespaceParseSpec.keyFieldName",
"placeholder": "key", "placeholder": "key",
"required": true, "required": true,
"type": "string", "type": "string",
}, },
Object { {
"defined": [Function], "defined": [Function],
"name": "extractionNamespace.namespaceParseSpec.valueFieldName", "name": "extractionNamespace.namespaceParseSpec.valueFieldName",
"placeholder": "value", "placeholder": "value",
"required": true, "required": true,
"type": "string", "type": "string",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": "Defines the connectURI for connecting to the database", "info": "Defines the connectURI for connecting to the database",
"issueWithValue": [Function], "issueWithValue": [Function],
@ -263,19 +263,19 @@ exports[`LookupEditDialog matches snapshot 1`] = `
"required": true, "required": true,
"type": "string", "type": "string",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": "Defines the user to be used by the connector config", "info": "Defines the user to be used by the connector config",
"name": "extractionNamespace.connectorConfig.user", "name": "extractionNamespace.connectorConfig.user",
"type": "string", "type": "string",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": "Defines the password to be used by the connector config", "info": "Defines the password to be used by the connector config",
"name": "extractionNamespace.connectorConfig.password", "name": "extractionNamespace.connectorConfig.password",
"type": "string", "type": "string",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -294,7 +294,7 @@ exports[`LookupEditDialog matches snapshot 1`] = `
"required": true, "required": true,
"type": "string", "type": "string",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -313,7 +313,7 @@ exports[`LookupEditDialog matches snapshot 1`] = `
"required": true, "required": true,
"type": "string", "type": "string",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -332,7 +332,7 @@ exports[`LookupEditDialog matches snapshot 1`] = `
"required": true, "required": true,
"type": "string", "type": "string",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -351,7 +351,7 @@ exports[`LookupEditDialog matches snapshot 1`] = `
"placeholder": "timestamp_column (optional)", "placeholder": "timestamp_column (optional)",
"type": "string", "type": "string",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": <React.Fragment> "info": <React.Fragment>
<p> <p>
@ -368,12 +368,12 @@ exports[`LookupEditDialog matches snapshot 1`] = `
"placeholder": "for_lookup = 1 (optional)", "placeholder": "for_lookup = 1 (optional)",
"type": "string", "type": "string",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": "Period between polling for updates", "info": "Period between polling for updates",
"name": "extractionNamespace.pollPeriod", "name": "extractionNamespace.pollPeriod",
"required": true, "required": true,
"suggestions": Array [ "suggestions": [
"PT1M", "PT1M",
"PT10M", "PT10M",
"PT30M", "PT30M",
@ -383,55 +383,55 @@ exports[`LookupEditDialog matches snapshot 1`] = `
], ],
"type": "duration", "type": "duration",
}, },
Object { {
"defaultValue": 0, "defaultValue": 0,
"defined": [Function], "defined": [Function],
"info": "How much jitter to add (in seconds) up to maximum as a delay (actual value will be used as random from 0 to jitterSeconds), used to distribute db load more evenly. Default is 0.", "info": "How much jitter to add (in seconds) up to maximum as a delay (actual value will be used as random from 0 to jitterSeconds), used to distribute db load more evenly. Default is 0.",
"name": "extractionNamespace.jitterSeconds", "name": "extractionNamespace.jitterSeconds",
"required": false, "required": false,
"suggestions": Array [], "suggestions": [],
"type": "number", "type": "number",
}, },
Object { {
"defaultValue": 60, "defaultValue": 60,
"defined": [Function], "defined": [Function],
"info": "How much time (in seconds) it can take to query and populate lookup values. It will be helpful in lookup updates. On lookup update, it will wait maximum of \`loadTimeoutSeconds\` for new lookup to come up and continue serving from old lookup until new lookup successfully loads. Default is 60 Sec.", "info": "How much time (in seconds) it can take to query and populate lookup values. It will be helpful in lookup updates. On lookup update, it will wait maximum of \`loadTimeoutSeconds\` for new lookup to come up and continue serving from old lookup until new lookup successfully loads. Default is 60 Sec.",
"name": "extractionNamespace.loadTimeoutSeconds", "name": "extractionNamespace.loadTimeoutSeconds",
"required": false, "required": false,
"suggestions": Array [], "suggestions": [],
"type": "number", "type": "number",
}, },
Object { {
"defaultValue": 10, "defaultValue": 10,
"defined": [Function], "defined": [Function],
"info": "The maximum percentage of heap size that the lookup should consume. If the lookup grows beyond this size, warning messages will be logged in the respective service logs. Default is 10 % of jvm size.", "info": "The maximum percentage of heap size that the lookup should consume. If the lookup grows beyond this size, warning messages will be logged in the respective service logs. Default is 10 % of jvm size.",
"name": "extractionNamespace.maxHeapPercentage", "name": "extractionNamespace.maxHeapPercentage",
"required": false, "required": false,
"suggestions": Array [], "suggestions": [],
"type": "number", "type": "number",
}, },
Object { {
"defaultValue": 0, "defaultValue": 0,
"defined": [Function], "defined": [Function],
"info": "How long to wait (in ms) for the first run of the cache to populate. 0 indicates to not wait", "info": "How long to wait (in ms) for the first run of the cache to populate. 0 indicates to not wait",
"name": "firstCacheTimeout", "name": "firstCacheTimeout",
"type": "number", "type": "number",
}, },
Object { {
"defaultValue": false, "defaultValue": false,
"defined": [Function], "defined": [Function],
"info": "If the underlying map is injective (keys and values are unique) then optimizations can occur internally by setting this to true", "info": "If the underlying map is injective (keys and values are unique) then optimizations can occur internally by setting this to true",
"name": "injective", "name": "injective",
"type": "boolean", "type": "boolean",
}, },
Object { {
"defined": [Function], "defined": [Function],
"info": "The Kafka topic to read the data from", "info": "The Kafka topic to read the data from",
"name": "kafkaTopic", "name": "kafkaTopic",
"required": true, "required": true,
"type": "string", "type": "string",
}, },
Object { {
"defined": [Function], "defined": [Function],
"height": "100px", "height": "100px",
"issueWithValue": [Function], "issueWithValue": [Function],
@ -439,14 +439,14 @@ exports[`LookupEditDialog matches snapshot 1`] = `
"required": true, "required": true,
"type": "json", "type": "json",
}, },
Object { {
"defaultValue": 0, "defaultValue": 0,
"defined": [Function], "defined": [Function],
"info": "How long to wait for an initial connection", "info": "How long to wait for an initial connection",
"name": "connectTimeout", "name": "connectTimeout",
"type": "number", "type": "number",
}, },
Object { {
"defaultValue": false, "defaultValue": false,
"defined": [Function], "defined": [Function],
"info": "If the underlying map is one-to-one (keys and values are unique) then optimizations can occur internally by setting this to true", "info": "If the underlying map is one-to-one (keys and values are unique) then optimizations can occur internally by setting this to true",
@ -456,8 +456,8 @@ exports[`LookupEditDialog matches snapshot 1`] = `
] ]
} }
model={ model={
Object { {
"map": Object { "map": {
"a": 1, "a": 1,
}, },
"type": "map", "type": "map",

View File

@ -45,7 +45,7 @@ exports[`SupervisorStatisticsTable matches snapshot on error 1`] = `
collapseOnPageChange={true} collapseOnPageChange={true}
collapseOnSortingChange={true} collapseOnSortingChange={true}
column={ column={
Object { {
"Aggregated": undefined, "Aggregated": undefined,
"Cell": undefined, "Cell": undefined,
"Expander": undefined, "Expander": undefined,
@ -61,31 +61,31 @@ exports[`SupervisorStatisticsTable matches snapshot on error 1`] = `
"filterMethod": undefined, "filterMethod": undefined,
"filterable": undefined, "filterable": undefined,
"footerClassName": "", "footerClassName": "",
"footerStyle": Object {}, "footerStyle": {},
"getFooterProps": [Function], "getFooterProps": [Function],
"getHeaderProps": [Function], "getHeaderProps": [Function],
"getProps": [Function], "getProps": [Function],
"headerClassName": "", "headerClassName": "",
"headerStyle": Object {}, "headerStyle": {},
"minResizeWidth": 11, "minResizeWidth": 11,
"minWidth": 100, "minWidth": 100,
"resizable": undefined, "resizable": undefined,
"show": true, "show": true,
"sortMethod": undefined, "sortMethod": undefined,
"sortable": undefined, "sortable": undefined,
"style": Object {}, "style": {},
} }
} }
columns={ columns={
Array [ [
Object { {
"Header": "Task ID", "Header": "Task ID",
"accessor": [Function], "accessor": [Function],
"className": "padded", "className": "padded",
"id": "task_id", "id": "task_id",
"width": 400, "width": 400,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Totals", "Header": "Totals",
"accessor": [Function], "accessor": [Function],
@ -95,18 +95,18 @@ exports[`SupervisorStatisticsTable matches snapshot on error 1`] = `
}, },
] ]
} }
data={Array []} data={[]}
defaultExpanded={Object {}} defaultExpanded={{}}
defaultFilterMethod={[Function]} defaultFilterMethod={[Function]}
defaultFiltered={Array []} defaultFiltered={[]}
defaultPage={0} defaultPage={0}
defaultPageSize={25} defaultPageSize={25}
defaultResized={Array []} defaultResized={[]}
defaultSortDesc={false} defaultSortDesc={false}
defaultSortMethod={[Function]} defaultSortMethod={[Function]}
defaultSorted={Array []} defaultSorted={[]}
expanderDefaults={ expanderDefaults={
Object { {
"filterable": false, "filterable": false,
"resizable": false, "resizable": false,
"sortable": false, "sortable": false,
@ -150,14 +150,14 @@ exports[`SupervisorStatisticsTable matches snapshot on error 1`] = `
originalKey="_original" originalKey="_original"
pageJumpText="jump to page" pageJumpText="jump to page"
pageSizeOptions={ pageSizeOptions={
Array [ [
25, 25,
50, 50,
100, 100,
] ]
} }
pageText="Page" pageText="Page"
pivotDefaults={Object {}} pivotDefaults={{}}
pivotIDKey="_pivotID" pivotIDKey="_pivotID"
pivotValKey="_pivotVal" pivotValKey="_pivotVal"
previousText="Previous" previousText="Previous"
@ -171,7 +171,7 @@ exports[`SupervisorStatisticsTable matches snapshot on error 1`] = `
showPaginationBottom={true} showPaginationBottom={true}
showPaginationTop={false} showPaginationTop={false}
sortable={true} sortable={true}
style={Object {}} style={{}}
subRowsKey="_subRows" subRowsKey="_subRows"
/> />
</div> </div>
@ -223,7 +223,7 @@ exports[`SupervisorStatisticsTable matches snapshot on init 1`] = `
collapseOnPageChange={true} collapseOnPageChange={true}
collapseOnSortingChange={true} collapseOnSortingChange={true}
column={ column={
Object { {
"Aggregated": undefined, "Aggregated": undefined,
"Cell": undefined, "Cell": undefined,
"Expander": undefined, "Expander": undefined,
@ -239,31 +239,31 @@ exports[`SupervisorStatisticsTable matches snapshot on init 1`] = `
"filterMethod": undefined, "filterMethod": undefined,
"filterable": undefined, "filterable": undefined,
"footerClassName": "", "footerClassName": "",
"footerStyle": Object {}, "footerStyle": {},
"getFooterProps": [Function], "getFooterProps": [Function],
"getHeaderProps": [Function], "getHeaderProps": [Function],
"getProps": [Function], "getProps": [Function],
"headerClassName": "", "headerClassName": "",
"headerStyle": Object {}, "headerStyle": {},
"minResizeWidth": 11, "minResizeWidth": 11,
"minWidth": 100, "minWidth": 100,
"resizable": undefined, "resizable": undefined,
"show": true, "show": true,
"sortMethod": undefined, "sortMethod": undefined,
"sortable": undefined, "sortable": undefined,
"style": Object {}, "style": {},
} }
} }
columns={ columns={
Array [ [
Object { {
"Header": "Task ID", "Header": "Task ID",
"accessor": [Function], "accessor": [Function],
"className": "padded", "className": "padded",
"id": "task_id", "id": "task_id",
"width": 400, "width": 400,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Totals", "Header": "Totals",
"accessor": [Function], "accessor": [Function],
@ -273,18 +273,18 @@ exports[`SupervisorStatisticsTable matches snapshot on init 1`] = `
}, },
] ]
} }
data={Array []} data={[]}
defaultExpanded={Object {}} defaultExpanded={{}}
defaultFilterMethod={[Function]} defaultFilterMethod={[Function]}
defaultFiltered={Array []} defaultFiltered={[]}
defaultPage={0} defaultPage={0}
defaultPageSize={25} defaultPageSize={25}
defaultResized={Array []} defaultResized={[]}
defaultSortDesc={false} defaultSortDesc={false}
defaultSortMethod={[Function]} defaultSortMethod={[Function]}
defaultSorted={Array []} defaultSorted={[]}
expanderDefaults={ expanderDefaults={
Object { {
"filterable": false, "filterable": false,
"resizable": false, "resizable": false,
"sortable": false, "sortable": false,
@ -328,14 +328,14 @@ exports[`SupervisorStatisticsTable matches snapshot on init 1`] = `
originalKey="_original" originalKey="_original"
pageJumpText="jump to page" pageJumpText="jump to page"
pageSizeOptions={ pageSizeOptions={
Array [ [
25, 25,
50, 50,
100, 100,
] ]
} }
pageText="Page" pageText="Page"
pivotDefaults={Object {}} pivotDefaults={{}}
pivotIDKey="_pivotID" pivotIDKey="_pivotID"
pivotValKey="_pivotVal" pivotValKey="_pivotVal"
previousText="Previous" previousText="Previous"
@ -349,7 +349,7 @@ exports[`SupervisorStatisticsTable matches snapshot on init 1`] = `
showPaginationBottom={true} showPaginationBottom={true}
showPaginationTop={false} showPaginationTop={false}
sortable={true} sortable={true}
style={Object {}} style={{}}
subRowsKey="_subRows" subRowsKey="_subRows"
/> />
</div> </div>
@ -427,7 +427,7 @@ exports[`SupervisorStatisticsTable matches snapshot on no data 1`] = `
collapseOnPageChange={true} collapseOnPageChange={true}
collapseOnSortingChange={true} collapseOnSortingChange={true}
column={ column={
Object { {
"Aggregated": undefined, "Aggregated": undefined,
"Cell": undefined, "Cell": undefined,
"Expander": undefined, "Expander": undefined,
@ -443,31 +443,31 @@ exports[`SupervisorStatisticsTable matches snapshot on no data 1`] = `
"filterMethod": undefined, "filterMethod": undefined,
"filterable": undefined, "filterable": undefined,
"footerClassName": "", "footerClassName": "",
"footerStyle": Object {}, "footerStyle": {},
"getFooterProps": [Function], "getFooterProps": [Function],
"getHeaderProps": [Function], "getHeaderProps": [Function],
"getProps": [Function], "getProps": [Function],
"headerClassName": "", "headerClassName": "",
"headerStyle": Object {}, "headerStyle": {},
"minResizeWidth": 11, "minResizeWidth": 11,
"minWidth": 100, "minWidth": 100,
"resizable": undefined, "resizable": undefined,
"show": true, "show": true,
"sortMethod": undefined, "sortMethod": undefined,
"sortable": undefined, "sortable": undefined,
"style": Object {}, "style": {},
} }
} }
columns={ columns={
Array [ [
Object { {
"Header": "Task ID", "Header": "Task ID",
"accessor": [Function], "accessor": [Function],
"className": "padded", "className": "padded",
"id": "task_id", "id": "task_id",
"width": 400, "width": 400,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Totals", "Header": "Totals",
"accessor": [Function], "accessor": [Function],
@ -477,18 +477,18 @@ exports[`SupervisorStatisticsTable matches snapshot on no data 1`] = `
}, },
] ]
} }
data={Array []} data={[]}
defaultExpanded={Object {}} defaultExpanded={{}}
defaultFilterMethod={[Function]} defaultFilterMethod={[Function]}
defaultFiltered={Array []} defaultFiltered={[]}
defaultPage={0} defaultPage={0}
defaultPageSize={25} defaultPageSize={25}
defaultResized={Array []} defaultResized={[]}
defaultSortDesc={false} defaultSortDesc={false}
defaultSortMethod={[Function]} defaultSortMethod={[Function]}
defaultSorted={Array []} defaultSorted={[]}
expanderDefaults={ expanderDefaults={
Object { {
"filterable": false, "filterable": false,
"resizable": false, "resizable": false,
"sortable": false, "sortable": false,
@ -532,14 +532,14 @@ exports[`SupervisorStatisticsTable matches snapshot on no data 1`] = `
originalKey="_original" originalKey="_original"
pageJumpText="jump to page" pageJumpText="jump to page"
pageSizeOptions={ pageSizeOptions={
Array [ [
25, 25,
50, 50,
100, 100,
] ]
} }
pageText="Page" pageText="Page"
pivotDefaults={Object {}} pivotDefaults={{}}
pivotIDKey="_pivotID" pivotIDKey="_pivotID"
pivotValKey="_pivotVal" pivotValKey="_pivotVal"
previousText="Previous" previousText="Previous"
@ -553,7 +553,7 @@ exports[`SupervisorStatisticsTable matches snapshot on no data 1`] = `
showPaginationBottom={true} showPaginationBottom={true}
showPaginationTop={false} showPaginationTop={false}
sortable={true} sortable={true}
style={Object {}} style={{}}
subRowsKey="_subRows" subRowsKey="_subRows"
/> />
</div> </div>
@ -605,7 +605,7 @@ exports[`SupervisorStatisticsTable matches snapshot on some data 1`] = `
collapseOnPageChange={true} collapseOnPageChange={true}
collapseOnSortingChange={true} collapseOnSortingChange={true}
column={ column={
Object { {
"Aggregated": undefined, "Aggregated": undefined,
"Cell": undefined, "Cell": undefined,
"Expander": undefined, "Expander": undefined,
@ -621,31 +621,31 @@ exports[`SupervisorStatisticsTable matches snapshot on some data 1`] = `
"filterMethod": undefined, "filterMethod": undefined,
"filterable": undefined, "filterable": undefined,
"footerClassName": "", "footerClassName": "",
"footerStyle": Object {}, "footerStyle": {},
"getFooterProps": [Function], "getFooterProps": [Function],
"getHeaderProps": [Function], "getHeaderProps": [Function],
"getProps": [Function], "getProps": [Function],
"headerClassName": "", "headerClassName": "",
"headerStyle": Object {}, "headerStyle": {},
"minResizeWidth": 11, "minResizeWidth": 11,
"minWidth": 100, "minWidth": 100,
"resizable": undefined, "resizable": undefined,
"show": true, "show": true,
"sortMethod": undefined, "sortMethod": undefined,
"sortable": undefined, "sortable": undefined,
"style": Object {}, "style": {},
} }
} }
columns={ columns={
Array [ [
Object { {
"Header": "Task ID", "Header": "Task ID",
"accessor": [Function], "accessor": [Function],
"className": "padded", "className": "padded",
"id": "task_id", "id": "task_id",
"width": 400, "width": 400,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Totals", "Header": "Totals",
"accessor": [Function], "accessor": [Function],
@ -653,7 +653,7 @@ exports[`SupervisorStatisticsTable matches snapshot on some data 1`] = `
"id": "total", "id": "total",
"width": 200, "width": 200,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "1m", "Header": "1m",
"accessor": [Function], "accessor": [Function],
@ -661,7 +661,7 @@ exports[`SupervisorStatisticsTable matches snapshot on some data 1`] = `
"id": "1m", "id": "1m",
"width": 200, "width": 200,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "5m", "Header": "5m",
"accessor": [Function], "accessor": [Function],
@ -669,7 +669,7 @@ exports[`SupervisorStatisticsTable matches snapshot on some data 1`] = `
"id": "5m", "id": "5m",
"width": 200, "width": 200,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "15m", "Header": "15m",
"accessor": [Function], "accessor": [Function],
@ -680,24 +680,24 @@ exports[`SupervisorStatisticsTable matches snapshot on some data 1`] = `
] ]
} }
data={ data={
Array [ [
Object { {
"summary": Object { "summary": {
"movingAverages": Object { "movingAverages": {
"buildSegments": Object { "buildSegments": {
"15m": Object { "15m": {
"processed": 5.544749689510444, "processed": 5.544749689510444,
"processedWithError": 0, "processedWithError": 0,
"thrownAway": 0, "thrownAway": 0,
"unparseable": 0, "unparseable": 0,
}, },
"1m": Object { "1m": {
"processed": 4.593670088770785, "processed": 4.593670088770785,
"processedWithError": 0, "processedWithError": 0,
"thrownAway": 0, "thrownAway": 0,
"unparseable": 0, "unparseable": 0,
}, },
"5m": Object { "5m": {
"processed": 3.5455993615040584, "processed": 3.5455993615040584,
"processedWithError": 0, "processedWithError": 0,
"thrownAway": 0, "thrownAway": 0,
@ -705,8 +705,8 @@ exports[`SupervisorStatisticsTable matches snapshot on some data 1`] = `
}, },
}, },
}, },
"totals": Object { "totals": {
"buildSegments": Object { "buildSegments": {
"processed": 7516, "processed": 7516,
"processedWithError": 0, "processedWithError": 0,
"thrownAway": 0, "thrownAway": 0,
@ -718,17 +718,17 @@ exports[`SupervisorStatisticsTable matches snapshot on some data 1`] = `
}, },
] ]
} }
defaultExpanded={Object {}} defaultExpanded={{}}
defaultFilterMethod={[Function]} defaultFilterMethod={[Function]}
defaultFiltered={Array []} defaultFiltered={[]}
defaultPage={0} defaultPage={0}
defaultPageSize={25} defaultPageSize={25}
defaultResized={Array []} defaultResized={[]}
defaultSortDesc={false} defaultSortDesc={false}
defaultSortMethod={[Function]} defaultSortMethod={[Function]}
defaultSorted={Array []} defaultSorted={[]}
expanderDefaults={ expanderDefaults={
Object { {
"filterable": false, "filterable": false,
"resizable": false, "resizable": false,
"sortable": false, "sortable": false,
@ -772,14 +772,14 @@ exports[`SupervisorStatisticsTable matches snapshot on some data 1`] = `
originalKey="_original" originalKey="_original"
pageJumpText="jump to page" pageJumpText="jump to page"
pageSizeOptions={ pageSizeOptions={
Array [ [
25, 25,
50, 50,
100, 100,
] ]
} }
pageText="Page" pageText="Page"
pivotDefaults={Object {}} pivotDefaults={{}}
pivotIDKey="_pivotID" pivotIDKey="_pivotID"
pivotValKey="_pivotVal" pivotValKey="_pivotVal"
previousText="Previous" previousText="Previous"
@ -793,7 +793,7 @@ exports[`SupervisorStatisticsTable matches snapshot on some data 1`] = `
showPaginationBottom={true} showPaginationBottom={true}
showPaginationTop={false} showPaginationTop={false}
sortable={true} sortable={true}
style={Object {}} style={{}}
subRowsKey="_subRows" subRowsKey="_subRows"
/> />
</div> </div>

View File

@ -35,51 +35,51 @@ describe('Execution', () => {
it('works in a general case', () => { it('works in a general case', () => {
expect(EXECUTION_INGEST_COMPLETE).toMatchInlineSnapshot(` expect(EXECUTION_INGEST_COMPLETE).toMatchInlineSnapshot(`
Execution { Execution {
"_payload": Object { "_payload": {
"payload": Object { "payload": {
"context": Object { "context": {
"forceTimeChunkLock": true, "forceTimeChunkLock": true,
"useLineageBasedSegmentAllocation": true, "useLineageBasedSegmentAllocation": true,
}, },
"dataSource": "kttm_simple", "dataSource": "kttm_simple",
"groupId": "query-346b9ac6-4912-46e4-9b98-75f11071af87", "groupId": "query-346b9ac6-4912-46e4-9b98-75f11071af87",
"id": "query-346b9ac6-4912-46e4-9b98-75f11071af87", "id": "query-346b9ac6-4912-46e4-9b98-75f11071af87",
"nativeTypeNames": Array [ "nativeTypeNames": [
"LONG", "LONG",
"STRING", "STRING",
], ],
"resource": Object { "resource": {
"availabilityGroup": "query-346b9ac6-4912-46e4-9b98-75f11071af87", "availabilityGroup": "query-346b9ac6-4912-46e4-9b98-75f11071af87",
"requiredCapacity": 1, "requiredCapacity": 1,
}, },
"spec": Object { "spec": {
"assignmentStrategy": "max", "assignmentStrategy": "max",
"columnMappings": Array [ "columnMappings": [
Object { {
"outputColumn": "__time", "outputColumn": "__time",
"queryColumn": "v0", "queryColumn": "v0",
}, },
Object { {
"outputColumn": "agent_type", "outputColumn": "agent_type",
"queryColumn": "agent_type", "queryColumn": "agent_type",
}, },
], ],
"destination": Object { "destination": {
"dataSource": "kttm_simple", "dataSource": "kttm_simple",
"replaceTimeChunks": Array [ "replaceTimeChunks": [
"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z", "-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z",
], ],
"segmentGranularity": Object { "segmentGranularity": {
"type": "all", "type": "all",
}, },
"type": "dataSource", "type": "dataSource",
}, },
"query": Object { "query": {
"columns": Array [ "columns": [
"agent_type", "agent_type",
"v0", "v0",
], ],
"context": Object { "context": {
"__resultFormat": "array", "__resultFormat": "array",
"__user": "allowAll", "__user": "allowAll",
"executionMode": "async", "executionMode": "async",
@ -89,42 +89,42 @@ describe('Execution', () => {
"maxNumTasks": 2, "maxNumTasks": 2,
"maxParseExceptions": 0, "maxParseExceptions": 0,
"queryId": "346b9ac6-4912-46e4-9b98-75f11071af87", "queryId": "346b9ac6-4912-46e4-9b98-75f11071af87",
"scanSignature": "[{\\"name\\":\\"agent_type\\",\\"type\\":\\"STRING\\"},{\\"name\\":\\"v0\\",\\"type\\":\\"LONG\\"}]", "scanSignature": "[{"name":"agent_type","type":"STRING"},{"name":"v0","type":"LONG"}]",
"sqlInsertSegmentGranularity": "{\\"type\\":\\"all\\"}", "sqlInsertSegmentGranularity": "{"type":"all"}",
"sqlQueryId": "346b9ac6-4912-46e4-9b98-75f11071af87", "sqlQueryId": "346b9ac6-4912-46e4-9b98-75f11071af87",
"sqlReplaceTimeChunks": "all", "sqlReplaceTimeChunks": "all",
"waitUntilSegmentsLoad": true, "waitUntilSegmentsLoad": true,
}, },
"dataSource": Object { "dataSource": {
"inputFormat": Object { "inputFormat": {
"assumeNewlineDelimited": false, "assumeNewlineDelimited": false,
"keepNullColumns": false, "keepNullColumns": false,
"type": "json", "type": "json",
"useJsonNodeReader": false, "useJsonNodeReader": false,
}, },
"inputSource": Object { "inputSource": {
"type": "http", "type": "http",
"uris": Array [ "uris": [
"https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz", "https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz",
], ],
}, },
"signature": Array [ "signature": [
Object { {
"name": "timestamp", "name": "timestamp",
"type": "STRING", "type": "STRING",
}, },
Object { {
"name": "agent_type", "name": "agent_type",
"type": "STRING", "type": "STRING",
}, },
], ],
"type": "external", "type": "external",
}, },
"granularity": Object { "granularity": {
"type": "all", "type": "all",
}, },
"intervals": Object { "intervals": {
"intervals": Array [ "intervals": [
"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z", "-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z",
], ],
"type": "intervals", "type": "intervals",
@ -132,50 +132,50 @@ describe('Execution', () => {
"legacy": false, "legacy": false,
"queryType": "scan", "queryType": "scan",
"resultFormat": "compactedList", "resultFormat": "compactedList",
"virtualColumns": Array [ "virtualColumns": [
Object { {
"expression": "timestamp_parse(\\"timestamp\\",null,'UTC')", "expression": "timestamp_parse("timestamp",null,'UTC')",
"name": "v0", "name": "v0",
"outputType": "LONG", "outputType": "LONG",
"type": "expression", "type": "expression",
}, },
], ],
}, },
"tuningConfig": Object { "tuningConfig": {
"maxNumWorkers": 1, "maxNumWorkers": 1,
"maxRowsInMemory": 100000, "maxRowsInMemory": 100000,
"rowsPerSegment": 3000000, "rowsPerSegment": 3000000,
}, },
}, },
"sqlQuery": "REPLACE INTO \\"kttm_simple\\" OVERWRITE ALL "sqlQuery": "REPLACE INTO "kttm_simple" OVERWRITE ALL
SELECT SELECT
TIME_PARSE(\\"timestamp\\") AS \\"__time\\", TIME_PARSE("timestamp") AS "__time",
\\"agent_type\\" "agent_type"
FROM TABLE( FROM TABLE(
EXTERN( EXTERN(
'{\\"type\\":\\"http\\",\\"uris\\":[\\"https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz\\"]}', '{"type":"http","uris":["https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz"]}',
'{\\"type\\":\\"json\\"}' '{"type":"json"}'
) )
) EXTEND (\\"timestamp\\" VARCHAR, \\"agent_type\\" VARCHAR) ) EXTEND ("timestamp" VARCHAR, "agent_type" VARCHAR)
PARTITIONED BY ALL TIME", PARTITIONED BY ALL TIME",
"sqlQueryContext": Object { "sqlQueryContext": {
"__resultFormat": "array", "__resultFormat": "array",
"executionMode": "async", "executionMode": "async",
"finalizeAggregations": false, "finalizeAggregations": false,
"groupByEnableMultiValueUnnesting": false, "groupByEnableMultiValueUnnesting": false,
"maxNumTasks": 2, "maxNumTasks": 2,
"queryId": "346b9ac6-4912-46e4-9b98-75f11071af87", "queryId": "346b9ac6-4912-46e4-9b98-75f11071af87",
"sqlInsertSegmentGranularity": "{\\"type\\":\\"all\\"}", "sqlInsertSegmentGranularity": "{"type":"all"}",
"sqlQueryId": "346b9ac6-4912-46e4-9b98-75f11071af87", "sqlQueryId": "346b9ac6-4912-46e4-9b98-75f11071af87",
"sqlReplaceTimeChunks": "all", "sqlReplaceTimeChunks": "all",
"waitUntilSegmentsLoad": true, "waitUntilSegmentsLoad": true,
}, },
"sqlResultsContext": Object { "sqlResultsContext": {
"serializeComplexValues": true, "serializeComplexValues": true,
"stringifyArrays": true, "stringifyArrays": true,
"timeZone": "UTC", "timeZone": "UTC",
}, },
"sqlTypeNames": Array [ "sqlTypeNames": [
"TIMESTAMP", "TIMESTAMP",
"VARCHAR", "VARCHAR",
], ],
@ -184,13 +184,13 @@ describe('Execution', () => {
"task": "query-346b9ac6-4912-46e4-9b98-75f11071af87", "task": "query-346b9ac6-4912-46e4-9b98-75f11071af87",
}, },
"capacityInfo": undefined, "capacityInfo": undefined,
"destination": Object { "destination": {
"dataSource": "kttm_simple", "dataSource": "kttm_simple",
"numTotalRows": 465346, "numTotalRows": 465346,
"replaceTimeChunks": Array [ "replaceTimeChunks": [
"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z", "-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z",
], ],
"segmentGranularity": Object { "segmentGranularity": {
"type": "all", "type": "all",
}, },
"type": "dataSource", "type": "dataSource",
@ -200,12 +200,12 @@ describe('Execution', () => {
"engine": "sql-msq-task", "engine": "sql-msq-task",
"error": undefined, "error": undefined,
"id": "query-346b9ac6-4912-46e4-9b98-75f11071af87", "id": "query-346b9ac6-4912-46e4-9b98-75f11071af87",
"nativeQuery": Object { "nativeQuery": {
"columns": Array [ "columns": [
"agent_type", "agent_type",
"v0", "v0",
], ],
"context": Object { "context": {
"__resultFormat": "array", "__resultFormat": "array",
"__user": "allowAll", "__user": "allowAll",
"executionMode": "async", "executionMode": "async",
@ -215,42 +215,42 @@ describe('Execution', () => {
"maxNumTasks": 2, "maxNumTasks": 2,
"maxParseExceptions": 0, "maxParseExceptions": 0,
"queryId": "346b9ac6-4912-46e4-9b98-75f11071af87", "queryId": "346b9ac6-4912-46e4-9b98-75f11071af87",
"scanSignature": "[{\\"name\\":\\"agent_type\\",\\"type\\":\\"STRING\\"},{\\"name\\":\\"v0\\",\\"type\\":\\"LONG\\"}]", "scanSignature": "[{"name":"agent_type","type":"STRING"},{"name":"v0","type":"LONG"}]",
"sqlInsertSegmentGranularity": "{\\"type\\":\\"all\\"}", "sqlInsertSegmentGranularity": "{"type":"all"}",
"sqlQueryId": "346b9ac6-4912-46e4-9b98-75f11071af87", "sqlQueryId": "346b9ac6-4912-46e4-9b98-75f11071af87",
"sqlReplaceTimeChunks": "all", "sqlReplaceTimeChunks": "all",
"waitUntilSegmentsLoad": true, "waitUntilSegmentsLoad": true,
}, },
"dataSource": Object { "dataSource": {
"inputFormat": Object { "inputFormat": {
"assumeNewlineDelimited": false, "assumeNewlineDelimited": false,
"keepNullColumns": false, "keepNullColumns": false,
"type": "json", "type": "json",
"useJsonNodeReader": false, "useJsonNodeReader": false,
}, },
"inputSource": Object { "inputSource": {
"type": "http", "type": "http",
"uris": Array [ "uris": [
"https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz", "https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz",
], ],
}, },
"signature": Array [ "signature": [
Object { {
"name": "timestamp", "name": "timestamp",
"type": "STRING", "type": "STRING",
}, },
Object { {
"name": "agent_type", "name": "agent_type",
"type": "STRING", "type": "STRING",
}, },
], ],
"type": "external", "type": "external",
}, },
"granularity": Object { "granularity": {
"type": "all", "type": "all",
}, },
"intervals": Object { "intervals": {
"intervals": Array [ "intervals": [
"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z", "-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z",
], ],
"type": "intervals", "type": "intervals",
@ -258,16 +258,16 @@ describe('Execution', () => {
"legacy": false, "legacy": false,
"queryType": "scan", "queryType": "scan",
"resultFormat": "compactedList", "resultFormat": "compactedList",
"virtualColumns": Array [ "virtualColumns": [
Object { {
"expression": "timestamp_parse(\\"timestamp\\",null,'UTC')", "expression": "timestamp_parse("timestamp",null,'UTC')",
"name": "v0", "name": "v0",
"outputType": "LONG", "outputType": "LONG",
"type": "expression", "type": "expression",
}, },
], ],
}, },
"queryContext": Object { "queryContext": {
"__resultFormat": "array", "__resultFormat": "array",
"executionMode": "async", "executionMode": "async",
"finalizeAggregations": false, "finalizeAggregations": false,
@ -276,7 +276,7 @@ describe('Execution', () => {
"waitUntilSegmentsLoad": true, "waitUntilSegmentsLoad": true,
}, },
"result": undefined, "result": undefined,
"segmentStatus": Object { "segmentStatus": {
"duration": 5092, "duration": 5092,
"onDemandSegments": 0, "onDemandSegments": 0,
"pendingSegments": 0, "pendingSegments": 0,
@ -287,67 +287,67 @@ describe('Execution', () => {
"unknownSegments": 0, "unknownSegments": 0,
"usedSegments": 1, "usedSegments": 1,
}, },
"sqlQuery": "REPLACE INTO \\"kttm_simple\\" OVERWRITE ALL "sqlQuery": "REPLACE INTO "kttm_simple" OVERWRITE ALL
SELECT SELECT
TIME_PARSE(\\"timestamp\\") AS \\"__time\\", TIME_PARSE("timestamp") AS "__time",
\\"agent_type\\" "agent_type"
FROM TABLE( FROM TABLE(
EXTERN( EXTERN(
'{\\"type\\":\\"http\\",\\"uris\\":[\\"https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz\\"]}', '{"type":"http","uris":["https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz"]}',
'{\\"type\\":\\"json\\"}' '{"type":"json"}'
) )
) EXTEND (\\"timestamp\\" VARCHAR, \\"agent_type\\" VARCHAR) ) EXTEND ("timestamp" VARCHAR, "agent_type" VARCHAR)
PARTITIONED BY ALL TIME", PARTITIONED BY ALL TIME",
"stages": Stages { "stages": Stages {
"counters": Object { "counters": {
"0": Object { "0": {
"0": Object { "0": {
"input0": Object { "input0": {
"bytes": Array [ "bytes": [
360464067, 360464067,
], ],
"files": Array [ "files": [
1, 1,
], ],
"rows": Array [ "rows": [
465346, 465346,
], ],
"totalFiles": Array [ "totalFiles": [
1, 1,
], ],
"type": "channel", "type": "channel",
}, },
"output": Object { "output": {
"bytes": Array [ "bytes": [
25430674, 25430674,
], ],
"frames": Array [ "frames": [
4, 4,
], ],
"rows": Array [ "rows": [
465346, 465346,
], ],
"type": "channel", "type": "channel",
}, },
"shuffle": Object { "shuffle": {
"bytes": Array [ "bytes": [
23570446, 23570446,
], ],
"frames": Array [ "frames": [
38, 38,
], ],
"rows": Array [ "rows": [
465346, 465346,
], ],
"type": "channel", "type": "channel",
}, },
"sortProgress": Object { "sortProgress": {
"levelToMergedBatches": Object { "levelToMergedBatches": {
"0": 1, "0": 1,
"1": 1, "1": 1,
"2": 1, "2": 1,
}, },
"levelToTotalBatches": Object { "levelToTotalBatches": {
"0": 1, "0": 1,
"1": 1, "1": 1,
"2": 1, "2": 1,
@ -359,21 +359,21 @@ describe('Execution', () => {
}, },
}, },
}, },
"1": Object { "1": {
"0": Object { "0": {
"input0": Object { "input0": {
"bytes": Array [ "bytes": [
23570446, 23570446,
], ],
"frames": Array [ "frames": [
38, 38,
], ],
"rows": Array [ "rows": [
465346, 465346,
], ],
"type": "channel", "type": "channel",
}, },
"segmentGenerationProgress": Object { "segmentGenerationProgress": {
"rowsMerged": 465346, "rowsMerged": 465346,
"rowsPersisted": 465346, "rowsPersisted": 465346,
"rowsProcessed": 465346, "rowsProcessed": 465346,
@ -383,30 +383,30 @@ describe('Execution', () => {
}, },
}, },
}, },
"stages": Array [ "stages": [
Object { {
"definition": Object { "definition": {
"id": "7f62fa91-f49a-4053-adec-5aa09c251ee3_0", "id": "7f62fa91-f49a-4053-adec-5aa09c251ee3_0",
"input": Array [ "input": [
Object { {
"inputFormat": Object { "inputFormat": {
"assumeNewlineDelimited": false, "assumeNewlineDelimited": false,
"keepNullColumns": false, "keepNullColumns": false,
"type": "json", "type": "json",
"useJsonNodeReader": false, "useJsonNodeReader": false,
}, },
"inputSource": Object { "inputSource": {
"type": "http", "type": "http",
"uris": Array [ "uris": [
"https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz", "https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz",
], ],
}, },
"signature": Array [ "signature": [
Object { {
"name": "timestamp", "name": "timestamp",
"type": "STRING", "type": "STRING",
}, },
Object { {
"name": "agent_type", "name": "agent_type",
"type": "STRING", "type": "STRING",
}, },
@ -415,13 +415,13 @@ describe('Execution', () => {
}, },
], ],
"maxWorkerCount": 1, "maxWorkerCount": 1,
"processor": Object { "processor": {
"query": Object { "query": {
"columns": Array [ "columns": [
"agent_type", "agent_type",
"v0", "v0",
], ],
"context": Object { "context": {
"__resultFormat": "array", "__resultFormat": "array",
"__timeColumn": "v0", "__timeColumn": "v0",
"__user": "allowAll", "__user": "allowAll",
@ -432,42 +432,42 @@ describe('Execution', () => {
"maxNumTasks": 2, "maxNumTasks": 2,
"maxParseExceptions": 0, "maxParseExceptions": 0,
"queryId": "346b9ac6-4912-46e4-9b98-75f11071af87", "queryId": "346b9ac6-4912-46e4-9b98-75f11071af87",
"scanSignature": "[{\\"name\\":\\"agent_type\\",\\"type\\":\\"STRING\\"},{\\"name\\":\\"v0\\",\\"type\\":\\"LONG\\"}]", "scanSignature": "[{"name":"agent_type","type":"STRING"},{"name":"v0","type":"LONG"}]",
"sqlInsertSegmentGranularity": "{\\"type\\":\\"all\\"}", "sqlInsertSegmentGranularity": "{"type":"all"}",
"sqlQueryId": "346b9ac6-4912-46e4-9b98-75f11071af87", "sqlQueryId": "346b9ac6-4912-46e4-9b98-75f11071af87",
"sqlReplaceTimeChunks": "all", "sqlReplaceTimeChunks": "all",
"waitUntilSegmentsLoad": true, "waitUntilSegmentsLoad": true,
}, },
"dataSource": Object { "dataSource": {
"inputFormat": Object { "inputFormat": {
"assumeNewlineDelimited": false, "assumeNewlineDelimited": false,
"keepNullColumns": false, "keepNullColumns": false,
"type": "json", "type": "json",
"useJsonNodeReader": false, "useJsonNodeReader": false,
}, },
"inputSource": Object { "inputSource": {
"type": "http", "type": "http",
"uris": Array [ "uris": [
"https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz", "https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz",
], ],
}, },
"signature": Array [ "signature": [
Object { {
"name": "timestamp", "name": "timestamp",
"type": "STRING", "type": "STRING",
}, },
Object { {
"name": "agent_type", "name": "agent_type",
"type": "STRING", "type": "STRING",
}, },
], ],
"type": "external", "type": "external",
}, },
"granularity": Object { "granularity": {
"type": "all", "type": "all",
}, },
"intervals": Object { "intervals": {
"intervals": Array [ "intervals": [
"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z", "-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z",
], ],
"type": "intervals", "type": "intervals",
@ -475,9 +475,9 @@ describe('Execution', () => {
"legacy": false, "legacy": false,
"queryType": "scan", "queryType": "scan",
"resultFormat": "compactedList", "resultFormat": "compactedList",
"virtualColumns": Array [ "virtualColumns": [
Object { {
"expression": "timestamp_parse(\\"timestamp\\",null,'UTC')", "expression": "timestamp_parse("timestamp",null,'UTC')",
"name": "v0", "name": "v0",
"outputType": "LONG", "outputType": "LONG",
"type": "expression", "type": "expression",
@ -487,10 +487,10 @@ describe('Execution', () => {
"type": "scan", "type": "scan",
}, },
"shuffleCheckHasMultipleValues": true, "shuffleCheckHasMultipleValues": true,
"shuffleSpec": Object { "shuffleSpec": {
"clusterBy": Object { "clusterBy": {
"columns": Array [ "columns": [
Object { {
"columnName": "__boost", "columnName": "__boost",
"order": "ASCENDING", "order": "ASCENDING",
}, },
@ -499,16 +499,16 @@ describe('Execution', () => {
"targetSize": 3000000, "targetSize": 3000000,
"type": "targetSize", "type": "targetSize",
}, },
"signature": Array [ "signature": [
Object { {
"name": "__boost", "name": "__boost",
"type": "LONG", "type": "LONG",
}, },
Object { {
"name": "agent_type", "name": "agent_type",
"type": "STRING", "type": "STRING",
}, },
Object { {
"name": "v0", "name": "v0",
"type": "LONG", "type": "LONG",
}, },
@ -522,35 +522,35 @@ describe('Execution', () => {
"startTime": "2024-01-23T19:45:43.302Z", "startTime": "2024-01-23T19:45:43.302Z",
"workerCount": 1, "workerCount": 1,
}, },
Object { {
"definition": Object { "definition": {
"id": "7f62fa91-f49a-4053-adec-5aa09c251ee3_1", "id": "7f62fa91-f49a-4053-adec-5aa09c251ee3_1",
"input": Array [ "input": [
Object { {
"stage": 0, "stage": 0,
"type": "stage", "type": "stage",
}, },
], ],
"maxWorkerCount": 1, "maxWorkerCount": 1,
"processor": Object { "processor": {
"columnMappings": Array [ "columnMappings": [
Object { {
"outputColumn": "__time", "outputColumn": "__time",
"queryColumn": "v0", "queryColumn": "v0",
}, },
Object { {
"outputColumn": "agent_type", "outputColumn": "agent_type",
"queryColumn": "agent_type", "queryColumn": "agent_type",
}, },
], ],
"dataSchema": Object { "dataSchema": {
"dataSource": "kttm_simple", "dataSource": "kttm_simple",
"dimensionsSpec": Object { "dimensionsSpec": {
"dimensionExclusions": Array [ "dimensionExclusions": [
"__time", "__time",
], ],
"dimensions": Array [ "dimensions": [
Object { {
"createBitmapIndex": true, "createBitmapIndex": true,
"multiValueHandling": "SORTED_ARRAY", "multiValueHandling": "SORTED_ARRAY",
"name": "agent_type", "name": "agent_type",
@ -560,35 +560,35 @@ describe('Execution', () => {
"includeAllDimensions": false, "includeAllDimensions": false,
"useSchemaDiscovery": false, "useSchemaDiscovery": false,
}, },
"granularitySpec": Object { "granularitySpec": {
"intervals": Array [ "intervals": [
"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z", "-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z",
], ],
"queryGranularity": Object { "queryGranularity": {
"type": "none", "type": "none",
}, },
"rollup": false, "rollup": false,
"type": "arbitrary", "type": "arbitrary",
}, },
"metricsSpec": Array [], "metricsSpec": [],
"timestampSpec": Object { "timestampSpec": {
"column": "__time", "column": "__time",
"format": "millis", "format": "millis",
"missingValue": null, "missingValue": null,
}, },
"transformSpec": Object { "transformSpec": {
"filter": null, "filter": null,
"transforms": Array [], "transforms": [],
}, },
}, },
"tuningConfig": Object { "tuningConfig": {
"maxNumWorkers": 1, "maxNumWorkers": 1,
"maxRowsInMemory": 100000, "maxRowsInMemory": 100000,
"rowsPerSegment": 3000000, "rowsPerSegment": 3000000,
}, },
"type": "segmentGenerator", "type": "segmentGenerator",
}, },
"signature": Array [], "signature": [],
}, },
"duration": 1263, "duration": 1263,
"partitionCount": 1, "partitionCount": 1,
@ -601,7 +601,7 @@ describe('Execution', () => {
}, },
"startTime": 2024-01-23T19:45:43.073Z, "startTime": 2024-01-23T19:45:43.073Z,
"status": "SUCCESS", "status": "SUCCESS",
"usageInfo": Object { "usageInfo": {
"pendingTasks": 0, "pendingTasks": 0,
"runningTasks": 1, "runningTasks": 1,
}, },
@ -617,12 +617,12 @@ describe('Execution', () => {
Execution { Execution {
"_payload": undefined, "_payload": undefined,
"capacityInfo": undefined, "capacityInfo": undefined,
"destination": Object { "destination": {
"numTotalRows": 2, "numTotalRows": 2,
"type": "taskReport", "type": "taskReport",
}, },
"destinationPages": Array [ "destinationPages": [
Object { {
"id": 0, "id": 0,
"numRows": 2, "numRows": 2,
"sizeInBytes": 116, "sizeInBytes": 116,
@ -635,7 +635,7 @@ describe('Execution', () => {
"nativeQuery": undefined, "nativeQuery": undefined,
"queryContext": undefined, "queryContext": undefined,
"result": _QueryResult { "result": _QueryResult {
"header": Array [ "header": [
Column { Column {
"name": "channel", "name": "channel",
"nativeType": "STRING", "nativeType": "STRING",
@ -651,12 +651,12 @@ describe('Execution', () => {
"queryDuration": undefined, "queryDuration": undefined,
"queryId": undefined, "queryId": undefined,
"resultContext": undefined, "resultContext": undefined,
"rows": Array [ "rows": [
Array [ [
"#en.wikipedia", "#en.wikipedia",
6650, 6650,
], ],
Array [ [
"#sh.wikipedia", "#sh.wikipedia",
3969, 3969,
], ],
@ -684,10 +684,10 @@ describe('Execution', () => {
"destinationPages": undefined, "destinationPages": undefined,
"duration": 11217, "duration": 11217,
"engine": "sql-msq-task", "engine": "sql-msq-task",
"error": Object { "error": {
"error": Object { "error": {
"category": "UNCATEGORIZED", "category": "UNCATEGORIZED",
"context": Object { "context": {
"message": "java.io.UncheckedIOException: /", "message": "java.io.UncheckedIOException: /",
}, },
"error": "druidException", "error": "druidException",

View File

@ -47,59 +47,59 @@ describe('ingest-query-pattern', () => {
const insertQueryPattern = fitIngestQueryPattern(query); const insertQueryPattern = fitIngestQueryPattern(query);
expect(insertQueryPattern).toMatchInlineSnapshot(` expect(insertQueryPattern).toMatchInlineSnapshot(`
Object { {
"clusteredBy": Array [ "clusteredBy": [
3, 3,
], ],
"destinationTableName": "kttm-2019", "destinationTableName": "kttm-2019",
"dimensions": Array [ "dimensions": [
"TIME_PARSE(\\"timestamp\\") AS __time", "TIME_PARSE("timestamp") AS __time",
"agent_category", "agent_category",
"agent_type", "agent_type",
"browser", "browser",
"browser_version", "browser_version",
], ],
"filters": Array [], "filters": [],
"mainExternalConfig": Object { "mainExternalConfig": {
"inputFormat": Object { "inputFormat": {
"type": "json", "type": "json",
}, },
"inputSource": Object { "inputSource": {
"type": "http", "type": "http",
"uris": Array [ "uris": [
"https://example.com/data.json.gz", "https://example.com/data.json.gz",
], ],
}, },
"signature": Array [ "signature": [
"\\"timestamp\\" VARCHAR", ""timestamp" VARCHAR",
"\\"agent_category\\" VARCHAR", ""agent_category" VARCHAR",
"\\"agent_type\\" VARCHAR", ""agent_type" VARCHAR",
"\\"browser\\" VARCHAR", ""browser" VARCHAR",
"\\"browser_version\\" VARCHAR", ""browser_version" VARCHAR",
"\\"city\\" VARCHAR", ""city" VARCHAR",
"\\"continent\\" VARCHAR", ""continent" VARCHAR",
"\\"country\\" VARCHAR", ""country" VARCHAR",
"\\"version\\" VARCHAR", ""version" VARCHAR",
"\\"event_type\\" VARCHAR", ""event_type" VARCHAR",
"\\"event_subtype\\" VARCHAR", ""event_subtype" VARCHAR",
"\\"loaded_image\\" VARCHAR", ""loaded_image" VARCHAR",
"\\"adblock_list\\" VARCHAR", ""adblock_list" VARCHAR",
"\\"forwarded_for\\" VARCHAR", ""forwarded_for" VARCHAR",
"\\"language\\" VARCHAR", ""language" VARCHAR",
"\\"number\\" BIGINT", ""number" BIGINT",
"\\"os\\" VARCHAR", ""os" VARCHAR",
"\\"path\\" VARCHAR", ""path" VARCHAR",
"\\"platform\\" VARCHAR", ""platform" VARCHAR",
"\\"referrer\\" VARCHAR", ""referrer" VARCHAR",
"\\"referrer_host\\" VARCHAR", ""referrer_host" VARCHAR",
"\\"region\\" VARCHAR", ""region" VARCHAR",
"\\"remote_address\\" VARCHAR", ""remote_address" VARCHAR",
"\\"screen\\" VARCHAR", ""screen" VARCHAR",
"\\"session\\" VARCHAR", ""session" VARCHAR",
"\\"session_length\\" BIGINT", ""session_length" BIGINT",
"\\"timezone\\" VARCHAR", ""timezone" VARCHAR",
"\\"timezone_offset\\" BIGINT", ""timezone_offset" BIGINT",
"\\"window\\" VARCHAR", ""window" VARCHAR",
], ],
}, },
"mainExternalName": "ext", "mainExternalName": "ext",
@ -142,39 +142,39 @@ describe('ingest-query-pattern', () => {
const insertQueryPattern = fitIngestQueryPattern(query); const insertQueryPattern = fitIngestQueryPattern(query);
expect(insertQueryPattern).toMatchInlineSnapshot(` expect(insertQueryPattern).toMatchInlineSnapshot(`
Object { {
"clusteredBy": Array [], "clusteredBy": [],
"destinationTableName": "inline_data", "destinationTableName": "inline_data",
"dimensions": Array [ "dimensions": [
"\\"name\\"", ""name"",
"\\"num\\"", ""num"",
"ARRAY_TO_MV(\\"strings\\") AS \\"strings\\"", "ARRAY_TO_MV("strings") AS "strings"",
"\\"ints\\"", ""ints"",
"\\"floats\\"", ""floats"",
], ],
"filters": Array [], "filters": [],
"mainExternalConfig": Object { "mainExternalConfig": {
"inputFormat": Object { "inputFormat": {
"type": "json", "type": "json",
}, },
"inputSource": Object { "inputSource": {
"data": "{\\"name\\":\\"Moon\\",\\"num\\":11,\\"strings\\":[\\"A\\", \\"B\\"],\\"ints\\":[1,2],\\"floats\\":[1.1,2.2],\\"msg\\":{\\"hello\\":\\"world\\",\\"letters\\":[{\\"letter\\":\\"A\\",\\"index\\":1},{\\"letter\\":\\"B\\",\\"index\\":2}]}} "data": "{"name":"Moon","num":11,"strings":["A", "B"],"ints":[1,2],"floats":[1.1,2.2],"msg":{"hello":"world","letters":[{"letter":"A","index":1},{"letter":"B","index":2}]}}
{\\"name\\":\\"Beam\\",\\"num\\":12,\\"strings\\":[\\"A\\", \\"C\\"],\\"ints\\":[3,4],\\"floats\\":[3.3,4,4],\\"msg\\":{\\"where\\":\\"go\\",\\"for\\":\\"food\\",\\"letters\\":[{\\"letter\\":\\"C\\",\\"index\\":3},{\\"letter\\":\\"D\\",\\"index\\":4}]}} {"name":"Beam","num":12,"strings":["A", "C"],"ints":[3,4],"floats":[3.3,4,4],"msg":{"where":"go","for":"food","letters":[{"letter":"C","index":3},{"letter":"D","index":4}]}}
", ",
"type": "inline", "type": "inline",
}, },
"signature": Array [ "signature": [
"\\"name\\" VARCHAR", ""name" VARCHAR",
"\\"num\\" BIGINT", ""num" BIGINT",
"\\"strings\\" VARCHAR ARRAY", ""strings" VARCHAR ARRAY",
"\\"ints\\" BIGINT ARRAY", ""ints" BIGINT ARRAY",
"\\"floats\\" DOUBLE ARRAY", ""floats" DOUBLE ARRAY",
"\\"msg\\" TYPE('COMPLEX<json>')", ""msg" TYPE('COMPLEX<json>')",
], ],
}, },
"mainExternalName": "ext", "mainExternalName": "ext",
"metrics": Array [ "metrics": [
"COUNT(*) AS \\"count\\"", "COUNT(*) AS "count"",
], ],
"mode": "replace", "mode": "replace",
"overwriteWhere": undefined, "overwriteWhere": undefined,

View File

@ -835,66 +835,66 @@ describe('spec utils', () => {
true, true,
); );
expect(updateSpec.spec).toMatchInlineSnapshot(` expect(updateSpec.spec).toMatchInlineSnapshot(`
Object { {
"dataSchema": Object { "dataSchema": {
"dataSource": "wikipedia", "dataSource": "wikipedia",
"dimensionsSpec": Object { "dimensionsSpec": {
"dimensions": Array [ "dimensions": [
"user", "user",
"id", "id",
Object { {
"castToType": "ARRAY<STRING>", "castToType": "ARRAY<STRING>",
"name": "tags", "name": "tags",
"type": "auto", "type": "auto",
}, },
Object { {
"castToType": "ARRAY<LONG>", "castToType": "ARRAY<LONG>",
"name": "nums", "name": "nums",
"type": "auto", "type": "auto",
}, },
], ],
}, },
"granularitySpec": Object { "granularitySpec": {
"queryGranularity": "hour", "queryGranularity": "hour",
"rollup": true, "rollup": true,
"segmentGranularity": "day", "segmentGranularity": "day",
}, },
"metricsSpec": Array [ "metricsSpec": [
Object { {
"name": "count", "name": "count",
"type": "count", "type": "count",
}, },
Object { {
"fieldName": "followers", "fieldName": "followers",
"name": "sum_followers", "name": "sum_followers",
"type": "longSum", "type": "longSum",
}, },
Object { {
"fieldName": "spend", "fieldName": "spend",
"name": "sum_spend", "name": "sum_spend",
"type": "doubleSum", "type": "doubleSum",
}, },
], ],
"timestampSpec": Object { "timestampSpec": {
"column": "timestamp", "column": "timestamp",
"format": "iso", "format": "iso",
}, },
}, },
"ioConfig": Object { "ioConfig": {
"inputFormat": Object { "inputFormat": {
"type": "json", "type": "json",
}, },
"inputSource": Object { "inputSource": {
"type": "http", "type": "http",
"uris": Array [ "uris": [
"https://website.com/wikipedia.json.gz", "https://website.com/wikipedia.json.gz",
], ],
}, },
"type": "index_parallel", "type": "index_parallel",
}, },
"tuningConfig": Object { "tuningConfig": {
"forceGuaranteedRollup": true, "forceGuaranteedRollup": true,
"partitionsSpec": Object { "partitionsSpec": {
"type": "hashed", "type": "hashed",
}, },
"type": "index_parallel", "type": "index_parallel",
@ -912,66 +912,66 @@ describe('spec utils', () => {
true, true,
); );
expect(updateSpec.spec).toMatchInlineSnapshot(` expect(updateSpec.spec).toMatchInlineSnapshot(`
Object { {
"dataSchema": Object { "dataSchema": {
"dataSource": "wikipedia", "dataSource": "wikipedia",
"dimensionsSpec": Object { "dimensionsSpec": {
"dimensions": Array [ "dimensions": [
"user", "user",
"id", "id",
Object { {
"multiValueHandling": "SORTED_ARRAY", "multiValueHandling": "SORTED_ARRAY",
"name": "tags", "name": "tags",
"type": "string", "type": "string",
}, },
Object { {
"multiValueHandling": "SORTED_ARRAY", "multiValueHandling": "SORTED_ARRAY",
"name": "nums", "name": "nums",
"type": "string", "type": "string",
}, },
], ],
}, },
"granularitySpec": Object { "granularitySpec": {
"queryGranularity": "hour", "queryGranularity": "hour",
"rollup": true, "rollup": true,
"segmentGranularity": "day", "segmentGranularity": "day",
}, },
"metricsSpec": Array [ "metricsSpec": [
Object { {
"name": "count", "name": "count",
"type": "count", "type": "count",
}, },
Object { {
"fieldName": "followers", "fieldName": "followers",
"name": "sum_followers", "name": "sum_followers",
"type": "longSum", "type": "longSum",
}, },
Object { {
"fieldName": "spend", "fieldName": "spend",
"name": "sum_spend", "name": "sum_spend",
"type": "doubleSum", "type": "doubleSum",
}, },
], ],
"timestampSpec": Object { "timestampSpec": {
"column": "timestamp", "column": "timestamp",
"format": "iso", "format": "iso",
}, },
}, },
"ioConfig": Object { "ioConfig": {
"inputFormat": Object { "inputFormat": {
"type": "json", "type": "json",
}, },
"inputSource": Object { "inputSource": {
"type": "http", "type": "http",
"uris": Array [ "uris": [
"https://website.com/wikipedia.json.gz", "https://website.com/wikipedia.json.gz",
], ],
}, },
"type": "index_parallel", "type": "index_parallel",
}, },
"tuningConfig": Object { "tuningConfig": {
"forceGuaranteedRollup": true, "forceGuaranteedRollup": true,
"partitionsSpec": Object { "partitionsSpec": {
"type": "hashed", "type": "hashed",
}, },
"type": "index_parallel", "type": "index_parallel",
@ -989,57 +989,57 @@ describe('spec utils', () => {
false, false,
); );
expect(updatedSpec.spec).toMatchInlineSnapshot(` expect(updatedSpec.spec).toMatchInlineSnapshot(`
Object { {
"dataSchema": Object { "dataSchema": {
"dataSource": "wikipedia", "dataSource": "wikipedia",
"dimensionsSpec": Object { "dimensionsSpec": {
"dimensions": Array [ "dimensions": [
"user", "user",
Object { {
"name": "followers", "name": "followers",
"type": "long", "type": "long",
}, },
Object { {
"name": "spend", "name": "spend",
"type": "double", "type": "double",
}, },
"id", "id",
Object { {
"castToType": "ARRAY<STRING>", "castToType": "ARRAY<STRING>",
"name": "tags", "name": "tags",
"type": "auto", "type": "auto",
}, },
Object { {
"castToType": "ARRAY<LONG>", "castToType": "ARRAY<LONG>",
"name": "nums", "name": "nums",
"type": "auto", "type": "auto",
}, },
], ],
}, },
"granularitySpec": Object { "granularitySpec": {
"queryGranularity": "none", "queryGranularity": "none",
"rollup": false, "rollup": false,
"segmentGranularity": "day", "segmentGranularity": "day",
}, },
"timestampSpec": Object { "timestampSpec": {
"column": "timestamp", "column": "timestamp",
"format": "iso", "format": "iso",
}, },
}, },
"ioConfig": Object { "ioConfig": {
"inputFormat": Object { "inputFormat": {
"type": "json", "type": "json",
}, },
"inputSource": Object { "inputSource": {
"type": "http", "type": "http",
"uris": Array [ "uris": [
"https://website.com/wikipedia.json.gz", "https://website.com/wikipedia.json.gz",
], ],
}, },
"type": "index_parallel", "type": "index_parallel",
}, },
"tuningConfig": Object { "tuningConfig": {
"partitionsSpec": Object { "partitionsSpec": {
"type": "dynamic", "type": "dynamic",
}, },
"type": "index_parallel", "type": "index_parallel",
@ -1057,57 +1057,57 @@ describe('spec utils', () => {
false, false,
); );
expect(updatedSpec.spec).toMatchInlineSnapshot(` expect(updatedSpec.spec).toMatchInlineSnapshot(`
Object { {
"dataSchema": Object { "dataSchema": {
"dataSource": "wikipedia", "dataSource": "wikipedia",
"dimensionsSpec": Object { "dimensionsSpec": {
"dimensions": Array [ "dimensions": [
"user", "user",
Object { {
"name": "followers", "name": "followers",
"type": "long", "type": "long",
}, },
Object { {
"name": "spend", "name": "spend",
"type": "double", "type": "double",
}, },
"id", "id",
Object { {
"multiValueHandling": "SORTED_ARRAY", "multiValueHandling": "SORTED_ARRAY",
"name": "tags", "name": "tags",
"type": "string", "type": "string",
}, },
Object { {
"multiValueHandling": "SORTED_ARRAY", "multiValueHandling": "SORTED_ARRAY",
"name": "nums", "name": "nums",
"type": "string", "type": "string",
}, },
], ],
}, },
"granularitySpec": Object { "granularitySpec": {
"queryGranularity": "none", "queryGranularity": "none",
"rollup": false, "rollup": false,
"segmentGranularity": "day", "segmentGranularity": "day",
}, },
"timestampSpec": Object { "timestampSpec": {
"column": "timestamp", "column": "timestamp",
"format": "iso", "format": "iso",
}, },
}, },
"ioConfig": Object { "ioConfig": {
"inputFormat": Object { "inputFormat": {
"type": "json", "type": "json",
}, },
"inputSource": Object { "inputSource": {
"type": "http", "type": "http",
"uris": Array [ "uris": [
"https://website.com/wikipedia.json.gz", "https://website.com/wikipedia.json.gz",
], ],
}, },
"type": "index_parallel", "type": "index_parallel",
}, },
"tuningConfig": Object { "tuningConfig": {
"partitionsSpec": Object { "partitionsSpec": {
"type": "dynamic", "type": "dynamic",
}, },
"type": "index_parallel", "type": "index_parallel",

View File

@ -29,10 +29,10 @@ describe('Stages', () => {
it('works for input', () => { it('works for input', () => {
expect(STAGES.getByPartitionCountersForStage(STAGES.stages[2], 'input')) expect(STAGES.getByPartitionCountersForStage(STAGES.stages[2], 'input'))
.toMatchInlineSnapshot(` .toMatchInlineSnapshot(`
Array [ [
Object { {
"index": 0, "index": 0,
"input0": Object { "input0": {
"bytes": 10943622, "bytes": 10943622,
"files": 0, "files": 0,
"frames": 21, "frames": 21,
@ -47,10 +47,10 @@ describe('Stages', () => {
it('works for output', () => { it('works for output', () => {
expect(STAGES.getByPartitionCountersForStage(STAGES.stages[2], 'output')) expect(STAGES.getByPartitionCountersForStage(STAGES.stages[2], 'output'))
.toMatchInlineSnapshot(` .toMatchInlineSnapshot(`
Array [ [
Object { {
"index": 0, "index": 0,
"shuffle": Object { "shuffle": {
"bytes": 257524, "bytes": 257524,
"files": 0, "files": 0,
"frames": 1, "frames": 1,
@ -58,9 +58,9 @@ describe('Stages', () => {
"totalFiles": 0, "totalFiles": 0,
}, },
}, },
Object { {
"index": 1, "index": 1,
"shuffle": Object { "shuffle": {
"bytes": 289731, "bytes": 289731,
"files": 0, "files": 0,
"frames": 1, "frames": 1,
@ -68,9 +68,9 @@ describe('Stages', () => {
"totalFiles": 0, "totalFiles": 0,
}, },
}, },
Object { {
"index": 2, "index": 2,
"shuffle": Object { "shuffle": {
"bytes": 412396, "bytes": 412396,
"files": 0, "files": 0,
"frames": 1, "frames": 1,
@ -78,9 +78,9 @@ describe('Stages', () => {
"totalFiles": 0, "totalFiles": 0,
}, },
}, },
Object { {
"index": 3, "index": 3,
"shuffle": Object { "shuffle": {
"bytes": 262388, "bytes": 262388,
"files": 0, "files": 0,
"frames": 1, "frames": 1,
@ -88,9 +88,9 @@ describe('Stages', () => {
"totalFiles": 0, "totalFiles": 0,
}, },
}, },
Object { {
"index": 4, "index": 4,
"shuffle": Object { "shuffle": {
"bytes": 170554, "bytes": 170554,
"files": 0, "files": 0,
"frames": 1, "frames": 1,
@ -98,9 +98,9 @@ describe('Stages', () => {
"totalFiles": 0, "totalFiles": 0,
}, },
}, },
Object { {
"index": 5, "index": 5,
"shuffle": Object { "shuffle": {
"bytes": 188324, "bytes": 188324,
"files": 0, "files": 0,
"frames": 1, "frames": 1,
@ -108,9 +108,9 @@ describe('Stages', () => {
"totalFiles": 0, "totalFiles": 0,
}, },
}, },
Object { {
"index": 6, "index": 6,
"shuffle": Object { "shuffle": {
"bytes": 92275, "bytes": 92275,
"files": 0, "files": 0,
"frames": 1, "frames": 1,
@ -118,9 +118,9 @@ describe('Stages', () => {
"totalFiles": 0, "totalFiles": 0,
}, },
}, },
Object { {
"index": 7, "index": 7,
"shuffle": Object { "shuffle": {
"bytes": 69531, "bytes": 69531,
"files": 0, "files": 0,
"frames": 1, "frames": 1,
@ -128,9 +128,9 @@ describe('Stages', () => {
"totalFiles": 0, "totalFiles": 0,
}, },
}, },
Object { {
"index": 8, "index": 8,
"shuffle": Object { "shuffle": {
"bytes": 65844, "bytes": 65844,
"files": 0, "files": 0,
"frames": 1, "frames": 1,
@ -138,9 +138,9 @@ describe('Stages', () => {
"totalFiles": 0, "totalFiles": 0,
}, },
}, },
Object { {
"index": 9, "index": 9,
"shuffle": Object { "shuffle": {
"bytes": 85875, "bytes": 85875,
"files": 0, "files": 0,
"frames": 1, "frames": 1,
@ -148,9 +148,9 @@ describe('Stages', () => {
"totalFiles": 0, "totalFiles": 0,
}, },
}, },
Object { {
"index": 10, "index": 10,
"shuffle": Object { "shuffle": {
"bytes": 71852, "bytes": 71852,
"files": 0, "files": 0,
"frames": 1, "frames": 1,
@ -158,9 +158,9 @@ describe('Stages', () => {
"totalFiles": 0, "totalFiles": 0,
}, },
}, },
Object { {
"index": 11, "index": 11,
"shuffle": Object { "shuffle": {
"bytes": 72512, "bytes": 72512,
"files": 0, "files": 0,
"frames": 1, "frames": 1,
@ -168,9 +168,9 @@ describe('Stages', () => {
"totalFiles": 0, "totalFiles": 0,
}, },
}, },
Object { {
"index": 12, "index": 12,
"shuffle": Object { "shuffle": {
"bytes": 123204, "bytes": 123204,
"files": 0, "files": 0,
"frames": 1, "frames": 1,
@ -178,9 +178,9 @@ describe('Stages', () => {
"totalFiles": 0, "totalFiles": 0,
}, },
}, },
Object { {
"index": 13, "index": 13,
"shuffle": Object { "shuffle": {
"bytes": 249217, "bytes": 249217,
"files": 0, "files": 0,
"frames": 1, "frames": 1,
@ -188,9 +188,9 @@ describe('Stages', () => {
"totalFiles": 0, "totalFiles": 0,
}, },
}, },
Object { {
"index": 14, "index": 14,
"shuffle": Object { "shuffle": {
"bytes": 399583, "bytes": 399583,
"files": 0, "files": 0,
"frames": 1, "frames": 1,
@ -198,9 +198,9 @@ describe('Stages', () => {
"totalFiles": 0, "totalFiles": 0,
}, },
}, },
Object { {
"index": 15, "index": 15,
"shuffle": Object { "shuffle": {
"bytes": 256916, "bytes": 256916,
"files": 0, "files": 0,
"frames": 1, "frames": 1,
@ -208,9 +208,9 @@ describe('Stages', () => {
"totalFiles": 0, "totalFiles": 0,
}, },
}, },
Object { {
"index": 16, "index": 16,
"shuffle": Object { "shuffle": {
"bytes": 1039927, "bytes": 1039927,
"files": 0, "files": 0,
"frames": 2, "frames": 2,
@ -218,9 +218,9 @@ describe('Stages', () => {
"totalFiles": 0, "totalFiles": 0,
}, },
}, },
Object { {
"index": 17, "index": 17,
"shuffle": Object { "shuffle": {
"bytes": 1887893, "bytes": 1887893,
"files": 0, "files": 0,
"frames": 4, "frames": 4,
@ -228,9 +228,9 @@ describe('Stages', () => {
"totalFiles": 0, "totalFiles": 0,
}, },
}, },
Object { {
"index": 18, "index": 18,
"shuffle": Object { "shuffle": {
"bytes": 1307287, "bytes": 1307287,
"files": 0, "files": 0,
"frames": 3, "frames": 3,
@ -238,9 +238,9 @@ describe('Stages', () => {
"totalFiles": 0, "totalFiles": 0,
}, },
}, },
Object { {
"index": 19, "index": 19,
"shuffle": Object { "shuffle": {
"bytes": 1248166, "bytes": 1248166,
"files": 0, "files": 0,
"frames": 3, "frames": 3,
@ -248,9 +248,9 @@ describe('Stages', () => {
"totalFiles": 0, "totalFiles": 0,
}, },
}, },
Object { {
"index": 20, "index": 20,
"shuffle": Object { "shuffle": {
"bytes": 1195593, "bytes": 1195593,
"files": 0, "files": 0,
"frames": 3, "frames": 3,
@ -258,9 +258,9 @@ describe('Stages', () => {
"totalFiles": 0, "totalFiles": 0,
}, },
}, },
Object { {
"index": 21, "index": 21,
"shuffle": Object { "shuffle": {
"bytes": 738804, "bytes": 738804,
"files": 0, "files": 0,
"frames": 2, "frames": 2,
@ -268,9 +268,9 @@ describe('Stages', () => {
"totalFiles": 0, "totalFiles": 0,
}, },
}, },
Object { {
"index": 22, "index": 22,
"shuffle": Object { "shuffle": {
"bytes": 552485, "bytes": 552485,
"files": 0, "files": 0,
"frames": 2, "frames": 2,
@ -278,9 +278,9 @@ describe('Stages', () => {
"totalFiles": 0, "totalFiles": 0,
}, },
}, },
Object { {
"index": 23, "index": 23,
"shuffle": Object { "shuffle": {
"bytes": 418062, "bytes": 418062,
"files": 0, "files": 0,
"frames": 1, "frames": 1,

View File

@ -79,7 +79,8 @@ if (consoleConfig.baseURL) {
UrlBaser.baseUrl = consoleConfig.baseURL; UrlBaser.baseUrl = consoleConfig.baseURL;
} }
if (consoleConfig.customHeaderName && consoleConfig.customHeaderValue) { if (consoleConfig.customHeaderName && consoleConfig.customHeaderValue) {
apiConfig.headers![consoleConfig.customHeaderName] = consoleConfig.customHeaderValue; // The apiConfig.headers is a union type and TS does not like this assigment
(apiConfig.headers as any)[consoleConfig.customHeaderName] = consoleConfig.customHeaderValue;
} }
if (consoleConfig.customHeaders) { if (consoleConfig.customHeaders) {
Object.assign(apiConfig.headers!, consoleConfig.customHeaders); Object.assign(apiConfig.headers!, consoleConfig.customHeaders);

View File

@ -16,7 +16,7 @@
* limitations under the License. * limitations under the License.
*/ */
import type { AxiosError, AxiosInstance, AxiosRequestConfig } from 'axios'; import type { AxiosError, AxiosInstance, CreateAxiosDefaults } from 'axios';
import axios from 'axios'; import axios from 'axios';
import * as JSONBig from 'json-bigint-native'; import * as JSONBig from 'json-bigint-native';
@ -25,14 +25,14 @@ import { nonEmptyString } from '../utils';
export class Api { export class Api {
static instance: AxiosInstance; static instance: AxiosInstance;
static initialize(config?: AxiosRequestConfig): void { static initialize(config?: CreateAxiosDefaults): void {
Api.instance = axios.create(config); Api.instance = axios.create(config);
// Intercept the request and if we get an error (status code > 2xx) and we have a "message" in the response then // Intercept the request and if we get an error (status code > 2xx) and we have a "message" in the response then
// show it as it will be more informative than the default "Request failed with status code xxx" message. // show it as it will be more informative than the default "Request failed with status code xxx" message.
Api.instance.interceptors.response.use( Api.instance.interceptors.response.use(
resp => resp, resp => resp,
(error: AxiosError) => { (error: AxiosError<{ message?: string }>) => {
const responseData = error.response?.data; const responseData = error.response?.data;
const message = responseData?.message; const message = responseData?.message;
if (nonEmptyString(message)) { if (nonEmptyString(message)) {
@ -48,7 +48,7 @@ export class Api {
); );
} }
static getDefaultConfig(): AxiosRequestConfig { static getDefaultConfig(): CreateAxiosDefaults {
return { return {
headers: {}, headers: {},

View File

@ -21,15 +21,15 @@ import { jodaFormatToRegExp } from './joda-to-regexp';
describe('jodaFormatToRegExp', () => { describe('jodaFormatToRegExp', () => {
it('works for common formats', () => { it('works for common formats', () => {
expect(jodaFormatToRegExp('d/M/yyyy').toString()).toMatchInlineSnapshot( expect(jodaFormatToRegExp('d/M/yyyy').toString()).toMatchInlineSnapshot(
`"/^(?:3[0-1]|[12][0-9]|[1-9])\\\\/(?:1[0-2]|[1-9])\\\\/[0-9]{4}$/i"`, `"/^(?:3[0-1]|[12][0-9]|[1-9])\\/(?:1[0-2]|[1-9])\\/[0-9]{4}$/i"`,
); );
expect(jodaFormatToRegExp('MM/dd/YYYY').toString()).toMatchInlineSnapshot( expect(jodaFormatToRegExp('MM/dd/YYYY').toString()).toMatchInlineSnapshot(
`"/^(?:1[0-2]|0[1-9])\\\\/(?:3[0-1]|[12][0-9]|0[1-9])\\\\/[0-9]{4}$/i"`, `"/^(?:1[0-2]|0[1-9])\\/(?:3[0-1]|[12][0-9]|0[1-9])\\/[0-9]{4}$/i"`,
); );
expect(jodaFormatToRegExp('M/d/YY').toString()).toMatchInlineSnapshot( expect(jodaFormatToRegExp('M/d/YY').toString()).toMatchInlineSnapshot(
`"/^(?:1[0-2]|[1-9])\\\\/(?:3[0-1]|[12][0-9]|[1-9])\\\\/[0-9]{2}$/i"`, `"/^(?:1[0-2]|[1-9])\\/(?:3[0-1]|[12][0-9]|[1-9])\\/[0-9]{2}$/i"`,
); );
expect(jodaFormatToRegExp('d-M-yyyy hh:mm:ss a').toString()).toMatchInlineSnapshot( expect(jodaFormatToRegExp('d-M-yyyy hh:mm:ss a').toString()).toMatchInlineSnapshot(
@ -37,7 +37,7 @@ describe('jodaFormatToRegExp', () => {
); );
expect(jodaFormatToRegExp('MM/dd/YYYY hh:mm:ss a').toString()).toMatchInlineSnapshot( expect(jodaFormatToRegExp('MM/dd/YYYY hh:mm:ss a').toString()).toMatchInlineSnapshot(
`"/^(?:1[0-2]|0[1-9])\\\\/(?:3[0-1]|[12][0-9]|0[1-9])\\\\/[0-9]{4} (?:1[0-2]|0[1-9]):[0-5][0-9]:[0-5][0-9] [ap]m$/i"`, `"/^(?:1[0-2]|0[1-9])\\/(?:3[0-1]|[12][0-9]|0[1-9])\\/[0-9]{4} (?:1[0-2]|0[1-9]):[0-5][0-9]:[0-5][0-9] [ap]m$/i"`,
); );
expect(jodaFormatToRegExp('YYYY-MM-dd HH:mm:ss').toString()).toMatchInlineSnapshot( expect(jodaFormatToRegExp('YYYY-MM-dd HH:mm:ss').toString()).toMatchInlineSnapshot(

View File

@ -105,24 +105,24 @@ describe('sampler', () => {
it('works', () => { it('works', () => {
expect(guessDimensionsFromSampleResponse(sampleResponse)).toMatchInlineSnapshot(` expect(guessDimensionsFromSampleResponse(sampleResponse)).toMatchInlineSnapshot(`
Array [ [
Object { {
"name": "isRobot", "name": "isRobot",
"type": "string", "type": "string",
}, },
Object { {
"createBitmapIndex": true, "createBitmapIndex": true,
"multiValueHandling": "SORTED_ARRAY", "multiValueHandling": "SORTED_ARRAY",
"name": "channel", "name": "channel",
"type": "string", "type": "string",
}, },
Object { {
"createBitmapIndex": true, "createBitmapIndex": true,
"multiValueHandling": "SORTED_ARRAY", "multiValueHandling": "SORTED_ARRAY",
"name": "flags", "name": "flags",
"type": "string", "type": "string",
}, },
Object { {
"name": "isUnpatrolled", "name": "isUnpatrolled",
"type": "string", "type": "string",
}, },

View File

@ -78,10 +78,10 @@ describe('sql', () => {
const found = findAllSqlQueriesInText(text); const found = findAllSqlQueriesInText(text);
expect(found).toMatchInlineSnapshot(` expect(found).toMatchInlineSnapshot(`
Array [ [
Object { {
"endOffset": 23, "endOffset": 23,
"endRowColumn": Object { "endRowColumn": {
"column": 14, "column": 14,
"row": 1, "row": 1,
}, },
@ -89,14 +89,14 @@ describe('sql', () => {
"sql": "SELECT * "sql": "SELECT *
FROM wikipedia", FROM wikipedia",
"startOffset": 0, "startOffset": 0,
"startRowColumn": Object { "startRowColumn": {
"column": 0, "column": 0,
"row": 0, "row": 0,
}, },
}, },
Object { {
"endOffset": 49, "endOffset": 49,
"endRowColumn": Object { "endRowColumn": {
"column": 7, "column": 7,
"row": 5, "row": 5,
}, },
@ -105,7 +105,7 @@ describe('sql', () => {
FROM w2 FROM w2
LIMIT 5", LIMIT 5",
"startOffset": 25, "startOffset": 25,
"startRowColumn": Object { "startRowColumn": {
"column": 0, "column": 0,
"row": 3, "row": 3,
}, },
@ -127,36 +127,36 @@ describe('sql', () => {
const found = findAllSqlQueriesInText(text); const found = findAllSqlQueriesInText(text);
expect(found).toMatchInlineSnapshot(` expect(found).toMatchInlineSnapshot(`
Array [ [
Object { {
"endOffset": 101, "endOffset": 101,
"endRowColumn": Object { "endRowColumn": {
"column": 15, "column": 15,
"row": 5, "row": 5,
}, },
"index": 0, "index": 0,
"sql": "SELECT "sql": "SELECT
\\"channel\\", "channel",
COUNT(*) AS \\"Count\\" COUNT(*) AS "Count"
FROM (SELECT * FROM \\"wikipedia\\") FROM (SELECT * FROM "wikipedia")
GROUP BY 1 GROUP BY 1
ORDER BY 2 DESC", ORDER BY 2 DESC",
"startOffset": 0, "startOffset": 0,
"startRowColumn": Object { "startRowColumn": {
"column": 0, "column": 0,
"row": 0, "row": 0,
}, },
}, },
Object { {
"endOffset": 73, "endOffset": 73,
"endRowColumn": Object { "endRowColumn": {
"column": 31, "column": 31,
"row": 3, "row": 3,
}, },
"index": 1, "index": 1,
"sql": "SELECT * FROM \\"wikipedia\\"", "sql": "SELECT * FROM "wikipedia"",
"startOffset": 48, "startOffset": 48,
"startRowColumn": Object { "startRowColumn": {
"column": 6, "column": 6,
"row": 3, "row": 3,
}, },
@ -181,58 +181,58 @@ describe('sql', () => {
const found = findAllSqlQueriesInText(text); const found = findAllSqlQueriesInText(text);
expect(found).toMatchInlineSnapshot(` expect(found).toMatchInlineSnapshot(`
Array [ [
Object { {
"endOffset": 124, "endOffset": 124,
"endRowColumn": Object { "endRowColumn": {
"column": 15, "column": 15,
"row": 8, "row": 8,
}, },
"index": 0, "index": 0,
"sql": "WITH w1 AS ( "sql": "WITH w1 AS (
SELECT channel, page FROM \\"wikipedia\\" SELECT channel, page FROM "wikipedia"
) )
SELECT SELECT
page, page,
COUNT(*) AS \\"cnt\\" COUNT(*) AS "cnt"
FROM w1 FROM w1
GROUP BY 1 GROUP BY 1
ORDER BY 2 DESC", ORDER BY 2 DESC",
"startOffset": 0, "startOffset": 0,
"startRowColumn": Object { "startRowColumn": {
"column": 0, "column": 0,
"row": 0, "row": 0,
}, },
}, },
Object { {
"endOffset": 52, "endOffset": 52,
"endRowColumn": Object { "endRowColumn": {
"column": 39, "column": 39,
"row": 1, "row": 1,
}, },
"index": 1, "index": 1,
"sql": "SELECT channel, page FROM \\"wikipedia\\"", "sql": "SELECT channel, page FROM "wikipedia"",
"startOffset": 15, "startOffset": 15,
"startRowColumn": Object { "startRowColumn": {
"column": 2, "column": 2,
"row": 1, "row": 1,
}, },
}, },
Object { {
"endOffset": 124, "endOffset": 124,
"endRowColumn": Object { "endRowColumn": {
"column": 15, "column": 15,
"row": 8, "row": 8,
}, },
"index": 2, "index": 2,
"sql": "SELECT "sql": "SELECT
page, page,
COUNT(*) AS \\"cnt\\" COUNT(*) AS "cnt"
FROM w1 FROM w1
GROUP BY 1 GROUP BY 1
ORDER BY 2 DESC", ORDER BY 2 DESC",
"startOffset": 55, "startOffset": 55,
"startRowColumn": Object { "startRowColumn": {
"column": 0, "column": 0,
"row": 3, "row": 3,
}, },
@ -266,80 +266,80 @@ describe('sql', () => {
const found = findAllSqlQueriesInText(text); const found = findAllSqlQueriesInText(text);
expect(found).toMatchInlineSnapshot(` expect(found).toMatchInlineSnapshot(`
Array [ [
Object { {
"endOffset": 29, "endOffset": 29,
"endRowColumn": Object { "endRowColumn": {
"column": 7, "column": 7,
"row": 2, "row": 2,
}, },
"index": 0, "index": 0,
"sql": "SELECT * FROM \\"wiki\\"", "sql": "SELECT * FROM "wiki"",
"startOffset": 0, "startOffset": 0,
"startRowColumn": Object { "startRowColumn": {
"column": 0, "column": 0,
"row": 0, "row": 0,
}, },
}, },
Object { {
"endOffset": 401, "endOffset": 401,
"endRowColumn": Object { "endRowColumn": {
"column": 18, "column": 18,
"row": 17, "row": 17,
}, },
"index": 1, "index": 1,
"sql": "REPLACE INTO \\"wikipedia\\" OVERWRITE ALL "sql": "REPLACE INTO "wikipedia" OVERWRITE ALL
WITH \\"ext\\" AS ( WITH "ext" AS (
SELECT * SELECT *
FROM TABLE( FROM TABLE(
EXTERN( EXTERN(
'{\\"type\\":\\"http\\",\\"uris\\":[\\"https://druid.apache.org/data/wikipedia.json.gz\\"]}', '{"type":"http","uris":["https://druid.apache.org/data/wikipedia.json.gz"]}',
'{\\"type\\":\\"json\\"}' '{"type":"json"}'
) )
) EXTEND (\\"isRobot\\" VARCHAR, \\"channel\\" VARCHAR, \\"timestamp\\" VARCHAR) ) EXTEND ("isRobot" VARCHAR, "channel" VARCHAR, "timestamp" VARCHAR)
) )
SELECT SELECT
TIME_PARSE(\\"timestamp\\") AS \\"__time\\", TIME_PARSE("timestamp") AS "__time",
\\"isRobot\\", "isRobot",
\\"channel\\" "channel"
FROM \\"ext\\" FROM "ext"
PARTITIONED BY DAY", PARTITIONED BY DAY",
"startOffset": 22, "startOffset": 22,
"startRowColumn": Object { "startRowColumn": {
"column": 0, "column": 0,
"row": 2, "row": 2,
}, },
}, },
Object { {
"endOffset": 382, "endOffset": 382,
"endRowColumn": Object { "endRowColumn": {
"column": 10, "column": 10,
"row": 16, "row": 16,
}, },
"index": 2, "index": 2,
"sql": "WITH \\"ext\\" AS ( "sql": "WITH "ext" AS (
SELECT * SELECT *
FROM TABLE( FROM TABLE(
EXTERN( EXTERN(
'{\\"type\\":\\"http\\",\\"uris\\":[\\"https://druid.apache.org/data/wikipedia.json.gz\\"]}', '{"type":"http","uris":["https://druid.apache.org/data/wikipedia.json.gz"]}',
'{\\"type\\":\\"json\\"}' '{"type":"json"}'
) )
) EXTEND (\\"isRobot\\" VARCHAR, \\"channel\\" VARCHAR, \\"timestamp\\" VARCHAR) ) EXTEND ("isRobot" VARCHAR, "channel" VARCHAR, "timestamp" VARCHAR)
) )
SELECT SELECT
TIME_PARSE(\\"timestamp\\") AS \\"__time\\", TIME_PARSE("timestamp") AS "__time",
\\"isRobot\\", "isRobot",
\\"channel\\" "channel"
FROM \\"ext\\"", FROM "ext"",
"startOffset": 61, "startOffset": 61,
"startRowColumn": Object { "startRowColumn": {
"column": 0, "column": 0,
"row": 3, "row": 3,
}, },
}, },
Object { {
"endOffset": 298, "endOffset": 298,
"endRowColumn": Object { "endRowColumn": {
"column": 70, "column": 70,
"row": 10, "row": 10,
}, },
@ -347,30 +347,30 @@ describe('sql', () => {
"sql": "SELECT * "sql": "SELECT *
FROM TABLE( FROM TABLE(
EXTERN( EXTERN(
'{\\"type\\":\\"http\\",\\"uris\\":[\\"https://druid.apache.org/data/wikipedia.json.gz\\"]}', '{"type":"http","uris":["https://druid.apache.org/data/wikipedia.json.gz"]}',
'{\\"type\\":\\"json\\"}' '{"type":"json"}'
) )
) EXTEND (\\"isRobot\\" VARCHAR, \\"channel\\" VARCHAR, \\"timestamp\\" VARCHAR)", ) EXTEND ("isRobot" VARCHAR, "channel" VARCHAR, "timestamp" VARCHAR)",
"startOffset": 79, "startOffset": 79,
"startRowColumn": Object { "startRowColumn": {
"column": 2, "column": 2,
"row": 4, "row": 4,
}, },
}, },
Object { {
"endOffset": 382, "endOffset": 382,
"endRowColumn": Object { "endRowColumn": {
"column": 10, "column": 10,
"row": 16, "row": 16,
}, },
"index": 4, "index": 4,
"sql": "SELECT "sql": "SELECT
TIME_PARSE(\\"timestamp\\") AS \\"__time\\", TIME_PARSE("timestamp") AS "__time",
\\"isRobot\\", "isRobot",
\\"channel\\" "channel"
FROM \\"ext\\"", FROM "ext"",
"startOffset": 301, "startOffset": 301,
"startRowColumn": Object { "startRowColumn": {
"column": 0, "column": 0,
"row": 12, "row": 12,
}, },
@ -404,98 +404,98 @@ describe('sql', () => {
const found = findAllSqlQueriesInText(text); const found = findAllSqlQueriesInText(text);
expect(found).toMatchInlineSnapshot(` expect(found).toMatchInlineSnapshot(`
Array [ [
Object { {
"endOffset": 404, "endOffset": 404,
"endRowColumn": Object { "endRowColumn": {
"column": 22, "column": 22,
"row": 17, "row": 17,
}, },
"index": 0, "index": 0,
"sql": "EXPLAIN PLAN FOR "sql": "EXPLAIN PLAN FOR
INSERT INTO \\"wikipedia\\" INSERT INTO "wikipedia"
WITH \\"ext\\" AS ( WITH "ext" AS (
SELECT * SELECT *
FROM TABLE( FROM TABLE(
EXTERN( EXTERN(
'{\\"type\\":\\"http\\",\\"uris\\":[\\"https://druid.apache.org/data/wikipedia.json.gz\\"]}', '{"type":"http","uris":["https://druid.apache.org/data/wikipedia.json.gz"]}',
'{\\"type\\":\\"json\\"}' '{"type":"json"}'
) )
) EXTEND (\\"isRobot\\" VARCHAR, \\"channel\\" VARCHAR, \\"timestamp\\" VARCHAR) ) EXTEND ("isRobot" VARCHAR, "channel" VARCHAR, "timestamp" VARCHAR)
) )
SELECT SELECT
TIME_PARSE(\\"timestamp\\") AS \\"__time\\", TIME_PARSE("timestamp") AS "__time",
\\"isRobot\\", "isRobot",
\\"channel\\" "channel"
FROM \\"ext\\" FROM "ext"
PARTITIONED BY DAY PARTITIONED BY DAY
CLUSTERED BY \\"channel\\"", CLUSTERED BY "channel"",
"startOffset": 0, "startOffset": 0,
"startRowColumn": Object { "startRowColumn": {
"column": 0, "column": 0,
"row": 0, "row": 0,
}, },
}, },
Object { {
"endOffset": 404, "endOffset": 404,
"endRowColumn": Object { "endRowColumn": {
"column": 22, "column": 22,
"row": 17, "row": 17,
}, },
"index": 1, "index": 1,
"sql": "INSERT INTO \\"wikipedia\\" "sql": "INSERT INTO "wikipedia"
WITH \\"ext\\" AS ( WITH "ext" AS (
SELECT * SELECT *
FROM TABLE( FROM TABLE(
EXTERN( EXTERN(
'{\\"type\\":\\"http\\",\\"uris\\":[\\"https://druid.apache.org/data/wikipedia.json.gz\\"]}', '{"type":"http","uris":["https://druid.apache.org/data/wikipedia.json.gz"]}',
'{\\"type\\":\\"json\\"}' '{"type":"json"}'
) )
) EXTEND (\\"isRobot\\" VARCHAR, \\"channel\\" VARCHAR, \\"timestamp\\" VARCHAR) ) EXTEND ("isRobot" VARCHAR, "channel" VARCHAR, "timestamp" VARCHAR)
) )
SELECT SELECT
TIME_PARSE(\\"timestamp\\") AS \\"__time\\", TIME_PARSE("timestamp") AS "__time",
\\"isRobot\\", "isRobot",
\\"channel\\" "channel"
FROM \\"ext\\" FROM "ext"
PARTITIONED BY DAY PARTITIONED BY DAY
CLUSTERED BY \\"channel\\"", CLUSTERED BY "channel"",
"startOffset": 17, "startOffset": 17,
"startRowColumn": Object { "startRowColumn": {
"column": 0, "column": 0,
"row": 1, "row": 1,
}, },
}, },
Object { {
"endOffset": 362, "endOffset": 362,
"endRowColumn": Object { "endRowColumn": {
"column": 10, "column": 10,
"row": 15, "row": 15,
}, },
"index": 2, "index": 2,
"sql": "WITH \\"ext\\" AS ( "sql": "WITH "ext" AS (
SELECT * SELECT *
FROM TABLE( FROM TABLE(
EXTERN( EXTERN(
'{\\"type\\":\\"http\\",\\"uris\\":[\\"https://druid.apache.org/data/wikipedia.json.gz\\"]}', '{"type":"http","uris":["https://druid.apache.org/data/wikipedia.json.gz"]}',
'{\\"type\\":\\"json\\"}' '{"type":"json"}'
) )
) EXTEND (\\"isRobot\\" VARCHAR, \\"channel\\" VARCHAR, \\"timestamp\\" VARCHAR) ) EXTEND ("isRobot" VARCHAR, "channel" VARCHAR, "timestamp" VARCHAR)
) )
SELECT SELECT
TIME_PARSE(\\"timestamp\\") AS \\"__time\\", TIME_PARSE("timestamp") AS "__time",
\\"isRobot\\", "isRobot",
\\"channel\\" "channel"
FROM \\"ext\\"", FROM "ext"",
"startOffset": 41, "startOffset": 41,
"startRowColumn": Object { "startRowColumn": {
"column": 0, "column": 0,
"row": 2, "row": 2,
}, },
}, },
Object { {
"endOffset": 278, "endOffset": 278,
"endRowColumn": Object { "endRowColumn": {
"column": 70, "column": 70,
"row": 9, "row": 9,
}, },
@ -503,30 +503,30 @@ describe('sql', () => {
"sql": "SELECT * "sql": "SELECT *
FROM TABLE( FROM TABLE(
EXTERN( EXTERN(
'{\\"type\\":\\"http\\",\\"uris\\":[\\"https://druid.apache.org/data/wikipedia.json.gz\\"]}', '{"type":"http","uris":["https://druid.apache.org/data/wikipedia.json.gz"]}',
'{\\"type\\":\\"json\\"}' '{"type":"json"}'
) )
) EXTEND (\\"isRobot\\" VARCHAR, \\"channel\\" VARCHAR, \\"timestamp\\" VARCHAR)", ) EXTEND ("isRobot" VARCHAR, "channel" VARCHAR, "timestamp" VARCHAR)",
"startOffset": 59, "startOffset": 59,
"startRowColumn": Object { "startRowColumn": {
"column": 2, "column": 2,
"row": 3, "row": 3,
}, },
}, },
Object { {
"endOffset": 362, "endOffset": 362,
"endRowColumn": Object { "endRowColumn": {
"column": 10, "column": 10,
"row": 15, "row": 15,
}, },
"index": 4, "index": 4,
"sql": "SELECT "sql": "SELECT
TIME_PARSE(\\"timestamp\\") AS \\"__time\\", TIME_PARSE("timestamp") AS "__time",
\\"isRobot\\", "isRobot",
\\"channel\\" "channel"
FROM \\"ext\\"", FROM "ext"",
"startOffset": 281, "startOffset": 281,
"startRowColumn": Object { "startRowColumn": {
"column": 0, "column": 0,
"row": 11, "row": 11,
}, },
@ -551,10 +551,10 @@ describe('sql', () => {
const found = findAllSqlQueriesInText(text); const found = findAllSqlQueriesInText(text);
expect(found).toMatchInlineSnapshot(` expect(found).toMatchInlineSnapshot(`
Array [ [
Object { {
"endOffset": 40, "endOffset": 40,
"endRowColumn": Object { "endRowColumn": {
"column": 14, "column": 14,
"row": 2, "row": 2,
}, },
@ -563,14 +563,14 @@ describe('sql', () => {
SELECT * SELECT *
FROM wikipedia", FROM wikipedia",
"startOffset": 0, "startOffset": 0,
"startRowColumn": Object { "startRowColumn": {
"column": 0, "column": 0,
"row": 0, "row": 0,
}, },
}, },
Object { {
"endOffset": 40, "endOffset": 40,
"endRowColumn": Object { "endRowColumn": {
"column": 14, "column": 14,
"row": 2, "row": 2,
}, },
@ -578,14 +578,14 @@ describe('sql', () => {
"sql": "SELECT * "sql": "SELECT *
FROM wikipedia", FROM wikipedia",
"startOffset": 17, "startOffset": 17,
"startRowColumn": Object { "startRowColumn": {
"column": 0, "column": 0,
"row": 1, "row": 1,
}, },
}, },
Object { {
"endOffset": 83, "endOffset": 83,
"endRowColumn": Object { "endRowColumn": {
"column": 7, "column": 7,
"row": 7, "row": 7,
}, },
@ -595,14 +595,14 @@ describe('sql', () => {
FROM w2 FROM w2
LIMIT 5", LIMIT 5",
"startOffset": 42, "startOffset": 42,
"startRowColumn": Object { "startRowColumn": {
"column": 0, "column": 0,
"row": 4, "row": 4,
}, },
}, },
Object { {
"endOffset": 83, "endOffset": 83,
"endRowColumn": Object { "endRowColumn": {
"column": 7, "column": 7,
"row": 7, "row": 7,
}, },
@ -611,7 +611,7 @@ describe('sql', () => {
FROM w2 FROM w2
LIMIT 5", LIMIT 5",
"startOffset": 59, "startOffset": 59,
"startRowColumn": Object { "startRowColumn": {
"column": 0, "column": 0,
"row": 5, "row": 5,
}, },

View File

@ -68,37 +68,37 @@ describe('utils', () => {
], ],
), ),
).toMatchInlineSnapshot(` ).toMatchInlineSnapshot(`
Object { {
"samplerConfig": Object { "samplerConfig": {
"numRows": 500, "numRows": 500,
"timeoutMs": 15000, "timeoutMs": 15000,
}, },
"spec": Object { "spec": {
"dataSchema": Object { "dataSchema": {
"dataSource": "wikipedia", "dataSource": "wikipedia",
"dimensionsSpec": Object {}, "dimensionsSpec": {},
"granularitySpec": Object { "granularitySpec": {
"queryGranularity": "hour", "queryGranularity": "hour",
"segmentGranularity": "day", "segmentGranularity": "day",
}, },
"timestampSpec": Object { "timestampSpec": {
"column": "timestamp", "column": "timestamp",
"format": "iso", "format": "iso",
}, },
}, },
"ioConfig": Object { "ioConfig": {
"inputFormat": Object { "inputFormat": {
"keepNullColumns": true, "keepNullColumns": true,
"type": "json", "type": "json",
}, },
"inputSource": Object { "inputSource": {
"data": "{\\"make\\":\\"Honda\\",\\"model\\":\\"Accord\\"} "data": "{"make":"Honda","model":"Accord"}
{\\"make\\":\\"Toyota\\",\\"model\\":\\"Prius\\"}", {"make":"Toyota","model":"Prius"}",
"type": "inline", "type": "inline",
}, },
"type": "index", "type": "index",
}, },
"tuningConfig": Object { "tuningConfig": {
"type": "index_parallel", "type": "index_parallel",
}, },
"type": "index", "type": "index",

View File

@ -21,7 +21,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
label="(debug)" label="(debug)"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Force compaction run" text="Force compaction run"
@ -34,7 +34,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
icon="application" icon="application"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="View SQL query for table" text="View SQL query for table"
@ -45,7 +45,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
icon="edit" icon="edit"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Edit default retention rules" text="Edit default retention rules"
@ -65,7 +65,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
/> />
<Memo(TableColumnSelector) <Memo(TableColumnSelector)
columns={ columns={
Array [ [
"Datasource name", "Datasource name",
"Availability", "Availability",
"Historical load/drop queues", "Historical load/drop queues",
@ -87,7 +87,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
onChange={[Function]} onChange={[Function]}
onClose={[Function]} onClose={[Function]}
tableColumnsHidden={ tableColumnsHidden={
Array [ [
"Segment size", "Segment size",
"Segment granularity", "Segment granularity",
] ]
@ -118,7 +118,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
collapseOnPageChange={true} collapseOnPageChange={true}
collapseOnSortingChange={true} collapseOnSortingChange={true}
column={ column={
Object { {
"Aggregated": undefined, "Aggregated": undefined,
"Cell": undefined, "Cell": undefined,
"Expander": undefined, "Expander": undefined,
@ -134,24 +134,24 @@ exports[`DatasourcesView matches snapshot 1`] = `
"filterMethod": undefined, "filterMethod": undefined,
"filterable": undefined, "filterable": undefined,
"footerClassName": "", "footerClassName": "",
"footerStyle": Object {}, "footerStyle": {},
"getFooterProps": [Function], "getFooterProps": [Function],
"getHeaderProps": [Function], "getHeaderProps": [Function],
"getProps": [Function], "getProps": [Function],
"headerClassName": "", "headerClassName": "",
"headerStyle": Object {}, "headerStyle": {},
"minResizeWidth": 11, "minResizeWidth": 11,
"minWidth": 100, "minWidth": 100,
"resizable": undefined, "resizable": undefined,
"show": true, "show": true,
"sortMethod": undefined, "sortMethod": undefined,
"sortable": undefined, "sortable": undefined,
"style": Object {}, "style": {},
} }
} }
columns={ columns={
Array [ [
Object { {
"Cell": [Function], "Cell": [Function],
"Header": <React.Fragment> "Header": <React.Fragment>
Datasource Datasource
@ -162,7 +162,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
"show": true, "show": true,
"width": 150, "width": 150,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Availability", "Header": "Availability",
"accessor": "num_segments", "accessor": "num_segments",
@ -172,7 +172,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
"sortMethod": [Function], "sortMethod": [Function],
"width": 220, "width": 220,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": <React.Fragment> "Header": <React.Fragment>
Historical Historical
@ -185,7 +185,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
"show": true, "show": true,
"width": 180, "width": 180,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": <React.Fragment> "Header": <React.Fragment>
Total Total
@ -198,7 +198,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
"show": true, "show": true,
"width": 100, "width": 100,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Running tasks", "Header": "Running tasks",
"accessor": [Function], "accessor": [Function],
@ -207,7 +207,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
"show": true, "show": true,
"width": 200, "width": 200,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": <React.Fragment> "Header": <React.Fragment>
Segment rows Segment rows
@ -220,7 +220,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
"show": true, "show": true,
"width": 230, "width": 230,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": <React.Fragment> "Header": <React.Fragment>
Segment size Segment size
@ -233,7 +233,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
"show": false, "show": false,
"width": 270, "width": 270,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": <React.Fragment> "Header": <React.Fragment>
Segment Segment
@ -247,7 +247,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
"show": false, "show": false,
"width": 100, "width": 100,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": <React.Fragment> "Header": <React.Fragment>
Total Total
@ -260,7 +260,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
"show": true, "show": true,
"width": 110, "width": 110,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": <React.Fragment> "Header": <React.Fragment>
Avg. row size Avg. row size
@ -273,7 +273,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
"show": true, "show": true,
"width": 100, "width": 100,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": <React.Fragment> "Header": <React.Fragment>
Replicated Replicated
@ -286,7 +286,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
"show": true, "show": true,
"width": 100, "width": 100,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Compaction", "Header": "Compaction",
"accessor": [Function], "accessor": [Function],
@ -295,7 +295,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
"show": true, "show": true,
"width": 180, "width": 180,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": <React.Fragment> "Header": <React.Fragment>
% Compacted % Compacted
@ -309,7 +309,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
"show": true, "show": true,
"width": 200, "width": 200,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": <React.Fragment> "Header": <React.Fragment>
Left to be Left to be
@ -323,7 +323,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
"show": true, "show": true,
"width": 100, "width": 100,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Retention", "Header": "Retention",
"accessor": [Function], "accessor": [Function],
@ -332,7 +332,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
"show": true, "show": true,
"width": 200, "width": 200,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Actions", "Header": "Actions",
"accessor": "datasource", "accessor": "datasource",
@ -343,18 +343,18 @@ exports[`DatasourcesView matches snapshot 1`] = `
}, },
] ]
} }
data={Array []} data={[]}
defaultExpanded={Object {}} defaultExpanded={{}}
defaultFilterMethod={[Function]} defaultFilterMethod={[Function]}
defaultFiltered={Array []} defaultFiltered={[]}
defaultPage={0} defaultPage={0}
defaultPageSize={50} defaultPageSize={50}
defaultResized={Array []} defaultResized={[]}
defaultSortDesc={false} defaultSortDesc={false}
defaultSortMethod={[Function]} defaultSortMethod={[Function]}
defaultSorted={Array []} defaultSorted={[]}
expanderDefaults={ expanderDefaults={
Object { {
"filterable": false, "filterable": false,
"resizable": false, "resizable": false,
"sortable": false, "sortable": false,
@ -362,7 +362,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
} }
} }
filterable={true} filterable={true}
filtered={Array []} filtered={[]}
freezeWhenExpanded={false} freezeWhenExpanded={false}
getLoadingProps={[Function]} getLoadingProps={[Function]}
getNoDataProps={[Function]} getNoDataProps={[Function]}
@ -400,14 +400,14 @@ exports[`DatasourcesView matches snapshot 1`] = `
originalKey="_original" originalKey="_original"
pageJumpText="jump to page" pageJumpText="jump to page"
pageSizeOptions={ pageSizeOptions={
Array [ [
50, 50,
100, 100,
200, 200,
] ]
} }
pageText="Page" pageText="Page"
pivotDefaults={Object {}} pivotDefaults={{}}
pivotIDKey="_pivotID" pivotIDKey="_pivotID"
pivotValKey="_pivotVal" pivotValKey="_pivotVal"
previousText="Previous" previousText="Previous"
@ -421,7 +421,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
showPaginationBottom={true} showPaginationBottom={true}
showPaginationTop={false} showPaginationTop={false}
sortable={true} sortable={true}
style={Object {}} style={{}}
subRowsKey="_subRows" subRowsKey="_subRows"
/> />
</div> </div>

View File

@ -18,7 +18,7 @@ exports[`LookupsView matches snapshot 1`] = `
/> />
<Memo(TableColumnSelector) <Memo(TableColumnSelector)
columns={ columns={
Array [ [
"Lookup name", "Lookup name",
"Lookup tier", "Lookup tier",
"Type", "Type",
@ -29,7 +29,7 @@ exports[`LookupsView matches snapshot 1`] = `
] ]
} }
onChange={[Function]} onChange={[Function]}
tableColumnsHidden={Array []} tableColumnsHidden={[]}
/> />
</Memo(ViewControlBar)> </Memo(ViewControlBar)>
<ReactTable <ReactTable
@ -56,7 +56,7 @@ exports[`LookupsView matches snapshot 1`] = `
collapseOnPageChange={true} collapseOnPageChange={true}
collapseOnSortingChange={true} collapseOnSortingChange={true}
column={ column={
Object { {
"Aggregated": undefined, "Aggregated": undefined,
"Cell": undefined, "Cell": undefined,
"Expander": undefined, "Expander": undefined,
@ -72,24 +72,24 @@ exports[`LookupsView matches snapshot 1`] = `
"filterMethod": undefined, "filterMethod": undefined,
"filterable": undefined, "filterable": undefined,
"footerClassName": "", "footerClassName": "",
"footerStyle": Object {}, "footerStyle": {},
"getFooterProps": [Function], "getFooterProps": [Function],
"getHeaderProps": [Function], "getHeaderProps": [Function],
"getProps": [Function], "getProps": [Function],
"headerClassName": "", "headerClassName": "",
"headerStyle": Object {}, "headerStyle": {},
"minResizeWidth": 11, "minResizeWidth": 11,
"minWidth": 100, "minWidth": 100,
"resizable": undefined, "resizable": undefined,
"show": true, "show": true,
"sortMethod": undefined, "sortMethod": undefined,
"sortable": undefined, "sortable": undefined,
"style": Object {}, "style": {},
} }
} }
columns={ columns={
Array [ [
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Lookup name", "Header": "Lookup name",
"accessor": "id", "accessor": "id",
@ -98,7 +98,7 @@ exports[`LookupsView matches snapshot 1`] = `
"show": true, "show": true,
"width": 200, "width": 200,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Lookup tier", "Header": "Lookup tier",
"accessor": "tier", "accessor": "tier",
@ -107,7 +107,7 @@ exports[`LookupsView matches snapshot 1`] = `
"show": true, "show": true,
"width": 100, "width": 100,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Type", "Header": "Type",
"accessor": "spec.type", "accessor": "spec.type",
@ -116,7 +116,7 @@ exports[`LookupsView matches snapshot 1`] = `
"show": true, "show": true,
"width": 150, "width": 150,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Version", "Header": "Version",
"accessor": "version", "accessor": "version",
@ -125,7 +125,7 @@ exports[`LookupsView matches snapshot 1`] = `
"show": true, "show": true,
"width": 190, "width": 190,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Poll period", "Header": "Poll period",
"accessor": [Function], "accessor": [Function],
@ -134,7 +134,7 @@ exports[`LookupsView matches snapshot 1`] = `
"show": true, "show": true,
"width": 150, "width": 150,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Summary", "Header": "Summary",
"accessor": [Function], "accessor": [Function],
@ -142,7 +142,7 @@ exports[`LookupsView matches snapshot 1`] = `
"show": true, "show": true,
"width": 600, "width": 600,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Actions", "Header": "Actions",
"accessor": "id", "accessor": "id",
@ -153,25 +153,25 @@ exports[`LookupsView matches snapshot 1`] = `
}, },
] ]
} }
data={Array []} data={[]}
defaultExpanded={Object {}} defaultExpanded={{}}
defaultFilterMethod={[Function]} defaultFilterMethod={[Function]}
defaultFiltered={Array []} defaultFiltered={[]}
defaultPage={0} defaultPage={0}
defaultPageSize={50} defaultPageSize={50}
defaultResized={Array []} defaultResized={[]}
defaultSortDesc={false} defaultSortDesc={false}
defaultSortMethod={[Function]} defaultSortMethod={[Function]}
defaultSorted={ defaultSorted={
Array [ [
Object { {
"desc": false, "desc": false,
"id": "lookup_name", "id": "lookup_name",
}, },
] ]
} }
expanderDefaults={ expanderDefaults={
Object { {
"filterable": false, "filterable": false,
"resizable": false, "resizable": false,
"sortable": false, "sortable": false,
@ -179,7 +179,7 @@ exports[`LookupsView matches snapshot 1`] = `
} }
} }
filterable={true} filterable={true}
filtered={Array []} filtered={[]}
freezeWhenExpanded={false} freezeWhenExpanded={false}
getLoadingProps={[Function]} getLoadingProps={[Function]}
getNoDataProps={[Function]} getNoDataProps={[Function]}
@ -217,14 +217,14 @@ exports[`LookupsView matches snapshot 1`] = `
originalKey="_original" originalKey="_original"
pageJumpText="jump to page" pageJumpText="jump to page"
pageSizeOptions={ pageSizeOptions={
Array [ [
50, 50,
100, 100,
200, 200,
] ]
} }
pageText="Page" pageText="Page"
pivotDefaults={Object {}} pivotDefaults={{}}
pivotIDKey="_pivotID" pivotIDKey="_pivotID"
pivotValKey="_pivotVal" pivotValKey="_pivotVal"
previousText="Previous" previousText="Previous"
@ -238,7 +238,7 @@ exports[`LookupsView matches snapshot 1`] = `
showPaginationBottom={true} showPaginationBottom={true}
showPaginationTop={false} showPaginationTop={false}
sortable={true} sortable={true}
style={Object {}} style={{}}
subRowsKey="_subRows" subRowsKey="_subRows"
/> />
</div> </div>

View File

@ -36,7 +36,7 @@ exports[`SegmentsView matches snapshot 1`] = `
icon="application" icon="application"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="View SQL query for table" text="View SQL query for table"
@ -50,7 +50,7 @@ exports[`SegmentsView matches snapshot 1`] = `
/> />
<Memo(TableColumnSelector) <Memo(TableColumnSelector)
columns={ columns={
Array [ [
"Segment ID", "Segment ID",
"Datasource", "Datasource",
"Start", "Start",
@ -76,7 +76,7 @@ exports[`SegmentsView matches snapshot 1`] = `
onChange={[Function]} onChange={[Function]}
onClose={[Function]} onClose={[Function]}
tableColumnsHidden={ tableColumnsHidden={
Array [ [
"Time span", "Time span",
"Is published", "Is published",
"Is overshadowed", "Is overshadowed",
@ -108,7 +108,7 @@ exports[`SegmentsView matches snapshot 1`] = `
collapseOnPageChange={true} collapseOnPageChange={true}
collapseOnSortingChange={true} collapseOnSortingChange={true}
column={ column={
Object { {
"Aggregated": undefined, "Aggregated": undefined,
"Cell": undefined, "Cell": undefined,
"Expander": undefined, "Expander": undefined,
@ -124,24 +124,24 @@ exports[`SegmentsView matches snapshot 1`] = `
"filterMethod": undefined, "filterMethod": undefined,
"filterable": undefined, "filterable": undefined,
"footerClassName": "", "footerClassName": "",
"footerStyle": Object {}, "footerStyle": {},
"getFooterProps": [Function], "getFooterProps": [Function],
"getHeaderProps": [Function], "getHeaderProps": [Function],
"getProps": [Function], "getProps": [Function],
"headerClassName": "", "headerClassName": "",
"headerStyle": Object {}, "headerStyle": {},
"minResizeWidth": 11, "minResizeWidth": 11,
"minWidth": 100, "minWidth": 100,
"resizable": undefined, "resizable": undefined,
"show": true, "show": true,
"sortMethod": undefined, "sortMethod": undefined,
"sortable": undefined, "sortable": undefined,
"style": Object {}, "style": {},
} }
} }
columns={ columns={
Array [ [
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Segment ID", "Header": "Segment ID",
"accessor": "segment_id", "accessor": "segment_id",
@ -150,14 +150,14 @@ exports[`SegmentsView matches snapshot 1`] = `
"sortable": true, "sortable": true,
"width": 280, "width": 280,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Datasource", "Header": "Datasource",
"accessor": "datasource", "accessor": "datasource",
"show": true, "show": true,
"width": 140, "width": 140,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Interval", "Header": "Interval",
"accessor": "interval", "accessor": "interval",
@ -167,7 +167,7 @@ exports[`SegmentsView matches snapshot 1`] = `
"sortable": true, "sortable": true,
"width": 120, "width": 120,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Start", "Header": "Start",
"accessor": "start", "accessor": "start",
@ -178,7 +178,7 @@ exports[`SegmentsView matches snapshot 1`] = `
"sortable": true, "sortable": true,
"width": 160, "width": 160,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "End", "Header": "End",
"accessor": "end", "accessor": "end",
@ -189,7 +189,7 @@ exports[`SegmentsView matches snapshot 1`] = `
"sortable": true, "sortable": true,
"width": 160, "width": 160,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Version", "Header": "Version",
"accessor": "version", "accessor": "version",
@ -199,7 +199,7 @@ exports[`SegmentsView matches snapshot 1`] = `
"sortable": true, "sortable": true,
"width": 160, "width": 160,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Time span", "Header": "Time span",
"accessor": "time_span", "accessor": "time_span",
@ -208,7 +208,7 @@ exports[`SegmentsView matches snapshot 1`] = `
"sortable": true, "sortable": true,
"width": 100, "width": 100,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Shard type", "Header": "Shard type",
"accessor": [Function], "accessor": [Function],
@ -217,7 +217,7 @@ exports[`SegmentsView matches snapshot 1`] = `
"sortable": false, "sortable": false,
"width": 100, "width": 100,
}, },
Object { {
"Aggregated": [Function], "Aggregated": [Function],
"Cell": [Function], "Cell": [Function],
"Header": "Shard spec", "Header": "Shard spec",
@ -228,7 +228,7 @@ exports[`SegmentsView matches snapshot 1`] = `
"sortable": false, "sortable": false,
"width": 400, "width": 400,
}, },
Object { {
"Header": "Partition", "Header": "Partition",
"accessor": "partition_num", "accessor": "partition_num",
"className": "padded", "className": "padded",
@ -237,7 +237,7 @@ exports[`SegmentsView matches snapshot 1`] = `
"sortable": true, "sortable": true,
"width": 60, "width": 60,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Size", "Header": "Size",
"accessor": "size", "accessor": "size",
@ -248,7 +248,7 @@ exports[`SegmentsView matches snapshot 1`] = `
"sortable": true, "sortable": true,
"width": 120, "width": 120,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Num rows", "Header": "Num rows",
"accessor": "num_rows", "accessor": "num_rows",
@ -258,7 +258,7 @@ exports[`SegmentsView matches snapshot 1`] = `
"show": true, "show": true,
"width": 120, "width": 120,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": <React.Fragment> "Header": <React.Fragment>
Avg. row size Avg. row size
@ -273,7 +273,7 @@ exports[`SegmentsView matches snapshot 1`] = `
"show": true, "show": true,
"width": 100, "width": 100,
}, },
Object { {
"Header": <React.Fragment> "Header": <React.Fragment>
Replicas Replicas
<br /> <br />
@ -288,7 +288,7 @@ exports[`SegmentsView matches snapshot 1`] = `
"show": true, "show": true,
"width": 80, "width": 80,
}, },
Object { {
"Header": <React.Fragment> "Header": <React.Fragment>
Replication factor Replication factor
<br /> <br />
@ -303,7 +303,7 @@ exports[`SegmentsView matches snapshot 1`] = `
"show": true, "show": true,
"width": 80, "width": 80,
}, },
Object { {
"Filter": [Function], "Filter": [Function],
"Header": "Is available", "Header": "Is available",
"accessor": [Function], "accessor": [Function],
@ -312,7 +312,7 @@ exports[`SegmentsView matches snapshot 1`] = `
"show": true, "show": true,
"width": 100, "width": 100,
}, },
Object { {
"Filter": [Function], "Filter": [Function],
"Header": "Is active", "Header": "Is active",
"accessor": [Function], "accessor": [Function],
@ -321,7 +321,7 @@ exports[`SegmentsView matches snapshot 1`] = `
"show": true, "show": true,
"width": 100, "width": 100,
}, },
Object { {
"Filter": [Function], "Filter": [Function],
"Header": "Is realtime", "Header": "Is realtime",
"accessor": [Function], "accessor": [Function],
@ -330,7 +330,7 @@ exports[`SegmentsView matches snapshot 1`] = `
"show": true, "show": true,
"width": 100, "width": 100,
}, },
Object { {
"Filter": [Function], "Filter": [Function],
"Header": "Is published", "Header": "Is published",
"accessor": [Function], "accessor": [Function],
@ -339,7 +339,7 @@ exports[`SegmentsView matches snapshot 1`] = `
"show": false, "show": false,
"width": 100, "width": 100,
}, },
Object { {
"Filter": [Function], "Filter": [Function],
"Header": "Is overshadowed", "Header": "Is overshadowed",
"accessor": [Function], "accessor": [Function],
@ -348,7 +348,7 @@ exports[`SegmentsView matches snapshot 1`] = `
"show": false, "show": false,
"width": 100, "width": 100,
}, },
Object { {
"Aggregated": [Function], "Aggregated": [Function],
"Cell": [Function], "Cell": [Function],
"Header": "Actions", "Header": "Actions",
@ -360,25 +360,25 @@ exports[`SegmentsView matches snapshot 1`] = `
}, },
] ]
} }
data={Array []} data={[]}
defaultExpanded={Object {}} defaultExpanded={{}}
defaultFilterMethod={[Function]} defaultFilterMethod={[Function]}
defaultFiltered={Array []} defaultFiltered={[]}
defaultPage={0} defaultPage={0}
defaultPageSize={50} defaultPageSize={50}
defaultResized={Array []} defaultResized={[]}
defaultSortDesc={false} defaultSortDesc={false}
defaultSortMethod={[Function]} defaultSortMethod={[Function]}
defaultSorted={ defaultSorted={
Array [ [
Object { {
"desc": true, "desc": true,
"id": "start", "id": "start",
}, },
] ]
} }
expanderDefaults={ expanderDefaults={
Object { {
"filterable": false, "filterable": false,
"resizable": false, "resizable": false,
"sortable": false, "sortable": false,
@ -386,7 +386,7 @@ exports[`SegmentsView matches snapshot 1`] = `
} }
} }
filterable={true} filterable={true}
filtered={Array []} filtered={[]}
freezeWhenExpanded={false} freezeWhenExpanded={false}
getLoadingProps={[Function]} getLoadingProps={[Function]}
getNoDataProps={[Function]} getNoDataProps={[Function]}
@ -425,7 +425,7 @@ exports[`SegmentsView matches snapshot 1`] = `
originalKey="_original" originalKey="_original"
pageJumpText="jump to page" pageJumpText="jump to page"
pageSizeOptions={ pageSizeOptions={
Array [ [
50, 50,
100, 100,
200, 200,
@ -433,8 +433,8 @@ exports[`SegmentsView matches snapshot 1`] = `
} }
pageText="Page" pageText="Page"
pages={10000000} pages={10000000}
pivotBy={Array []} pivotBy={[]}
pivotDefaults={Object {}} pivotDefaults={{}}
pivotIDKey="_pivotID" pivotIDKey="_pivotID"
pivotValKey="_pivotVal" pivotValKey="_pivotVal"
previousText="Previous" previousText="Previous"
@ -448,7 +448,7 @@ exports[`SegmentsView matches snapshot 1`] = `
showPaginationBottom={true} showPaginationBottom={true}
showPaginationTop={false} showPaginationTop={false}
sortable={true} sortable={true}
style={Object {}} style={{}}
subRowsKey="_subRows" subRowsKey="_subRows"
/> />
</div> </div>

View File

@ -41,7 +41,7 @@ exports[`ServicesView renders data 1`] = `
icon="application" icon="application"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="View SQL query for table" text="View SQL query for table"
@ -49,7 +49,7 @@ exports[`ServicesView renders data 1`] = `
</Memo(MoreButton)> </Memo(MoreButton)>
<Memo(TableColumnSelector) <Memo(TableColumnSelector)
columns={ columns={
Array [ [
"Service", "Service",
"Type", "Type",
"Tier", "Tier",
@ -64,7 +64,7 @@ exports[`ServicesView renders data 1`] = `
] ]
} }
onChange={[Function]} onChange={[Function]}
tableColumnsHidden={Array []} tableColumnsHidden={[]}
/> />
</Memo(ViewControlBar)> </Memo(ViewControlBar)>
<ReactTable <ReactTable
@ -91,7 +91,7 @@ exports[`ServicesView renders data 1`] = `
collapseOnPageChange={true} collapseOnPageChange={true}
collapseOnSortingChange={true} collapseOnSortingChange={true}
column={ column={
Object { {
"Aggregated": undefined, "Aggregated": undefined,
"Cell": undefined, "Cell": undefined,
"Expander": undefined, "Expander": undefined,
@ -107,24 +107,24 @@ exports[`ServicesView renders data 1`] = `
"filterMethod": undefined, "filterMethod": undefined,
"filterable": undefined, "filterable": undefined,
"footerClassName": "", "footerClassName": "",
"footerStyle": Object {}, "footerStyle": {},
"getFooterProps": [Function], "getFooterProps": [Function],
"getHeaderProps": [Function], "getHeaderProps": [Function],
"getProps": [Function], "getProps": [Function],
"headerClassName": "", "headerClassName": "",
"headerStyle": Object {}, "headerStyle": {},
"minResizeWidth": 11, "minResizeWidth": 11,
"minWidth": 100, "minWidth": 100,
"resizable": undefined, "resizable": undefined,
"show": true, "show": true,
"sortMethod": undefined, "sortMethod": undefined,
"sortable": undefined, "sortable": undefined,
"style": Object {}, "style": {},
} }
} }
columns={ columns={
Array [ [
Object { {
"Aggregated": [Function], "Aggregated": [Function],
"Cell": [Function], "Cell": [Function],
"Header": "Service", "Header": "Service",
@ -132,14 +132,14 @@ exports[`ServicesView renders data 1`] = `
"show": true, "show": true,
"width": 300, "width": 300,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Type", "Header": "Type",
"accessor": "service_type", "accessor": "service_type",
"show": true, "show": true,
"width": 150, "width": 150,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Tier", "Header": "Tier",
"accessor": [Function], "accessor": [Function],
@ -147,7 +147,7 @@ exports[`ServicesView renders data 1`] = `
"show": true, "show": true,
"width": 180, "width": 180,
}, },
Object { {
"Aggregated": [Function], "Aggregated": [Function],
"Cell": [Function], "Cell": [Function],
"Header": "Host", "Header": "Host",
@ -155,7 +155,7 @@ exports[`ServicesView renders data 1`] = `
"show": true, "show": true,
"width": 200, "width": 200,
}, },
Object { {
"Aggregated": [Function], "Aggregated": [Function],
"Cell": [Function], "Cell": [Function],
"Header": "Port", "Header": "Port",
@ -164,7 +164,7 @@ exports[`ServicesView renders data 1`] = `
"show": true, "show": true,
"width": 100, "width": 100,
}, },
Object { {
"Aggregated": [Function], "Aggregated": [Function],
"Cell": [Function], "Cell": [Function],
"Header": "Current size", "Header": "Current size",
@ -175,7 +175,7 @@ exports[`ServicesView renders data 1`] = `
"show": true, "show": true,
"width": 100, "width": 100,
}, },
Object { {
"Aggregated": [Function], "Aggregated": [Function],
"Cell": [Function], "Cell": [Function],
"Header": "Max size", "Header": "Max size",
@ -186,7 +186,7 @@ exports[`ServicesView renders data 1`] = `
"show": true, "show": true,
"width": 100, "width": 100,
}, },
Object { {
"Aggregated": [Function], "Aggregated": [Function],
"Cell": [Function], "Cell": [Function],
"Header": "Usage", "Header": "Usage",
@ -197,7 +197,7 @@ exports[`ServicesView renders data 1`] = `
"show": true, "show": true,
"width": 140, "width": 140,
}, },
Object { {
"Aggregated": [Function], "Aggregated": [Function],
"Cell": [Function], "Cell": [Function],
"Header": "Start time", "Header": "Start time",
@ -205,7 +205,7 @@ exports[`ServicesView renders data 1`] = `
"show": true, "show": true,
"width": 200, "width": 200,
}, },
Object { {
"Aggregated": [Function], "Aggregated": [Function],
"Cell": [Function], "Cell": [Function],
"Header": "Detail", "Header": "Detail",
@ -216,7 +216,7 @@ exports[`ServicesView renders data 1`] = `
"show": true, "show": true,
"width": 400, "width": 400,
}, },
Object { {
"Aggregated": [Function], "Aggregated": [Function],
"Cell": [Function], "Cell": [Function],
"Header": "Actions", "Header": "Actions",
@ -229,9 +229,9 @@ exports[`ServicesView renders data 1`] = `
] ]
} }
data={ data={
Array [ [
Array [ [
Object { {
"curr_size": 0, "curr_size": 0,
"host": "localhost", "host": "localhost",
"is_leader": 0, "is_leader": 0,
@ -243,7 +243,7 @@ exports[`ServicesView renders data 1`] = `
"tier": null, "tier": null,
"tls_port": -1, "tls_port": -1,
}, },
Object { {
"curr_size": 179744287, "curr_size": 179744287,
"host": "localhost", "host": "localhost",
"is_leader": 0, "is_leader": 0,
@ -262,17 +262,17 @@ exports[`ServicesView renders data 1`] = `
], ],
] ]
} }
defaultExpanded={Object {}} defaultExpanded={{}}
defaultFilterMethod={[Function]} defaultFilterMethod={[Function]}
defaultFiltered={Array []} defaultFiltered={[]}
defaultPage={0} defaultPage={0}
defaultPageSize={50} defaultPageSize={50}
defaultResized={Array []} defaultResized={[]}
defaultSortDesc={false} defaultSortDesc={false}
defaultSortMethod={[Function]} defaultSortMethod={[Function]}
defaultSorted={Array []} defaultSorted={[]}
expanderDefaults={ expanderDefaults={
Object { {
"filterable": false, "filterable": false,
"resizable": false, "resizable": false,
"sortable": false, "sortable": false,
@ -280,7 +280,7 @@ exports[`ServicesView renders data 1`] = `
} }
} }
filterable={true} filterable={true}
filtered={Array []} filtered={[]}
freezeWhenExpanded={false} freezeWhenExpanded={false}
getLoadingProps={[Function]} getLoadingProps={[Function]}
getNoDataProps={[Function]} getNoDataProps={[Function]}
@ -318,15 +318,15 @@ exports[`ServicesView renders data 1`] = `
originalKey="_original" originalKey="_original"
pageJumpText="jump to page" pageJumpText="jump to page"
pageSizeOptions={ pageSizeOptions={
Array [ [
50, 50,
100, 100,
200, 200,
] ]
} }
pageText="Page" pageText="Page"
pivotBy={Array []} pivotBy={[]}
pivotDefaults={Object {}} pivotDefaults={{}}
pivotIDKey="_pivotID" pivotIDKey="_pivotID"
pivotValKey="_pivotVal" pivotValKey="_pivotVal"
previousText="Previous" previousText="Previous"
@ -340,7 +340,7 @@ exports[`ServicesView renders data 1`] = `
showPaginationBottom={true} showPaginationBottom={true}
showPaginationTop={false} showPaginationTop={false}
sortable={true} sortable={true}
style={Object {}} style={{}}
subRowsKey="_subRows" subRowsKey="_subRows"
/> />
</div> </div>

View File

@ -19,7 +19,7 @@ exports[`SupervisorsView matches snapshot 1`] = `
icon="application" icon="application"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="View SQL query for table" text="View SQL query for table"
@ -30,7 +30,7 @@ exports[`SupervisorsView matches snapshot 1`] = `
icon="manually-entered-data" icon="manually-entered-data"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Submit JSON supervisor" text="Submit JSON supervisor"
@ -41,7 +41,7 @@ exports[`SupervisorsView matches snapshot 1`] = `
icon="play" icon="play"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Resume all supervisors" text="Resume all supervisors"
@ -52,7 +52,7 @@ exports[`SupervisorsView matches snapshot 1`] = `
icon="pause" icon="pause"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Suspend all supervisors" text="Suspend all supervisors"
@ -64,7 +64,7 @@ exports[`SupervisorsView matches snapshot 1`] = `
intent="danger" intent="danger"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Terminate all supervisors" text="Terminate all supervisors"
@ -73,7 +73,7 @@ exports[`SupervisorsView matches snapshot 1`] = `
</React.Fragment> </React.Fragment>
<Memo(TableColumnSelector) <Memo(TableColumnSelector)
columns={ columns={
Array [ [
"Supervisor ID", "Supervisor ID",
"Type", "Type",
"Topic/Stream", "Topic/Stream",
@ -83,7 +83,7 @@ exports[`SupervisorsView matches snapshot 1`] = `
] ]
} }
onChange={[Function]} onChange={[Function]}
tableColumnsHidden={Array []} tableColumnsHidden={[]}
/> />
</Memo(ViewControlBar)> </Memo(ViewControlBar)>
<ReactTable <ReactTable
@ -110,7 +110,7 @@ exports[`SupervisorsView matches snapshot 1`] = `
collapseOnPageChange={true} collapseOnPageChange={true}
collapseOnSortingChange={true} collapseOnSortingChange={true}
column={ column={
Object { {
"Aggregated": undefined, "Aggregated": undefined,
"Cell": undefined, "Cell": undefined,
"Expander": undefined, "Expander": undefined,
@ -126,24 +126,24 @@ exports[`SupervisorsView matches snapshot 1`] = `
"filterMethod": undefined, "filterMethod": undefined,
"filterable": undefined, "filterable": undefined,
"footerClassName": "", "footerClassName": "",
"footerStyle": Object {}, "footerStyle": {},
"getFooterProps": [Function], "getFooterProps": [Function],
"getHeaderProps": [Function], "getHeaderProps": [Function],
"getProps": [Function], "getProps": [Function],
"headerClassName": "", "headerClassName": "",
"headerStyle": Object {}, "headerStyle": {},
"minResizeWidth": 11, "minResizeWidth": 11,
"minWidth": 100, "minWidth": 100,
"resizable": undefined, "resizable": undefined,
"show": true, "show": true,
"sortMethod": undefined, "sortMethod": undefined,
"sortable": undefined, "sortable": undefined,
"style": Object {}, "style": {},
} }
} }
columns={ columns={
Array [ [
Object { {
"Cell": [Function], "Cell": [Function],
"Header": <React.Fragment> "Header": <React.Fragment>
Supervisor ID Supervisor ID
@ -157,21 +157,21 @@ exports[`SupervisorsView matches snapshot 1`] = `
"show": true, "show": true,
"width": 300, "width": 300,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Type", "Header": "Type",
"accessor": "type", "accessor": "type",
"show": true, "show": true,
"width": 100, "width": 100,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Topic/Stream", "Header": "Topic/Stream",
"accessor": "source", "accessor": "source",
"show": true, "show": true,
"width": 300, "width": 300,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Status", "Header": "Status",
"accessor": "detailed_state", "accessor": "detailed_state",
@ -179,7 +179,7 @@ exports[`SupervisorsView matches snapshot 1`] = `
"show": true, "show": true,
"width": 250, "width": 250,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Running tasks", "Header": "Running tasks",
"accessor": "running_tasks", "accessor": "running_tasks",
@ -188,7 +188,7 @@ exports[`SupervisorsView matches snapshot 1`] = `
"show": true, "show": true,
"width": 150, "width": 150,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Actions", "Header": "Actions",
"accessor": "supervisor_id", "accessor": "supervisor_id",
@ -199,18 +199,18 @@ exports[`SupervisorsView matches snapshot 1`] = `
}, },
] ]
} }
data={Array []} data={[]}
defaultExpanded={Object {}} defaultExpanded={{}}
defaultFilterMethod={[Function]} defaultFilterMethod={[Function]}
defaultFiltered={Array []} defaultFiltered={[]}
defaultPage={0} defaultPage={0}
defaultPageSize={25} defaultPageSize={25}
defaultResized={Array []} defaultResized={[]}
defaultSortDesc={false} defaultSortDesc={false}
defaultSortMethod={[Function]} defaultSortMethod={[Function]}
defaultSorted={Array []} defaultSorted={[]}
expanderDefaults={ expanderDefaults={
Object { {
"filterable": false, "filterable": false,
"resizable": false, "resizable": false,
"sortable": false, "sortable": false,
@ -218,7 +218,7 @@ exports[`SupervisorsView matches snapshot 1`] = `
} }
} }
filterable={true} filterable={true}
filtered={Array []} filtered={[]}
freezeWhenExpanded={false} freezeWhenExpanded={false}
getLoadingProps={[Function]} getLoadingProps={[Function]}
getNoDataProps={[Function]} getNoDataProps={[Function]}
@ -256,14 +256,14 @@ exports[`SupervisorsView matches snapshot 1`] = `
originalKey="_original" originalKey="_original"
pageJumpText="jump to page" pageJumpText="jump to page"
pageSizeOptions={ pageSizeOptions={
Array [ [
25, 25,
50, 50,
100, 100,
] ]
} }
pageText="Page" pageText="Page"
pivotDefaults={Object {}} pivotDefaults={{}}
pivotIDKey="_pivotID" pivotIDKey="_pivotID"
pivotValKey="_pivotVal" pivotValKey="_pivotVal"
previousText="Previous" previousText="Previous"
@ -277,7 +277,7 @@ exports[`SupervisorsView matches snapshot 1`] = `
showPaginationBottom={true} showPaginationBottom={true}
showPaginationTop={false} showPaginationTop={false}
sortable={true} sortable={true}
style={Object {}} style={{}}
subRowsKey="_subRows" subRowsKey="_subRows"
/> />
<Memo(AlertDialog) <Memo(AlertDialog)

View File

@ -53,7 +53,7 @@ exports[`TasksView matches snapshot 1`] = `
icon="application" icon="application"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="View SQL query for table" text="View SQL query for table"
@ -64,7 +64,7 @@ exports[`TasksView matches snapshot 1`] = `
icon="manually-entered-data" icon="manually-entered-data"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Submit JSON task" text="Submit JSON task"
@ -72,7 +72,7 @@ exports[`TasksView matches snapshot 1`] = `
</Memo(MoreButton)> </Memo(MoreButton)>
<Memo(TableColumnSelector) <Memo(TableColumnSelector)
columns={ columns={
Array [ [
"Task ID", "Task ID",
"Group ID", "Group ID",
"Type", "Type",
@ -85,7 +85,7 @@ exports[`TasksView matches snapshot 1`] = `
] ]
} }
onChange={[Function]} onChange={[Function]}
tableColumnsHidden={Array []} tableColumnsHidden={[]}
/> />
</Memo(ViewControlBar)> </Memo(ViewControlBar)>
<ReactTable <ReactTable
@ -112,7 +112,7 @@ exports[`TasksView matches snapshot 1`] = `
collapseOnPageChange={true} collapseOnPageChange={true}
collapseOnSortingChange={true} collapseOnSortingChange={true}
column={ column={
Object { {
"Aggregated": undefined, "Aggregated": undefined,
"Cell": undefined, "Cell": undefined,
"Expander": undefined, "Expander": undefined,
@ -128,24 +128,24 @@ exports[`TasksView matches snapshot 1`] = `
"filterMethod": undefined, "filterMethod": undefined,
"filterable": undefined, "filterable": undefined,
"footerClassName": "", "footerClassName": "",
"footerStyle": Object {}, "footerStyle": {},
"getFooterProps": [Function], "getFooterProps": [Function],
"getHeaderProps": [Function], "getHeaderProps": [Function],
"getProps": [Function], "getProps": [Function],
"headerClassName": "", "headerClassName": "",
"headerStyle": Object {}, "headerStyle": {},
"minResizeWidth": 11, "minResizeWidth": 11,
"minWidth": 100, "minWidth": 100,
"resizable": undefined, "resizable": undefined,
"show": true, "show": true,
"sortMethod": undefined, "sortMethod": undefined,
"sortable": undefined, "sortable": undefined,
"style": Object {}, "style": {},
} }
} }
columns={ columns={
Array [ [
Object { {
"Aggregated": [Function], "Aggregated": [Function],
"Cell": [Function], "Cell": [Function],
"Header": "Task ID", "Header": "Task ID",
@ -153,7 +153,7 @@ exports[`TasksView matches snapshot 1`] = `
"show": true, "show": true,
"width": 440, "width": 440,
}, },
Object { {
"Aggregated": [Function], "Aggregated": [Function],
"Cell": [Function], "Cell": [Function],
"Header": "Group ID", "Header": "Group ID",
@ -161,21 +161,21 @@ exports[`TasksView matches snapshot 1`] = `
"show": true, "show": true,
"width": 300, "width": 300,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Type", "Header": "Type",
"accessor": "type", "accessor": "type",
"show": true, "show": true,
"width": 140, "width": 140,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Datasource", "Header": "Datasource",
"accessor": "datasource", "accessor": "datasource",
"show": true, "show": true,
"width": 200, "width": 200,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Status", "Header": "Status",
"accessor": [Function], "accessor": [Function],
@ -184,7 +184,7 @@ exports[`TasksView matches snapshot 1`] = `
"sortMethod": [Function], "sortMethod": [Function],
"width": 110, "width": 110,
}, },
Object { {
"Aggregated": [Function], "Aggregated": [Function],
"Cell": [Function], "Cell": [Function],
"Header": "Created time", "Header": "Created time",
@ -192,7 +192,7 @@ exports[`TasksView matches snapshot 1`] = `
"show": true, "show": true,
"width": 190, "width": 190,
}, },
Object { {
"Aggregated": [Function], "Aggregated": [Function],
"Cell": [Function], "Cell": [Function],
"Header": "Duration", "Header": "Duration",
@ -202,7 +202,7 @@ exports[`TasksView matches snapshot 1`] = `
"show": true, "show": true,
"width": 80, "width": 80,
}, },
Object { {
"Aggregated": [Function], "Aggregated": [Function],
"Cell": [Function], "Cell": [Function],
"Header": "Location", "Header": "Location",
@ -210,7 +210,7 @@ exports[`TasksView matches snapshot 1`] = `
"show": true, "show": true,
"width": 200, "width": 200,
}, },
Object { {
"Aggregated": [Function], "Aggregated": [Function],
"Cell": [Function], "Cell": [Function],
"Header": "Actions", "Header": "Actions",
@ -222,25 +222,25 @@ exports[`TasksView matches snapshot 1`] = `
}, },
] ]
} }
data={Array []} data={[]}
defaultExpanded={Object {}} defaultExpanded={{}}
defaultFilterMethod={[Function]} defaultFilterMethod={[Function]}
defaultFiltered={Array []} defaultFiltered={[]}
defaultPage={0} defaultPage={0}
defaultPageSize={25} defaultPageSize={25}
defaultResized={Array []} defaultResized={[]}
defaultSortDesc={false} defaultSortDesc={false}
defaultSortMethod={[Function]} defaultSortMethod={[Function]}
defaultSorted={ defaultSorted={
Array [ [
Object { {
"desc": true, "desc": true,
"id": "status", "id": "status",
}, },
] ]
} }
expanderDefaults={ expanderDefaults={
Object { {
"filterable": false, "filterable": false,
"resizable": false, "resizable": false,
"sortable": false, "sortable": false,
@ -248,7 +248,7 @@ exports[`TasksView matches snapshot 1`] = `
} }
} }
filterable={true} filterable={true}
filtered={Array []} filtered={[]}
freezeWhenExpanded={false} freezeWhenExpanded={false}
getLoadingProps={[Function]} getLoadingProps={[Function]}
getNoDataProps={[Function]} getNoDataProps={[Function]}
@ -286,15 +286,15 @@ exports[`TasksView matches snapshot 1`] = `
originalKey="_original" originalKey="_original"
pageJumpText="jump to page" pageJumpText="jump to page"
pageSizeOptions={ pageSizeOptions={
Array [ [
25, 25,
50, 50,
100, 100,
] ]
} }
pageText="Page" pageText="Page"
pivotBy={Array []} pivotBy={[]}
pivotDefaults={Object {}} pivotDefaults={{}}
pivotIDKey="_pivotID" pivotIDKey="_pivotID"
pivotValKey="_pivotVal" pivotValKey="_pivotVal"
previousText="Previous" previousText="Previous"
@ -308,7 +308,7 @@ exports[`TasksView matches snapshot 1`] = `
showPaginationBottom={true} showPaginationBottom={true}
showPaginationTop={false} showPaginationTop={false}
sortable={true} sortable={true}
style={Object {}} style={{}}
subRowsKey="_subRows" subRowsKey="_subRows"
/> />
<Memo(AlertDialog) <Memo(AlertDialog)

View File

@ -45,7 +45,7 @@ exports[`ColumnTree matches snapshot 1`] = `
icon="tick" icon="tick"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Tables and columns" text="Tables and columns"
@ -56,7 +56,7 @@ exports[`ColumnTree matches snapshot 1`] = `
icon="blank" icon="blank"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Tables only" text="Tables only"
@ -67,7 +67,7 @@ exports[`ColumnTree matches snapshot 1`] = `
icon="blank" icon="blank"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Columns only" text="Columns only"
@ -105,10 +105,10 @@ exports[`ColumnTree matches snapshot 1`] = `
> >
<Blueprint4.Tree <Blueprint4.Tree
contents={ contents={
Array [ [
Object { {
"childNodes": Array [ "childNodes": [
Object { {
"icon": <Blueprint4.Icon "icon": <Blueprint4.Icon
aria-hidden={true} aria-hidden={true}
className="bp4-tree-node-icon" className="bp4-tree-node-icon"
@ -147,7 +147,7 @@ exports[`ColumnTree matches snapshot 1`] = `
__time __time
</Blueprint4.Popover2>, </Blueprint4.Popover2>,
}, },
Object { {
"icon": <Blueprint4.Icon "icon": <Blueprint4.Icon
aria-hidden={true} aria-hidden={true}
className="bp4-tree-node-icon" className="bp4-tree-node-icon"
@ -186,7 +186,7 @@ exports[`ColumnTree matches snapshot 1`] = `
added added
</Blueprint4.Popover2>, </Blueprint4.Popover2>,
}, },
Object { {
"icon": <Blueprint4.Icon "icon": <Blueprint4.Icon
aria-hidden={true} aria-hidden={true}
className="bp4-tree-node-icon" className="bp4-tree-node-icon"

View File

@ -26,7 +26,7 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
collapseOnPageChange={true} collapseOnPageChange={true}
collapseOnSortingChange={true} collapseOnSortingChange={true}
column={ column={
Object { {
"Aggregated": undefined, "Aggregated": undefined,
"Cell": undefined, "Cell": undefined,
"Expander": undefined, "Expander": undefined,
@ -42,24 +42,24 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
"filterMethod": undefined, "filterMethod": undefined,
"filterable": undefined, "filterable": undefined,
"footerClassName": "", "footerClassName": "",
"footerStyle": Object {}, "footerStyle": {},
"getFooterProps": [Function], "getFooterProps": [Function],
"getHeaderProps": [Function], "getHeaderProps": [Function],
"getProps": [Function], "getProps": [Function],
"headerClassName": "", "headerClassName": "",
"headerStyle": Object {}, "headerStyle": {},
"minResizeWidth": 11, "minResizeWidth": 11,
"minWidth": 100, "minWidth": 100,
"resizable": undefined, "resizable": undefined,
"show": true, "show": true,
"sortMethod": undefined, "sortMethod": undefined,
"sortable": undefined, "sortable": undefined,
"style": Object {}, "style": {},
} }
} }
columns={ columns={
Array [ [
Object { {
"Cell": [Function], "Cell": [Function],
"Header": <React.Fragment> "Header": <React.Fragment>
Stage Stage
@ -73,7 +73,7 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
"id": "stage", "id": "stage",
"width": 140, "width": 140,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Counter", "Header": "Counter",
"accessor": "stageNumber", "accessor": "stageNumber",
@ -81,7 +81,7 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
"id": "counter", "id": "counter",
"width": 150, "width": 150,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": <React.Fragment> "Header": <React.Fragment>
Rows processed Rows processed
@ -95,7 +95,7 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
"id": "rows_processed", "id": "rows_processed",
"width": 160, "width": 160,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": <React.Fragment> "Header": <React.Fragment>
Processing rate Processing rate
@ -109,14 +109,14 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
"id": "processing_rate", "id": "processing_rate",
"width": 150, "width": 150,
}, },
Object { {
"Header": "Phase", "Header": "Phase",
"accessor": [Function], "accessor": [Function],
"className": "padded", "className": "padded",
"id": "phase", "id": "phase",
"width": 130, "width": 130,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Timing", "Header": "Timing",
"accessor": [Function], "accessor": [Function],
@ -124,7 +124,7 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
"id": "timing", "id": "timing",
"width": 170, "width": 170,
}, },
Object { {
"Header": <React.Fragment> "Header": <React.Fragment>
Num Num
<br /> <br />
@ -134,7 +134,7 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
"className": "padded", "className": "padded",
"width": 75, "width": 75,
}, },
Object { {
"Header": <React.Fragment> "Header": <React.Fragment>
Output Output
<br /> <br />
@ -144,7 +144,7 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
"className": "padded", "className": "padded",
"width": 75, "width": 75,
}, },
Object { {
"Cell": [Function], "Cell": [Function],
"Header": "Cluster by", "Header": "Cluster by",
"accessor": [Function], "accessor": [Function],
@ -155,30 +155,30 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
] ]
} }
data={ data={
Array [ [
Object { {
"definition": Object { "definition": {
"id": "7f62fa91-f49a-4053-adec-5aa09c251ee3_0", "id": "7f62fa91-f49a-4053-adec-5aa09c251ee3_0",
"input": Array [ "input": [
Object { {
"inputFormat": Object { "inputFormat": {
"assumeNewlineDelimited": false, "assumeNewlineDelimited": false,
"keepNullColumns": false, "keepNullColumns": false,
"type": "json", "type": "json",
"useJsonNodeReader": false, "useJsonNodeReader": false,
}, },
"inputSource": Object { "inputSource": {
"type": "http", "type": "http",
"uris": Array [ "uris": [
"https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz", "https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz",
], ],
}, },
"signature": Array [ "signature": [
Object { {
"name": "timestamp", "name": "timestamp",
"type": "STRING", "type": "STRING",
}, },
Object { {
"name": "agent_type", "name": "agent_type",
"type": "STRING", "type": "STRING",
}, },
@ -187,13 +187,13 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
}, },
], ],
"maxWorkerCount": 1, "maxWorkerCount": 1,
"processor": Object { "processor": {
"query": Object { "query": {
"columns": Array [ "columns": [
"agent_type", "agent_type",
"v0", "v0",
], ],
"context": Object { "context": {
"__resultFormat": "array", "__resultFormat": "array",
"__timeColumn": "v0", "__timeColumn": "v0",
"__user": "allowAll", "__user": "allowAll",
@ -204,42 +204,42 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
"maxNumTasks": 2, "maxNumTasks": 2,
"maxParseExceptions": 0, "maxParseExceptions": 0,
"queryId": "346b9ac6-4912-46e4-9b98-75f11071af87", "queryId": "346b9ac6-4912-46e4-9b98-75f11071af87",
"scanSignature": "[{\\"name\\":\\"agent_type\\",\\"type\\":\\"STRING\\"},{\\"name\\":\\"v0\\",\\"type\\":\\"LONG\\"}]", "scanSignature": "[{"name":"agent_type","type":"STRING"},{"name":"v0","type":"LONG"}]",
"sqlInsertSegmentGranularity": "{\\"type\\":\\"all\\"}", "sqlInsertSegmentGranularity": "{"type":"all"}",
"sqlQueryId": "346b9ac6-4912-46e4-9b98-75f11071af87", "sqlQueryId": "346b9ac6-4912-46e4-9b98-75f11071af87",
"sqlReplaceTimeChunks": "all", "sqlReplaceTimeChunks": "all",
"waitUntilSegmentsLoad": true, "waitUntilSegmentsLoad": true,
}, },
"dataSource": Object { "dataSource": {
"inputFormat": Object { "inputFormat": {
"assumeNewlineDelimited": false, "assumeNewlineDelimited": false,
"keepNullColumns": false, "keepNullColumns": false,
"type": "json", "type": "json",
"useJsonNodeReader": false, "useJsonNodeReader": false,
}, },
"inputSource": Object { "inputSource": {
"type": "http", "type": "http",
"uris": Array [ "uris": [
"https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz", "https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz",
], ],
}, },
"signature": Array [ "signature": [
Object { {
"name": "timestamp", "name": "timestamp",
"type": "STRING", "type": "STRING",
}, },
Object { {
"name": "agent_type", "name": "agent_type",
"type": "STRING", "type": "STRING",
}, },
], ],
"type": "external", "type": "external",
}, },
"granularity": Object { "granularity": {
"type": "all", "type": "all",
}, },
"intervals": Object { "intervals": {
"intervals": Array [ "intervals": [
"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z", "-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z",
], ],
"type": "intervals", "type": "intervals",
@ -247,9 +247,9 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
"legacy": false, "legacy": false,
"queryType": "scan", "queryType": "scan",
"resultFormat": "compactedList", "resultFormat": "compactedList",
"virtualColumns": Array [ "virtualColumns": [
Object { {
"expression": "timestamp_parse(\\"timestamp\\",null,'UTC')", "expression": "timestamp_parse("timestamp",null,'UTC')",
"name": "v0", "name": "v0",
"outputType": "LONG", "outputType": "LONG",
"type": "expression", "type": "expression",
@ -259,10 +259,10 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
"type": "scan", "type": "scan",
}, },
"shuffleCheckHasMultipleValues": true, "shuffleCheckHasMultipleValues": true,
"shuffleSpec": Object { "shuffleSpec": {
"clusterBy": Object { "clusterBy": {
"columns": Array [ "columns": [
Object { {
"columnName": "__boost", "columnName": "__boost",
"order": "ASCENDING", "order": "ASCENDING",
}, },
@ -271,16 +271,16 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
"targetSize": 3000000, "targetSize": 3000000,
"type": "targetSize", "type": "targetSize",
}, },
"signature": Array [ "signature": [
Object { {
"name": "__boost", "name": "__boost",
"type": "LONG", "type": "LONG",
}, },
Object { {
"name": "agent_type", "name": "agent_type",
"type": "STRING", "type": "STRING",
}, },
Object { {
"name": "v0", "name": "v0",
"type": "LONG", "type": "LONG",
}, },
@ -294,35 +294,35 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
"startTime": "2024-01-23T19:45:43.302Z", "startTime": "2024-01-23T19:45:43.302Z",
"workerCount": 1, "workerCount": 1,
}, },
Object { {
"definition": Object { "definition": {
"id": "7f62fa91-f49a-4053-adec-5aa09c251ee3_1", "id": "7f62fa91-f49a-4053-adec-5aa09c251ee3_1",
"input": Array [ "input": [
Object { {
"stage": 0, "stage": 0,
"type": "stage", "type": "stage",
}, },
], ],
"maxWorkerCount": 1, "maxWorkerCount": 1,
"processor": Object { "processor": {
"columnMappings": Array [ "columnMappings": [
Object { {
"outputColumn": "__time", "outputColumn": "__time",
"queryColumn": "v0", "queryColumn": "v0",
}, },
Object { {
"outputColumn": "agent_type", "outputColumn": "agent_type",
"queryColumn": "agent_type", "queryColumn": "agent_type",
}, },
], ],
"dataSchema": Object { "dataSchema": {
"dataSource": "kttm_simple", "dataSource": "kttm_simple",
"dimensionsSpec": Object { "dimensionsSpec": {
"dimensionExclusions": Array [ "dimensionExclusions": [
"__time", "__time",
], ],
"dimensions": Array [ "dimensions": [
Object { {
"createBitmapIndex": true, "createBitmapIndex": true,
"multiValueHandling": "SORTED_ARRAY", "multiValueHandling": "SORTED_ARRAY",
"name": "agent_type", "name": "agent_type",
@ -332,35 +332,35 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
"includeAllDimensions": false, "includeAllDimensions": false,
"useSchemaDiscovery": false, "useSchemaDiscovery": false,
}, },
"granularitySpec": Object { "granularitySpec": {
"intervals": Array [ "intervals": [
"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z", "-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z",
], ],
"queryGranularity": Object { "queryGranularity": {
"type": "none", "type": "none",
}, },
"rollup": false, "rollup": false,
"type": "arbitrary", "type": "arbitrary",
}, },
"metricsSpec": Array [], "metricsSpec": [],
"timestampSpec": Object { "timestampSpec": {
"column": "__time", "column": "__time",
"format": "millis", "format": "millis",
"missingValue": null, "missingValue": null,
}, },
"transformSpec": Object { "transformSpec": {
"filter": null, "filter": null,
"transforms": Array [], "transforms": [],
}, },
}, },
"tuningConfig": Object { "tuningConfig": {
"maxNumWorkers": 1, "maxNumWorkers": 1,
"maxRowsInMemory": 100000, "maxRowsInMemory": 100000,
"rowsPerSegment": 3000000, "rowsPerSegment": 3000000,
}, },
"type": "segmentGenerator", "type": "segmentGenerator",
}, },
"signature": Array [], "signature": [],
}, },
"duration": 1263, "duration": 1263,
"partitionCount": 1, "partitionCount": 1,
@ -371,17 +371,17 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
}, },
] ]
} }
defaultExpanded={Object {}} defaultExpanded={{}}
defaultFilterMethod={[Function]} defaultFilterMethod={[Function]}
defaultFiltered={Array []} defaultFiltered={[]}
defaultPage={0} defaultPage={0}
defaultPageSize={7} defaultPageSize={7}
defaultResized={Array []} defaultResized={[]}
defaultSortDesc={false} defaultSortDesc={false}
defaultSortMethod={[Function]} defaultSortMethod={[Function]}
defaultSorted={Array []} defaultSorted={[]}
expanderDefaults={ expanderDefaults={
Object { {
"filterable": false, "filterable": false,
"resizable": false, "resizable": false,
"sortable": false, "sortable": false,
@ -425,7 +425,7 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
originalKey="_original" originalKey="_original"
pageJumpText="jump to page" pageJumpText="jump to page"
pageSizeOptions={ pageSizeOptions={
Array [ [
5, 5,
10, 10,
20, 20,
@ -435,7 +435,7 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
] ]
} }
pageText="Page" pageText="Page"
pivotDefaults={Object {}} pivotDefaults={{}}
pivotIDKey="_pivotID" pivotIDKey="_pivotID"
pivotValKey="_pivotVal" pivotValKey="_pivotVal"
previousText="Previous" previousText="Previous"
@ -449,7 +449,7 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
showPaginationBottom={true} showPaginationBottom={true}
showPaginationTop={false} showPaginationTop={false}
sortable={false} sortable={false}
style={Object {}} style={{}}
subRowsKey="_subRows" subRowsKey="_subRows"
/> />
`; `;

View File

@ -3,7 +3,7 @@
exports[`ExecutionSubmitDialog matches snapshot 1`] = ` exports[`ExecutionSubmitDialog matches snapshot 1`] = `
<Blueprint4.Dialog <Blueprint4.Dialog
backdropProps={ backdropProps={
Object { {
"onDragLeave": [Function], "onDragLeave": [Function],
"onDragOver": [Function], "onDragOver": [Function],
"onDrop": [Function], "onDrop": [Function],
@ -36,7 +36,7 @@ exports[`ExecutionSubmitDialog matches snapshot 1`] = `
fill={true} fill={true}
hasSelection={false} hasSelection={false}
inputProps={ inputProps={
Object { {
"accept": ".json", "accept": ".json",
} }
} }

View File

@ -117,7 +117,7 @@ exports[`ExplainDialog matches snapshot on some data (many queries) 1`] = `
<ReactAce <ReactAce
className="query-string" className="query-string"
cursorStart={1} cursorStart={1}
editorProps={Object {}} editorProps={{}}
enableBasicAutocompletion={false} enableBasicAutocompletion={false}
enableLiveAutocompletion={false} enableLiveAutocompletion={false}
enableSnippets={false} enableSnippets={false}
@ -137,44 +137,44 @@ exports[`ExplainDialog matches snapshot on some data (many queries) 1`] = `
placeholder={null} placeholder={null}
readOnly={true} readOnly={true}
scrollMargin={ scrollMargin={
Array [ [
0, 0,
0, 0,
0, 0,
0, 0,
] ]
} }
setOptions={Object {}} setOptions={{}}
showGutter={true} showGutter={true}
showPrintMargin={false} showPrintMargin={false}
style={Object {}} style={{}}
tabSize={4} tabSize={4}
theme="solarized_dark" theme="solarized_dark"
value="{ value="{
\\"queryType\\": \\"scan\\", "queryType": "scan",
\\"dataSource\\": { "dataSource": {
\\"type\\": \\"table\\", "type": "table",
\\"name\\": \\"wikipedia\\" "name": "wikipedia"
}, },
\\"intervals\\": { "intervals": {
\\"type\\": \\"intervals\\", "type": "intervals",
\\"intervals\\": [ "intervals": [
\\"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z\\" "-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z"
] ]
}, },
\\"virtualColumns\\": [], "virtualColumns": [],
\\"resultFormat\\": \\"compactedList\\", "resultFormat": "compactedList",
\\"batchSize\\": 20480, "batchSize": 20480,
\\"limit\\": 101, "limit": 101,
\\"filter\\": null, "filter": null,
\\"columns\\": [ "columns": [
\\"channel\\" "channel"
], ],
\\"legacy\\": false, "legacy": false,
\\"context\\": {}, "context": {},
\\"descending\\": false, "descending": false,
\\"granularity\\": { "granularity": {
\\"type\\": \\"all\\" "type": "all"
} }
}" }"
width="100%" width="100%"
@ -215,7 +215,7 @@ exports[`ExplainDialog matches snapshot on some data (many queries) 1`] = `
<ReactAce <ReactAce
className="query-string" className="query-string"
cursorStart={1} cursorStart={1}
editorProps={Object {}} editorProps={{}}
enableBasicAutocompletion={false} enableBasicAutocompletion={false}
enableLiveAutocompletion={false} enableLiveAutocompletion={false}
enableSnippets={false} enableSnippets={false}
@ -235,49 +235,49 @@ exports[`ExplainDialog matches snapshot on some data (many queries) 1`] = `
placeholder={null} placeholder={null}
readOnly={true} readOnly={true}
scrollMargin={ scrollMargin={
Array [ [
0, 0,
0, 0,
0, 0,
0, 0,
] ]
} }
setOptions={Object {}} setOptions={{}}
showGutter={true} showGutter={true}
showPrintMargin={false} showPrintMargin={false}
style={Object {}} style={{}}
tabSize={4} tabSize={4}
theme="solarized_dark" theme="solarized_dark"
value="{ value="{
\\"queryType\\": \\"scan\\", "queryType": "scan",
\\"dataSource\\": { "dataSource": {
\\"type\\": \\"table\\", "type": "table",
\\"name\\": \\"wikipedia\\" "name": "wikipedia"
}, },
\\"intervals\\": { "intervals": {
\\"type\\": \\"intervals\\", "type": "intervals",
\\"intervals\\": [ "intervals": [
\\"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z\\" "-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z"
] ]
}, },
\\"virtualColumns\\": [], "virtualColumns": [],
\\"resultFormat\\": \\"compactedList\\", "resultFormat": "compactedList",
\\"batchSize\\": 20480, "batchSize": 20480,
\\"limit\\": 101, "limit": 101,
\\"filter\\": { "filter": {
\\"type\\": \\"selector\\", "type": "selector",
\\"dimension\\": \\"channel\\", "dimension": "channel",
\\"value\\": \\"#en.wikipedia\\", "value": "#en.wikipedia",
\\"extractionFn\\": null "extractionFn": null
}, },
\\"columns\\": [ "columns": [
\\"channel\\" "channel"
], ],
\\"legacy\\": false, "legacy": false,
\\"context\\": {}, "context": {},
\\"descending\\": false, "descending": false,
\\"granularity\\": { "granularity": {
\\"type\\": \\"all\\" "type": "all"
} }
}" }"
width="100%" width="100%"
@ -343,7 +343,7 @@ exports[`ExplainDialog matches snapshot on some data (one query) 1`] = `
<ReactAce <ReactAce
className="query-string" className="query-string"
cursorStart={1} cursorStart={1}
editorProps={Object {}} editorProps={{}}
enableBasicAutocompletion={false} enableBasicAutocompletion={false}
enableLiveAutocompletion={false} enableLiveAutocompletion={false}
enableSnippets={false} enableSnippets={false}
@ -363,108 +363,108 @@ exports[`ExplainDialog matches snapshot on some data (one query) 1`] = `
placeholder={null} placeholder={null}
readOnly={true} readOnly={true}
scrollMargin={ scrollMargin={
Array [ [
0, 0,
0, 0,
0, 0,
0, 0,
] ]
} }
setOptions={Object {}} setOptions={{}}
showGutter={true} showGutter={true}
showPrintMargin={false} showPrintMargin={false}
style={Object {}} style={{}}
tabSize={4} tabSize={4}
theme="solarized_dark" theme="solarized_dark"
value="{ value="{
\\"queryType\\": \\"topN\\", "queryType": "topN",
\\"dataSource\\": { "dataSource": {
\\"type\\": \\"join\\", "type": "join",
\\"left\\": { "left": {
\\"type\\": \\"table\\", "type": "table",
\\"name\\": \\"wikipedia\\" "name": "wikipedia"
}, },
\\"right\\": { "right": {
\\"type\\": \\"query\\", "type": "query",
\\"query\\": { "query": {
\\"queryType\\": \\"groupBy\\", "queryType": "groupBy",
\\"dataSource\\": { "dataSource": {
\\"type\\": \\"table\\", "type": "table",
\\"name\\": \\"wikipedia\\" "name": "wikipedia"
}, },
\\"intervals\\": { "intervals": {
\\"type\\": \\"intervals\\", "type": "intervals",
\\"intervals\\": [ "intervals": [
\\"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z\\" "-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z"
] ]
}, },
\\"virtualColumns\\": [], "virtualColumns": [],
\\"filter\\": { "filter": {
\\"type\\": \\"selector\\", "type": "selector",
\\"dimension\\": \\"channel\\", "dimension": "channel",
\\"value\\": \\"#en.wikipedia\\", "value": "#en.wikipedia",
\\"extractionFn\\": null "extractionFn": null
}, },
\\"granularity\\": { "granularity": {
\\"type\\": \\"all\\" "type": "all"
}, },
\\"dimensions\\": [ "dimensions": [
{ {
\\"type\\": \\"default\\", "type": "default",
\\"dimension\\": \\"channel\\", "dimension": "channel",
\\"outputName\\": \\"d0\\", "outputName": "d0",
\\"outputType\\": \\"STRING\\" "outputType": "STRING"
} }
], ],
\\"aggregations\\": [], "aggregations": [],
\\"postAggregations\\": [], "postAggregations": [],
\\"having\\": null, "having": null,
\\"limitSpec\\": { "limitSpec": {
\\"type\\": \\"NoopLimitSpec\\" "type": "NoopLimitSpec"
}, },
\\"context\\": {}, "context": {},
\\"descending\\": false "descending": false
} }
}, },
\\"rightPrefix\\": \\"j0.\\", "rightPrefix": "j0.",
\\"condition\\": \\"(\\\\\\"channel\\\\\\" == \\\\\\"j0.d0\\\\\\")\\", "condition": "(\\"channel\\" == \\"j0.d0\\")",
\\"joinType\\": \\"LEFT\\", "joinType": "LEFT",
\\"leftFilter\\": null "leftFilter": null
}, },
\\"virtualColumns\\": [], "virtualColumns": [],
\\"dimension\\": { "dimension": {
\\"type\\": \\"default\\", "type": "default",
\\"dimension\\": \\"channel\\", "dimension": "channel",
\\"outputName\\": \\"d0\\", "outputName": "d0",
\\"outputType\\": \\"STRING\\" "outputType": "STRING"
}, },
\\"metric\\": { "metric": {
\\"type\\": \\"dimension\\", "type": "dimension",
\\"previousStop\\": null, "previousStop": null,
\\"ordering\\": { "ordering": {
\\"type\\": \\"lexicographic\\" "type": "lexicographic"
} }
}, },
\\"threshold\\": 101, "threshold": 101,
\\"intervals\\": { "intervals": {
\\"type\\": \\"intervals\\", "type": "intervals",
\\"intervals\\": [ "intervals": [
\\"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z\\" "-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z"
] ]
}, },
\\"filter\\": null, "filter": null,
\\"granularity\\": { "granularity": {
\\"type\\": \\"all\\" "type": "all"
}, },
\\"aggregations\\": [ "aggregations": [
{ {
\\"type\\": \\"count\\", "type": "count",
\\"name\\": \\"a0\\" "name": "a0"
} }
], ],
\\"postAggregations\\": [], "postAggregations": [],
\\"context\\": {}, "context": {},
\\"descending\\": false "descending": false
}" }"
width="100%" width="100%"
wrapEnabled={false} wrapEnabled={false}

View File

@ -2,9 +2,9 @@
exports[`FlexibleQueryInput correctly formats helper HTML 1`] = ` exports[`FlexibleQueryInput correctly formats helper HTML 1`] = `
" "
<div class=\\"doc-name\\">COUNT</div> <div class="doc-name">COUNT</div>
<div class=\\"doc-syntax\\">COUNT(*)</div> <div class="doc-syntax">COUNT(*)</div>
<div class=\\"doc-description\\">Counts the number of things</div>" <div class="doc-description">Counts the number of things</div>"
`; `;
exports[`FlexibleQueryInput matches snapshot 1`] = ` exports[`FlexibleQueryInput matches snapshot 1`] = `

View File

@ -17,7 +17,7 @@ exports[`MaxTasksButton matches snapshot 1`] = `
icon="tick" icon="tick"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="6 (full cluster capacity)" text="6 (full cluster capacity)"
@ -29,7 +29,7 @@ exports[`MaxTasksButton matches snapshot 1`] = `
label="(1 controller + 1 worker)" label="(1 controller + 1 worker)"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="2" text="2"
@ -41,7 +41,7 @@ exports[`MaxTasksButton matches snapshot 1`] = `
label="(1 controller + max 2 workers)" label="(1 controller + max 2 workers)"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="3" text="3"
@ -53,7 +53,7 @@ exports[`MaxTasksButton matches snapshot 1`] = `
label="(1 controller + max 3 workers)" label="(1 controller + max 3 workers)"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="4" text="4"
@ -65,7 +65,7 @@ exports[`MaxTasksButton matches snapshot 1`] = `
label="(1 controller + max 4 workers)" label="(1 controller + max 4 workers)"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="5" text="5"
@ -76,7 +76,7 @@ exports[`MaxTasksButton matches snapshot 1`] = `
icon="blank" icon="blank"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Custom" text="Custom"
@ -88,7 +88,7 @@ exports[`MaxTasksButton matches snapshot 1`] = `
icon="flow-branch" icon="flow-branch"
label="max" label="max"
multiline={false} multiline={false}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="Task assignment" text="Task assignment"
@ -99,7 +99,7 @@ exports[`MaxTasksButton matches snapshot 1`] = `
icon="tick" icon="tick"
multiline={true} multiline={true}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={false} shouldDismissPopover={false}
text={ text={
@ -118,7 +118,7 @@ exports[`MaxTasksButton matches snapshot 1`] = `
icon="blank" icon="blank"
multiline={true} multiline={true}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={false} shouldDismissPopover={false}
text={ text={

View File

@ -35,7 +35,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
icon="tick" icon="tick"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="VARCHAR" text="VARCHAR"
@ -46,7 +46,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
icon="blank" icon="blank"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="TIMESTAMP" text="TIMESTAMP"
@ -57,7 +57,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
icon="blank" icon="blank"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="BIGINT" text="BIGINT"
@ -68,7 +68,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
icon="blank" icon="blank"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="DOUBLE" text="DOUBLE"
@ -79,7 +79,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
icon="blank" icon="blank"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="FLOAT" text="FLOAT"
@ -138,7 +138,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
icon="blank" icon="blank"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="VARCHAR" text="VARCHAR"
@ -149,7 +149,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
icon="tick" icon="tick"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="TIMESTAMP" text="TIMESTAMP"
@ -160,7 +160,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
icon="blank" icon="blank"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="BIGINT" text="BIGINT"
@ -171,7 +171,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
icon="blank" icon="blank"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="DOUBLE" text="DOUBLE"
@ -182,7 +182,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
icon="blank" icon="blank"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="FLOAT" text="FLOAT"
@ -241,7 +241,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
icon="blank" icon="blank"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="VARCHAR" text="VARCHAR"
@ -252,7 +252,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
icon="blank" icon="blank"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="TIMESTAMP" text="TIMESTAMP"
@ -263,7 +263,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
icon="tick" icon="tick"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="BIGINT" text="BIGINT"
@ -274,7 +274,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
icon="blank" icon="blank"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="DOUBLE" text="DOUBLE"
@ -285,7 +285,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
icon="blank" icon="blank"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="FLOAT" text="FLOAT"
@ -344,7 +344,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
icon="blank" icon="blank"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="VARCHAR" text="VARCHAR"
@ -355,7 +355,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
icon="blank" icon="blank"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="TIMESTAMP" text="TIMESTAMP"
@ -366,7 +366,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
icon="blank" icon="blank"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="BIGINT" text="BIGINT"
@ -377,7 +377,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
icon="tick" icon="tick"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="DOUBLE" text="DOUBLE"
@ -388,7 +388,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
icon="blank" icon="blank"
multiline={false} multiline={false}
onClick={[Function]} onClick={[Function]}
popoverProps={Object {}} popoverProps={{}}
selected={false} selected={false}
shouldDismissPopover={true} shouldDismissPopover={true}
text="FLOAT" text="FLOAT"