mirror of https://github.com/apache/druid.git
Web console: upgrade axios and follow-redirects (#16087)
* upgrade axios * upgrade jest
This commit is contained in:
parent
85ee775390
commit
8ef3eebd30
|
@ -4963,7 +4963,7 @@ license_category: binary
|
|||
module: web-console
|
||||
license_name: MIT License
|
||||
copyright: The Babel Team
|
||||
version: 7.22.5
|
||||
version: 7.22.15
|
||||
license_file_path: licenses/bin/@babel-helper-module-imports.MIT
|
||||
|
||||
---
|
||||
|
@ -5013,7 +5013,7 @@ license_category: binary
|
|||
module: web-console
|
||||
license_name: MIT License
|
||||
copyright: The Babel Team
|
||||
version: 7.23.5
|
||||
version: 7.24.0
|
||||
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"
|
||||
license_category: binary
|
||||
module: web-console
|
||||
license_name: MIT License
|
||||
copyright: Matt Zabriskie
|
||||
version: 0.26.1
|
||||
version: 1.6.7
|
||||
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"
|
||||
license_category: binary
|
||||
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"
|
||||
license_category: binary
|
||||
module: web-console
|
||||
|
@ -5769,7 +5799,7 @@ license_category: binary
|
|||
module: web-console
|
||||
license_name: MIT License
|
||||
copyright: Ruben Verborgh
|
||||
version: 1.15.1
|
||||
version: 1.15.5
|
||||
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"
|
||||
license_category: binary
|
||||
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"
|
||||
license_category: binary
|
||||
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"
|
||||
license_category: binary
|
||||
module: web-console
|
||||
|
|
|
@ -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.
|
|
@ -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
|
||||
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:
|
||||
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 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.
|
||||
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.
|
||||
|
|
|
@ -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.
|
|
@ -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.
|
|
@ -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.
|
|
@ -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.
|
|
@ -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.
|
|
@ -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.
|
|
@ -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
|
@ -72,7 +72,7 @@
|
|||
"@druid-toolkit/visuals-core": "^0.3.3",
|
||||
"@druid-toolkit/visuals-react": "^0.3.3",
|
||||
"ace-builds": "~1.4.14",
|
||||
"axios": "^0.26.1",
|
||||
"axios": "^1.6.7",
|
||||
"chronoshift": "^0.10.0",
|
||||
"classnames": "^2.2.6",
|
||||
"copy-to-clipboard": "^3.2.0",
|
||||
|
@ -84,7 +84,6 @@
|
|||
"d3-selection": "^2.0.0",
|
||||
"echarts": "^5.4.3",
|
||||
"file-saver": "^2.0.5",
|
||||
"follow-redirects": "^1.14.7",
|
||||
"fontsource-open-sans": "^3.0.9",
|
||||
"hjson": "^3.2.2",
|
||||
"json-bigint-native": "^1.2.0",
|
||||
|
@ -136,7 +135,6 @@
|
|||
"@typescript-eslint/eslint-plugin": "^5.51.0",
|
||||
"@typescript-eslint/parser": "^5.51.0",
|
||||
"autoprefixer": "^10.2.6",
|
||||
"babel-loader": "^8.2.2",
|
||||
"browserslist": "^4.16.6",
|
||||
"codecov": "^3.8.2",
|
||||
"css-loader": "^5.2.1",
|
||||
|
@ -152,7 +150,8 @@
|
|||
"file-loader": "^6.2.0",
|
||||
"fs-extra": "^8.1.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",
|
||||
"playwright-chromium": "^1.24.1",
|
||||
"postcss": "^8.3.0",
|
||||
|
@ -166,7 +165,7 @@
|
|||
"snarkdown": "^2.0.0",
|
||||
"style-loader": "^2.0.0",
|
||||
"stylelint": "^13.12.0",
|
||||
"ts-jest": "^27.1.3",
|
||||
"ts-jest": "^29.1.2",
|
||||
"ts-loader": "^9.4.2",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "^4.9.5",
|
||||
|
|
|
@ -121,7 +121,7 @@ exports[`AutoForm matches snapshot 1`] = `
|
|||
disabled={false}
|
||||
onChange={[Function]}
|
||||
placeholder=""
|
||||
values={Array []}
|
||||
values={[]}
|
||||
/>
|
||||
</Memo(FormGroupWithInfo)>
|
||||
<Memo(FormGroupWithInfo)
|
||||
|
@ -132,7 +132,7 @@ exports[`AutoForm matches snapshot 1`] = `
|
|||
onChange={[Function]}
|
||||
placeholder=""
|
||||
values={
|
||||
Array [
|
||||
[
|
||||
"Hello",
|
||||
"World",
|
||||
]
|
||||
|
|
|
@ -26,7 +26,7 @@ exports[`FormattedInput matches snapshot with escaped value 1`] = `
|
|||
<input
|
||||
class="bp4-input"
|
||||
type="text"
|
||||
value="Here are some chars \\\\t\\\\r\\\\n lol"
|
||||
value="Here are some chars \\t\\r\\n lol"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -33,7 +33,7 @@ exports[`HeaderBar matches snapshot 1`] = `
|
|||
href="#streaming-data-loader"
|
||||
icon="feed"
|
||||
multiline={false}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Streaming"
|
||||
|
@ -51,7 +51,7 @@ exports[`HeaderBar matches snapshot 1`] = `
|
|||
</Blueprint4.Tag>
|
||||
}
|
||||
multiline={false}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Batch - SQL"
|
||||
|
@ -62,7 +62,7 @@ exports[`HeaderBar matches snapshot 1`] = `
|
|||
href="#classic-batch-data-loader"
|
||||
icon="list"
|
||||
multiline={false}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Batch - classic"
|
||||
|
@ -153,7 +153,7 @@ exports[`HeaderBar matches snapshot 1`] = `
|
|||
href="#lookups"
|
||||
icon="properties"
|
||||
multiline={false}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Lookups"
|
||||
|
@ -166,7 +166,7 @@ exports[`HeaderBar matches snapshot 1`] = `
|
|||
icon="compass"
|
||||
label="(experimental)"
|
||||
multiline={false}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Explore"
|
||||
|
@ -225,7 +225,7 @@ exports[`HeaderBar matches snapshot 1`] = `
|
|||
icon="pulse"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Druid Doctor"
|
||||
|
@ -236,7 +236,7 @@ exports[`HeaderBar matches snapshot 1`] = `
|
|||
icon="settings"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Coordinator dynamic config"
|
||||
|
@ -247,7 +247,7 @@ exports[`HeaderBar matches snapshot 1`] = `
|
|||
icon="wrench"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Overlord dynamic config"
|
||||
|
@ -258,7 +258,7 @@ exports[`HeaderBar matches snapshot 1`] = `
|
|||
icon="compressed"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Compaction dynamic config"
|
||||
|
@ -269,7 +269,7 @@ exports[`HeaderBar matches snapshot 1`] = `
|
|||
disabled={false}
|
||||
icon="cog"
|
||||
multiline={false}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Console options"
|
||||
|
@ -280,7 +280,7 @@ exports[`HeaderBar matches snapshot 1`] = `
|
|||
disabled={false}
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Force Coordinator/Overlord mode"
|
||||
|
@ -290,7 +290,7 @@ exports[`HeaderBar matches snapshot 1`] = `
|
|||
disabled={false}
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Force Coordinator mode"
|
||||
|
@ -300,7 +300,7 @@ exports[`HeaderBar matches snapshot 1`] = `
|
|||
disabled={false}
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Force Overlord mode"
|
||||
|
@ -310,7 +310,7 @@ exports[`HeaderBar matches snapshot 1`] = `
|
|||
disabled={false}
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Force no management proxy mode"
|
||||
|
@ -354,7 +354,7 @@ exports[`HeaderBar matches snapshot 1`] = `
|
|||
icon="graph"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="About"
|
||||
|
@ -365,7 +365,7 @@ exports[`HeaderBar matches snapshot 1`] = `
|
|||
href="https://druid.apache.org/docs/latest"
|
||||
icon="th"
|
||||
multiline={false}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
target="_blank"
|
||||
|
@ -377,7 +377,7 @@ exports[`HeaderBar matches snapshot 1`] = `
|
|||
href="https://groups.google.com/forum/#!forum/druid-user"
|
||||
icon="user"
|
||||
multiline={false}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
target="_blank"
|
||||
|
@ -389,7 +389,7 @@ exports[`HeaderBar matches snapshot 1`] = `
|
|||
href="https://druid.apache.org/community/join-slack"
|
||||
icon="chat"
|
||||
multiline={false}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
target="_blank"
|
||||
|
@ -401,7 +401,7 @@ exports[`HeaderBar matches snapshot 1`] = `
|
|||
href="https://github.com/apache/druid"
|
||||
icon="git-branch"
|
||||
multiline={false}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
target="_blank"
|
||||
|
|
|
@ -26,7 +26,6 @@ export * from './center-message/center-message';
|
|||
export * from './clearable-input/clearable-input';
|
||||
export * from './click-to-copy/click-to-copy';
|
||||
export * from './deferred/deferred';
|
||||
export * from './deferred/deferred';
|
||||
export * from './external-link/external-link';
|
||||
export * from './fancy-tab-pane/fancy-tab-pane';
|
||||
export * from './form-group-with-info/form-group-with-info';
|
||||
|
|
|
@ -23,7 +23,7 @@ exports[`JsonCollapse matches snapshot 1`] = `
|
|||
<Blueprint4.TextArea
|
||||
readOnly={true}
|
||||
value="{
|
||||
\\"name\\": \\"test\\"
|
||||
"name": "test"
|
||||
}"
|
||||
/>
|
||||
</Blueprint4.Collapse>
|
||||
|
|
|
@ -60,7 +60,7 @@ exports[`SuggestibleInput matches snapshot with escaped value 1`] = `
|
|||
class="bp4-input"
|
||||
style="padding-right: 0px;"
|
||||
type="text"
|
||||
value="Here are some chars \\\\t\\\\r\\\\n lol"
|
||||
value="Here are some chars \\t\\r\\n lol"
|
||||
/>
|
||||
<span
|
||||
class="bp4-input-action"
|
||||
|
|
|
@ -21,7 +21,7 @@ exports[`TimedButton matches snapshot 1`] = `
|
|||
icon="selection"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="timeValue"
|
||||
|
|
|
@ -18,14 +18,14 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
|
|||
<React.Fragment>
|
||||
<AutoForm
|
||||
fields={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"defaultValue": "P1D",
|
||||
"info": <p>
|
||||
The offset for searching segments to be compacted. Strongly recommended to set for realtime dataSources.
|
||||
</p>,
|
||||
"name": "skipOffsetFromLatest",
|
||||
"suggestions": Array [
|
||||
"suggestions": [
|
||||
"PT0H",
|
||||
"PT1H",
|
||||
"P1D",
|
||||
|
@ -33,7 +33,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
|
|||
],
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"info": <p>
|
||||
For perfect rollup, you should use either
|
||||
<Unknown>
|
||||
|
@ -51,14 +51,14 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
|
|||
</p>,
|
||||
"label": "Partitioning type",
|
||||
"name": "tuningConfig.partitionsSpec.type",
|
||||
"suggestions": Array [
|
||||
"suggestions": [
|
||||
"dynamic",
|
||||
"hashed",
|
||||
"range",
|
||||
],
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": 5000000,
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
|
@ -67,7 +67,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
|
|||
"name": "tuningConfig.partitionsSpec.maxRowsPerSegment",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": 20000000,
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
|
@ -76,7 +76,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
|
|||
"name": "tuningConfig.partitionsSpec.maxTotalRows",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -118,7 +118,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
|
|||
"type": "number",
|
||||
"zeroMeansUndefined": true,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -165,7 +165,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
|
|||
"type": "number",
|
||||
"zeroMeansUndefined": true,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -190,7 +190,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
|
|||
"type": "number",
|
||||
"zeroMeansUndefined": true,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <p>
|
||||
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)",
|
||||
"type": "string-array",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <p>
|
||||
The dimension to partition on.
|
||||
|
@ -208,7 +208,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
|
|||
"required": true,
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <p>
|
||||
The dimensions to partition on.
|
||||
|
@ -217,7 +217,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
|
|||
"required": true,
|
||||
"type": "string-array",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -240,7 +240,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
|
|||
"type": "number",
|
||||
"zeroMeansUndefined": true,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -263,7 +263,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
|
|||
"type": "number",
|
||||
"zeroMeansUndefined": true,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": false,
|
||||
"defined": [Function],
|
||||
"info": <p>
|
||||
|
@ -272,7 +272,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
|
|||
"name": "tuningConfig.partitionsSpec.assumeGrouped",
|
||||
"type": "boolean",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": 1,
|
||||
"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.
|
||||
|
@ -281,7 +281,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
|
|||
"name": "tuningConfig.maxNumConcurrentSubTasks",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": -1,
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -295,7 +295,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
|
|||
"name": "tuningConfig.maxColumnsToMerge",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": 10,
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
|
@ -305,7 +305,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
|
|||
"name": "tuningConfig.totalNumMergeTasks",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"adjustment": [Function],
|
||||
"defaultValue": 1073741824,
|
||||
"hideInMore": true,
|
||||
|
@ -316,7 +316,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
|
|||
"name": "tuningConfig.splitHintSpec.maxSplitSize",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"adjustment": [Function],
|
||||
"defaultValue": 1000,
|
||||
"hideInMore": true,
|
||||
|
@ -339,10 +339,10 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (dynamic
|
|||
]
|
||||
}
|
||||
model={
|
||||
Object {
|
||||
{
|
||||
"dataSource": "test1",
|
||||
"tuningConfig": Object {
|
||||
"partitionsSpec": Object {
|
||||
"tuningConfig": {
|
||||
"partitionsSpec": {
|
||||
"type": "dynamic",
|
||||
},
|
||||
},
|
||||
|
@ -428,14 +428,14 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
|
|||
<React.Fragment>
|
||||
<AutoForm
|
||||
fields={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"defaultValue": "P1D",
|
||||
"info": <p>
|
||||
The offset for searching segments to be compacted. Strongly recommended to set for realtime dataSources.
|
||||
</p>,
|
||||
"name": "skipOffsetFromLatest",
|
||||
"suggestions": Array [
|
||||
"suggestions": [
|
||||
"PT0H",
|
||||
"PT1H",
|
||||
"P1D",
|
||||
|
@ -443,7 +443,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
|
|||
],
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"info": <p>
|
||||
For perfect rollup, you should use either
|
||||
<Unknown>
|
||||
|
@ -461,14 +461,14 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
|
|||
</p>,
|
||||
"label": "Partitioning type",
|
||||
"name": "tuningConfig.partitionsSpec.type",
|
||||
"suggestions": Array [
|
||||
"suggestions": [
|
||||
"dynamic",
|
||||
"hashed",
|
||||
"range",
|
||||
],
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": 5000000,
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
|
@ -477,7 +477,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
|
|||
"name": "tuningConfig.partitionsSpec.maxRowsPerSegment",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": 20000000,
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
|
@ -486,7 +486,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
|
|||
"name": "tuningConfig.partitionsSpec.maxTotalRows",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -528,7 +528,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
|
|||
"type": "number",
|
||||
"zeroMeansUndefined": true,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -575,7 +575,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
|
|||
"type": "number",
|
||||
"zeroMeansUndefined": true,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -600,7 +600,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
|
|||
"type": "number",
|
||||
"zeroMeansUndefined": true,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <p>
|
||||
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)",
|
||||
"type": "string-array",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <p>
|
||||
The dimension to partition on.
|
||||
|
@ -618,7 +618,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
|
|||
"required": true,
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <p>
|
||||
The dimensions to partition on.
|
||||
|
@ -627,7 +627,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
|
|||
"required": true,
|
||||
"type": "string-array",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -650,7 +650,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
|
|||
"type": "number",
|
||||
"zeroMeansUndefined": true,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -673,7 +673,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
|
|||
"type": "number",
|
||||
"zeroMeansUndefined": true,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": false,
|
||||
"defined": [Function],
|
||||
"info": <p>
|
||||
|
@ -682,7 +682,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
|
|||
"name": "tuningConfig.partitionsSpec.assumeGrouped",
|
||||
"type": "boolean",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": 1,
|
||||
"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.
|
||||
|
@ -691,7 +691,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
|
|||
"name": "tuningConfig.maxNumConcurrentSubTasks",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": -1,
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -705,7 +705,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
|
|||
"name": "tuningConfig.maxColumnsToMerge",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": 10,
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
|
@ -715,7 +715,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
|
|||
"name": "tuningConfig.totalNumMergeTasks",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"adjustment": [Function],
|
||||
"defaultValue": 1073741824,
|
||||
"hideInMore": true,
|
||||
|
@ -726,7 +726,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
|
|||
"name": "tuningConfig.splitHintSpec.maxSplitSize",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"adjustment": [Function],
|
||||
"defaultValue": 1000,
|
||||
"hideInMore": true,
|
||||
|
@ -749,10 +749,10 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (hashed p
|
|||
]
|
||||
}
|
||||
model={
|
||||
Object {
|
||||
{
|
||||
"dataSource": "test1",
|
||||
"tuningConfig": Object {
|
||||
"partitionsSpec": Object {
|
||||
"tuningConfig": {
|
||||
"partitionsSpec": {
|
||||
"type": "hashed",
|
||||
},
|
||||
},
|
||||
|
@ -838,14 +838,14 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
|
|||
<React.Fragment>
|
||||
<AutoForm
|
||||
fields={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"defaultValue": "P1D",
|
||||
"info": <p>
|
||||
The offset for searching segments to be compacted. Strongly recommended to set for realtime dataSources.
|
||||
</p>,
|
||||
"name": "skipOffsetFromLatest",
|
||||
"suggestions": Array [
|
||||
"suggestions": [
|
||||
"PT0H",
|
||||
"PT1H",
|
||||
"P1D",
|
||||
|
@ -853,7 +853,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
|
|||
],
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"info": <p>
|
||||
For perfect rollup, you should use either
|
||||
<Unknown>
|
||||
|
@ -871,14 +871,14 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
|
|||
</p>,
|
||||
"label": "Partitioning type",
|
||||
"name": "tuningConfig.partitionsSpec.type",
|
||||
"suggestions": Array [
|
||||
"suggestions": [
|
||||
"dynamic",
|
||||
"hashed",
|
||||
"range",
|
||||
],
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": 5000000,
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
|
@ -887,7 +887,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
|
|||
"name": "tuningConfig.partitionsSpec.maxRowsPerSegment",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": 20000000,
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
|
@ -896,7 +896,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
|
|||
"name": "tuningConfig.partitionsSpec.maxTotalRows",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -938,7 +938,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
|
|||
"type": "number",
|
||||
"zeroMeansUndefined": true,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -985,7 +985,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
|
|||
"type": "number",
|
||||
"zeroMeansUndefined": true,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -1010,7 +1010,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
|
|||
"type": "number",
|
||||
"zeroMeansUndefined": true,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <p>
|
||||
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)",
|
||||
"type": "string-array",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <p>
|
||||
The dimension to partition on.
|
||||
|
@ -1028,7 +1028,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
|
|||
"required": true,
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <p>
|
||||
The dimensions to partition on.
|
||||
|
@ -1037,7 +1037,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
|
|||
"required": true,
|
||||
"type": "string-array",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -1060,7 +1060,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
|
|||
"type": "number",
|
||||
"zeroMeansUndefined": true,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -1083,7 +1083,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
|
|||
"type": "number",
|
||||
"zeroMeansUndefined": true,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": false,
|
||||
"defined": [Function],
|
||||
"info": <p>
|
||||
|
@ -1092,7 +1092,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
|
|||
"name": "tuningConfig.partitionsSpec.assumeGrouped",
|
||||
"type": "boolean",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": 1,
|
||||
"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.
|
||||
|
@ -1101,7 +1101,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
|
|||
"name": "tuningConfig.maxNumConcurrentSubTasks",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": -1,
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -1115,7 +1115,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
|
|||
"name": "tuningConfig.maxColumnsToMerge",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": 10,
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
|
@ -1125,7 +1125,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
|
|||
"name": "tuningConfig.totalNumMergeTasks",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"adjustment": [Function],
|
||||
"defaultValue": 1073741824,
|
||||
"hideInMore": true,
|
||||
|
@ -1136,7 +1136,7 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
|
|||
"name": "tuningConfig.splitHintSpec.maxSplitSize",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"adjustment": [Function],
|
||||
"defaultValue": 1000,
|
||||
"hideInMore": true,
|
||||
|
@ -1159,10 +1159,10 @@ exports[`CompactionConfigDialog matches snapshot with compactionConfig (range pa
|
|||
]
|
||||
}
|
||||
model={
|
||||
Object {
|
||||
{
|
||||
"dataSource": "test1",
|
||||
"tuningConfig": Object {
|
||||
"partitionsSpec": Object {
|
||||
"tuningConfig": {
|
||||
"partitionsSpec": {
|
||||
"type": "range",
|
||||
},
|
||||
},
|
||||
|
@ -1248,14 +1248,14 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
|
|||
<React.Fragment>
|
||||
<AutoForm
|
||||
fields={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"defaultValue": "P1D",
|
||||
"info": <p>
|
||||
The offset for searching segments to be compacted. Strongly recommended to set for realtime dataSources.
|
||||
</p>,
|
||||
"name": "skipOffsetFromLatest",
|
||||
"suggestions": Array [
|
||||
"suggestions": [
|
||||
"PT0H",
|
||||
"PT1H",
|
||||
"P1D",
|
||||
|
@ -1263,7 +1263,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
|
|||
],
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"info": <p>
|
||||
For perfect rollup, you should use either
|
||||
<Unknown>
|
||||
|
@ -1281,14 +1281,14 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
|
|||
</p>,
|
||||
"label": "Partitioning type",
|
||||
"name": "tuningConfig.partitionsSpec.type",
|
||||
"suggestions": Array [
|
||||
"suggestions": [
|
||||
"dynamic",
|
||||
"hashed",
|
||||
"range",
|
||||
],
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": 5000000,
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
|
@ -1297,7 +1297,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
|
|||
"name": "tuningConfig.partitionsSpec.maxRowsPerSegment",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": 20000000,
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
|
@ -1306,7 +1306,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
|
|||
"name": "tuningConfig.partitionsSpec.maxTotalRows",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -1348,7 +1348,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
|
|||
"type": "number",
|
||||
"zeroMeansUndefined": true,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -1395,7 +1395,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
|
|||
"type": "number",
|
||||
"zeroMeansUndefined": true,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -1420,7 +1420,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
|
|||
"type": "number",
|
||||
"zeroMeansUndefined": true,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <p>
|
||||
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)",
|
||||
"type": "string-array",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <p>
|
||||
The dimension to partition on.
|
||||
|
@ -1438,7 +1438,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
|
|||
"required": true,
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <p>
|
||||
The dimensions to partition on.
|
||||
|
@ -1447,7 +1447,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
|
|||
"required": true,
|
||||
"type": "string-array",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -1470,7 +1470,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
|
|||
"type": "number",
|
||||
"zeroMeansUndefined": true,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -1493,7 +1493,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
|
|||
"type": "number",
|
||||
"zeroMeansUndefined": true,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": false,
|
||||
"defined": [Function],
|
||||
"info": <p>
|
||||
|
@ -1502,7 +1502,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
|
|||
"name": "tuningConfig.partitionsSpec.assumeGrouped",
|
||||
"type": "boolean",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": 1,
|
||||
"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.
|
||||
|
@ -1511,7 +1511,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
|
|||
"name": "tuningConfig.maxNumConcurrentSubTasks",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": -1,
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -1525,7 +1525,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
|
|||
"name": "tuningConfig.maxColumnsToMerge",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": 10,
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
|
@ -1535,7 +1535,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
|
|||
"name": "tuningConfig.totalNumMergeTasks",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"adjustment": [Function],
|
||||
"defaultValue": 1073741824,
|
||||
"hideInMore": true,
|
||||
|
@ -1546,7 +1546,7 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
|
|||
"name": "tuningConfig.splitHintSpec.maxSplitSize",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"adjustment": [Function],
|
||||
"defaultValue": 1000,
|
||||
"hideInMore": true,
|
||||
|
@ -1569,10 +1569,10 @@ exports[`CompactionConfigDialog matches snapshot without compactionConfig 1`] =
|
|||
]
|
||||
}
|
||||
model={
|
||||
Object {
|
||||
{
|
||||
"dataSource": "test1",
|
||||
"tuningConfig": Object {
|
||||
"partitionsSpec": Object {
|
||||
"tuningConfig": {
|
||||
"partitionsSpec": {
|
||||
"type": "dynamic",
|
||||
},
|
||||
},
|
||||
|
|
|
@ -28,7 +28,7 @@ exports[`DatasourceColumnsTable matches snapshot on error 1`] = `
|
|||
collapseOnPageChange={true}
|
||||
collapseOnSortingChange={true}
|
||||
column={
|
||||
Object {
|
||||
{
|
||||
"Aggregated": undefined,
|
||||
"Cell": undefined,
|
||||
"Expander": undefined,
|
||||
|
@ -44,30 +44,30 @@ exports[`DatasourceColumnsTable matches snapshot on error 1`] = `
|
|||
"filterMethod": undefined,
|
||||
"filterable": undefined,
|
||||
"footerClassName": "",
|
||||
"footerStyle": Object {},
|
||||
"footerStyle": {},
|
||||
"getFooterProps": [Function],
|
||||
"getHeaderProps": [Function],
|
||||
"getProps": [Function],
|
||||
"headerClassName": "",
|
||||
"headerStyle": Object {},
|
||||
"headerStyle": {},
|
||||
"minResizeWidth": 11,
|
||||
"minWidth": 100,
|
||||
"resizable": undefined,
|
||||
"show": true,
|
||||
"sortMethod": undefined,
|
||||
"sortable": undefined,
|
||||
"style": Object {},
|
||||
"style": {},
|
||||
}
|
||||
}
|
||||
columns={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"Header": "Column name",
|
||||
"accessor": "COLUMN_NAME",
|
||||
"className": "padded",
|
||||
"width": 300,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Header": "Data type",
|
||||
"accessor": "DATA_TYPE",
|
||||
"className": "padded",
|
||||
|
@ -75,18 +75,18 @@ exports[`DatasourceColumnsTable matches snapshot on error 1`] = `
|
|||
},
|
||||
]
|
||||
}
|
||||
data={Array []}
|
||||
defaultExpanded={Object {}}
|
||||
data={[]}
|
||||
defaultExpanded={{}}
|
||||
defaultFilterMethod={[Function]}
|
||||
defaultFiltered={Array []}
|
||||
defaultFiltered={[]}
|
||||
defaultPage={0}
|
||||
defaultPageSize={25}
|
||||
defaultResized={Array []}
|
||||
defaultResized={[]}
|
||||
defaultSortDesc={false}
|
||||
defaultSortMethod={[Function]}
|
||||
defaultSorted={Array []}
|
||||
defaultSorted={[]}
|
||||
expanderDefaults={
|
||||
Object {
|
||||
{
|
||||
"filterable": false,
|
||||
"resizable": false,
|
||||
"sortable": false,
|
||||
|
@ -130,14 +130,14 @@ exports[`DatasourceColumnsTable matches snapshot on error 1`] = `
|
|||
originalKey="_original"
|
||||
pageJumpText="jump to page"
|
||||
pageSizeOptions={
|
||||
Array [
|
||||
[
|
||||
25,
|
||||
50,
|
||||
100,
|
||||
]
|
||||
}
|
||||
pageText="Page"
|
||||
pivotDefaults={Object {}}
|
||||
pivotDefaults={{}}
|
||||
pivotIDKey="_pivotID"
|
||||
pivotValKey="_pivotVal"
|
||||
previousText="Previous"
|
||||
|
@ -151,7 +151,7 @@ exports[`DatasourceColumnsTable matches snapshot on error 1`] = `
|
|||
showPaginationBottom={true}
|
||||
showPaginationTop={false}
|
||||
sortable={true}
|
||||
style={Object {}}
|
||||
style={{}}
|
||||
subRowsKey="_subRows"
|
||||
/>
|
||||
</div>
|
||||
|
@ -185,7 +185,7 @@ exports[`DatasourceColumnsTable matches snapshot on init 1`] = `
|
|||
collapseOnPageChange={true}
|
||||
collapseOnSortingChange={true}
|
||||
column={
|
||||
Object {
|
||||
{
|
||||
"Aggregated": undefined,
|
||||
"Cell": undefined,
|
||||
"Expander": undefined,
|
||||
|
@ -201,30 +201,30 @@ exports[`DatasourceColumnsTable matches snapshot on init 1`] = `
|
|||
"filterMethod": undefined,
|
||||
"filterable": undefined,
|
||||
"footerClassName": "",
|
||||
"footerStyle": Object {},
|
||||
"footerStyle": {},
|
||||
"getFooterProps": [Function],
|
||||
"getHeaderProps": [Function],
|
||||
"getProps": [Function],
|
||||
"headerClassName": "",
|
||||
"headerStyle": Object {},
|
||||
"headerStyle": {},
|
||||
"minResizeWidth": 11,
|
||||
"minWidth": 100,
|
||||
"resizable": undefined,
|
||||
"show": true,
|
||||
"sortMethod": undefined,
|
||||
"sortable": undefined,
|
||||
"style": Object {},
|
||||
"style": {},
|
||||
}
|
||||
}
|
||||
columns={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"Header": "Column name",
|
||||
"accessor": "COLUMN_NAME",
|
||||
"className": "padded",
|
||||
"width": 300,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Header": "Data type",
|
||||
"accessor": "DATA_TYPE",
|
||||
"className": "padded",
|
||||
|
@ -232,18 +232,18 @@ exports[`DatasourceColumnsTable matches snapshot on init 1`] = `
|
|||
},
|
||||
]
|
||||
}
|
||||
data={Array []}
|
||||
defaultExpanded={Object {}}
|
||||
data={[]}
|
||||
defaultExpanded={{}}
|
||||
defaultFilterMethod={[Function]}
|
||||
defaultFiltered={Array []}
|
||||
defaultFiltered={[]}
|
||||
defaultPage={0}
|
||||
defaultPageSize={25}
|
||||
defaultResized={Array []}
|
||||
defaultResized={[]}
|
||||
defaultSortDesc={false}
|
||||
defaultSortMethod={[Function]}
|
||||
defaultSorted={Array []}
|
||||
defaultSorted={[]}
|
||||
expanderDefaults={
|
||||
Object {
|
||||
{
|
||||
"filterable": false,
|
||||
"resizable": false,
|
||||
"sortable": false,
|
||||
|
@ -287,14 +287,14 @@ exports[`DatasourceColumnsTable matches snapshot on init 1`] = `
|
|||
originalKey="_original"
|
||||
pageJumpText="jump to page"
|
||||
pageSizeOptions={
|
||||
Array [
|
||||
[
|
||||
25,
|
||||
50,
|
||||
100,
|
||||
]
|
||||
}
|
||||
pageText="Page"
|
||||
pivotDefaults={Object {}}
|
||||
pivotDefaults={{}}
|
||||
pivotIDKey="_pivotID"
|
||||
pivotValKey="_pivotVal"
|
||||
previousText="Previous"
|
||||
|
@ -308,7 +308,7 @@ exports[`DatasourceColumnsTable matches snapshot on init 1`] = `
|
|||
showPaginationBottom={true}
|
||||
showPaginationTop={false}
|
||||
sortable={true}
|
||||
style={Object {}}
|
||||
style={{}}
|
||||
subRowsKey="_subRows"
|
||||
/>
|
||||
</div>
|
||||
|
@ -350,7 +350,7 @@ exports[`DatasourceColumnsTable matches snapshot on no data 1`] = `
|
|||
collapseOnPageChange={true}
|
||||
collapseOnSortingChange={true}
|
||||
column={
|
||||
Object {
|
||||
{
|
||||
"Aggregated": undefined,
|
||||
"Cell": undefined,
|
||||
"Expander": undefined,
|
||||
|
@ -366,30 +366,30 @@ exports[`DatasourceColumnsTable matches snapshot on no data 1`] = `
|
|||
"filterMethod": undefined,
|
||||
"filterable": undefined,
|
||||
"footerClassName": "",
|
||||
"footerStyle": Object {},
|
||||
"footerStyle": {},
|
||||
"getFooterProps": [Function],
|
||||
"getHeaderProps": [Function],
|
||||
"getProps": [Function],
|
||||
"headerClassName": "",
|
||||
"headerStyle": Object {},
|
||||
"headerStyle": {},
|
||||
"minResizeWidth": 11,
|
||||
"minWidth": 100,
|
||||
"resizable": undefined,
|
||||
"show": true,
|
||||
"sortMethod": undefined,
|
||||
"sortable": undefined,
|
||||
"style": Object {},
|
||||
"style": {},
|
||||
}
|
||||
}
|
||||
columns={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"Header": "Column name",
|
||||
"accessor": "COLUMN_NAME",
|
||||
"className": "padded",
|
||||
"width": 300,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Header": "Data type",
|
||||
"accessor": "DATA_TYPE",
|
||||
"className": "padded",
|
||||
|
@ -397,18 +397,18 @@ exports[`DatasourceColumnsTable matches snapshot on no data 1`] = `
|
|||
},
|
||||
]
|
||||
}
|
||||
data={Array []}
|
||||
defaultExpanded={Object {}}
|
||||
data={[]}
|
||||
defaultExpanded={{}}
|
||||
defaultFilterMethod={[Function]}
|
||||
defaultFiltered={Array []}
|
||||
defaultFiltered={[]}
|
||||
defaultPage={0}
|
||||
defaultPageSize={25}
|
||||
defaultResized={Array []}
|
||||
defaultResized={[]}
|
||||
defaultSortDesc={false}
|
||||
defaultSortMethod={[Function]}
|
||||
defaultSorted={Array []}
|
||||
defaultSorted={[]}
|
||||
expanderDefaults={
|
||||
Object {
|
||||
{
|
||||
"filterable": false,
|
||||
"resizable": false,
|
||||
"sortable": false,
|
||||
|
@ -452,14 +452,14 @@ exports[`DatasourceColumnsTable matches snapshot on no data 1`] = `
|
|||
originalKey="_original"
|
||||
pageJumpText="jump to page"
|
||||
pageSizeOptions={
|
||||
Array [
|
||||
[
|
||||
25,
|
||||
50,
|
||||
100,
|
||||
]
|
||||
}
|
||||
pageText="Page"
|
||||
pivotDefaults={Object {}}
|
||||
pivotDefaults={{}}
|
||||
pivotIDKey="_pivotID"
|
||||
pivotValKey="_pivotVal"
|
||||
previousText="Previous"
|
||||
|
@ -473,7 +473,7 @@ exports[`DatasourceColumnsTable matches snapshot on no data 1`] = `
|
|||
showPaginationBottom={true}
|
||||
showPaginationTop={false}
|
||||
sortable={true}
|
||||
style={Object {}}
|
||||
style={{}}
|
||||
subRowsKey="_subRows"
|
||||
/>
|
||||
</div>
|
||||
|
@ -507,7 +507,7 @@ exports[`DatasourceColumnsTable matches snapshot on some data 1`] = `
|
|||
collapseOnPageChange={true}
|
||||
collapseOnSortingChange={true}
|
||||
column={
|
||||
Object {
|
||||
{
|
||||
"Aggregated": undefined,
|
||||
"Cell": undefined,
|
||||
"Expander": undefined,
|
||||
|
@ -523,30 +523,30 @@ exports[`DatasourceColumnsTable matches snapshot on some data 1`] = `
|
|||
"filterMethod": undefined,
|
||||
"filterable": undefined,
|
||||
"footerClassName": "",
|
||||
"footerStyle": Object {},
|
||||
"footerStyle": {},
|
||||
"getFooterProps": [Function],
|
||||
"getHeaderProps": [Function],
|
||||
"getProps": [Function],
|
||||
"headerClassName": "",
|
||||
"headerStyle": Object {},
|
||||
"headerStyle": {},
|
||||
"minResizeWidth": 11,
|
||||
"minWidth": 100,
|
||||
"resizable": undefined,
|
||||
"show": true,
|
||||
"sortMethod": undefined,
|
||||
"sortable": undefined,
|
||||
"style": Object {},
|
||||
"style": {},
|
||||
}
|
||||
}
|
||||
columns={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"Header": "Column name",
|
||||
"accessor": "COLUMN_NAME",
|
||||
"className": "padded",
|
||||
"width": 300,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Header": "Data type",
|
||||
"accessor": "DATA_TYPE",
|
||||
"className": "padded",
|
||||
|
@ -555,28 +555,28 @@ exports[`DatasourceColumnsTable matches snapshot on some data 1`] = `
|
|||
]
|
||||
}
|
||||
data={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"COLUMN_NAME": "channel",
|
||||
"DATA_TYPE": "VARCHAR",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"COLUMN_NAME": "page",
|
||||
"DATA_TYPE": "VARCHAR",
|
||||
},
|
||||
]
|
||||
}
|
||||
defaultExpanded={Object {}}
|
||||
defaultExpanded={{}}
|
||||
defaultFilterMethod={[Function]}
|
||||
defaultFiltered={Array []}
|
||||
defaultFiltered={[]}
|
||||
defaultPage={0}
|
||||
defaultPageSize={25}
|
||||
defaultResized={Array []}
|
||||
defaultResized={[]}
|
||||
defaultSortDesc={false}
|
||||
defaultSortMethod={[Function]}
|
||||
defaultSorted={Array []}
|
||||
defaultSorted={[]}
|
||||
expanderDefaults={
|
||||
Object {
|
||||
{
|
||||
"filterable": false,
|
||||
"resizable": false,
|
||||
"sortable": false,
|
||||
|
@ -620,14 +620,14 @@ exports[`DatasourceColumnsTable matches snapshot on some data 1`] = `
|
|||
originalKey="_original"
|
||||
pageJumpText="jump to page"
|
||||
pageSizeOptions={
|
||||
Array [
|
||||
[
|
||||
25,
|
||||
50,
|
||||
100,
|
||||
]
|
||||
}
|
||||
pageText="Page"
|
||||
pivotDefaults={Object {}}
|
||||
pivotDefaults={{}}
|
||||
pivotIDKey="_pivotID"
|
||||
pivotValKey="_pivotVal"
|
||||
previousText="Previous"
|
||||
|
@ -641,7 +641,7 @@ exports[`DatasourceColumnsTable matches snapshot on some data 1`] = `
|
|||
showPaginationBottom={true}
|
||||
showPaginationTop={false}
|
||||
sortable={true}
|
||||
style={Object {}}
|
||||
style={{}}
|
||||
subRowsKey="_subRows"
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -17,21 +17,21 @@ exports[`IndexSpecDialog matches snapshot with indexSpec 1`] = `
|
|||
>
|
||||
<AutoForm
|
||||
fields={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"defaultValue": "utf8",
|
||||
"info": <React.Fragment>
|
||||
Encoding format for STRING value dictionaries used by STRING and COMPLEX<json> columns.
|
||||
</React.Fragment>,
|
||||
"label": "String dictionary encoding",
|
||||
"name": "stringDictionaryEncoding.type",
|
||||
"suggestions": Array [
|
||||
"suggestions": [
|
||||
"utf8",
|
||||
"frontCoded",
|
||||
],
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": 4,
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
|
@ -43,26 +43,26 @@ exports[`IndexSpecDialog matches snapshot with indexSpec 1`] = `
|
|||
"name": "stringDictionaryEncoding.bucketSize",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": "roaring",
|
||||
"info": <React.Fragment>
|
||||
Compression format for bitmap indexes.
|
||||
</React.Fragment>,
|
||||
"label": "Bitmap type",
|
||||
"name": "bitmap.type",
|
||||
"suggestions": Array [
|
||||
"suggestions": [
|
||||
"roaring",
|
||||
"concise",
|
||||
],
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": "lz4",
|
||||
"info": <React.Fragment>
|
||||
Compression format for dimension columns.
|
||||
</React.Fragment>,
|
||||
"name": "dimensionCompression",
|
||||
"suggestions": Array [
|
||||
"suggestions": [
|
||||
"lz4",
|
||||
"lzf",
|
||||
"zstd",
|
||||
|
@ -70,7 +70,7 @@ exports[`IndexSpecDialog matches snapshot with indexSpec 1`] = `
|
|||
],
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": "longs",
|
||||
"info": <React.Fragment>
|
||||
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.
|
||||
</React.Fragment>,
|
||||
"name": "longEncoding",
|
||||
"suggestions": Array [
|
||||
"suggestions": [
|
||||
"longs",
|
||||
"auto",
|
||||
],
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": "lz4",
|
||||
"info": <React.Fragment>
|
||||
Compression format for primitive type metric columns.
|
||||
</React.Fragment>,
|
||||
"name": "metricCompression",
|
||||
"suggestions": Array [
|
||||
"suggestions": [
|
||||
"lz4",
|
||||
"lzf",
|
||||
"zstd",
|
||||
|
@ -104,14 +104,14 @@ exports[`IndexSpecDialog matches snapshot with indexSpec 1`] = `
|
|||
],
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": "lz4",
|
||||
"info": <React.Fragment>
|
||||
Compression format to use for nested column raw data.
|
||||
</React.Fragment>,
|
||||
"label": "JSON compression",
|
||||
"name": "jsonCompression",
|
||||
"suggestions": Array [
|
||||
"suggestions": [
|
||||
"lz4",
|
||||
"lzf",
|
||||
"zstd",
|
||||
|
@ -122,7 +122,7 @@ exports[`IndexSpecDialog matches snapshot with indexSpec 1`] = `
|
|||
]
|
||||
}
|
||||
model={
|
||||
Object {
|
||||
{
|
||||
"dimensionCompression": "lzf",
|
||||
}
|
||||
}
|
||||
|
@ -167,21 +167,21 @@ exports[`IndexSpecDialog matches snapshot without compactionConfig 1`] = `
|
|||
>
|
||||
<AutoForm
|
||||
fields={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"defaultValue": "utf8",
|
||||
"info": <React.Fragment>
|
||||
Encoding format for STRING value dictionaries used by STRING and COMPLEX<json> columns.
|
||||
</React.Fragment>,
|
||||
"label": "String dictionary encoding",
|
||||
"name": "stringDictionaryEncoding.type",
|
||||
"suggestions": Array [
|
||||
"suggestions": [
|
||||
"utf8",
|
||||
"frontCoded",
|
||||
],
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": 4,
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
|
@ -193,26 +193,26 @@ exports[`IndexSpecDialog matches snapshot without compactionConfig 1`] = `
|
|||
"name": "stringDictionaryEncoding.bucketSize",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": "roaring",
|
||||
"info": <React.Fragment>
|
||||
Compression format for bitmap indexes.
|
||||
</React.Fragment>,
|
||||
"label": "Bitmap type",
|
||||
"name": "bitmap.type",
|
||||
"suggestions": Array [
|
||||
"suggestions": [
|
||||
"roaring",
|
||||
"concise",
|
||||
],
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": "lz4",
|
||||
"info": <React.Fragment>
|
||||
Compression format for dimension columns.
|
||||
</React.Fragment>,
|
||||
"name": "dimensionCompression",
|
||||
"suggestions": Array [
|
||||
"suggestions": [
|
||||
"lz4",
|
||||
"lzf",
|
||||
"zstd",
|
||||
|
@ -220,7 +220,7 @@ exports[`IndexSpecDialog matches snapshot without compactionConfig 1`] = `
|
|||
],
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": "longs",
|
||||
"info": <React.Fragment>
|
||||
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.
|
||||
</React.Fragment>,
|
||||
"name": "longEncoding",
|
||||
"suggestions": Array [
|
||||
"suggestions": [
|
||||
"longs",
|
||||
"auto",
|
||||
],
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": "lz4",
|
||||
"info": <React.Fragment>
|
||||
Compression format for primitive type metric columns.
|
||||
</React.Fragment>,
|
||||
"name": "metricCompression",
|
||||
"suggestions": Array [
|
||||
"suggestions": [
|
||||
"lz4",
|
||||
"lzf",
|
||||
"zstd",
|
||||
|
@ -254,14 +254,14 @@ exports[`IndexSpecDialog matches snapshot without compactionConfig 1`] = `
|
|||
],
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": "lz4",
|
||||
"info": <React.Fragment>
|
||||
Compression format to use for nested column raw data.
|
||||
</React.Fragment>,
|
||||
"label": "JSON compression",
|
||||
"name": "jsonCompression",
|
||||
"suggestions": Array [
|
||||
"suggestions": [
|
||||
"lz4",
|
||||
"lzf",
|
||||
"zstd",
|
||||
|
@ -271,7 +271,7 @@ exports[`IndexSpecDialog matches snapshot without compactionConfig 1`] = `
|
|||
},
|
||||
]
|
||||
}
|
||||
model={Object {}}
|
||||
model={{}}
|
||||
onChange={[Function]}
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -64,19 +64,19 @@ exports[`LookupEditDialog matches snapshot 1`] = `
|
|||
/>
|
||||
<AutoForm
|
||||
fields={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"adjustment": [Function],
|
||||
"name": "type",
|
||||
"required": true,
|
||||
"suggestions": Array [
|
||||
"suggestions": [
|
||||
"map",
|
||||
"cachedNamespace",
|
||||
"kafka",
|
||||
],
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"height": "60vh",
|
||||
"issueWithValue": [Function],
|
||||
|
@ -84,19 +84,19 @@ exports[`LookupEditDialog matches snapshot 1`] = `
|
|||
"required": true,
|
||||
"type": "json",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"label": "Extraction type",
|
||||
"name": "extractionNamespace.type",
|
||||
"placeholder": "uri",
|
||||
"required": true,
|
||||
"suggestions": Array [
|
||||
"suggestions": [
|
||||
"uri",
|
||||
"jdbc",
|
||||
],
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <p>
|
||||
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],
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -159,7 +159,7 @@ exports[`LookupEditDialog matches snapshot 1`] = `
|
|||
"required": [Function],
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": ".*",
|
||||
"defined": [Function],
|
||||
"info": "Optional regex for matching the file name under uriPrefix.",
|
||||
|
@ -167,7 +167,7 @@ exports[`LookupEditDialog matches snapshot 1`] = `
|
|||
"name": "extractionNamespace.fileRegex",
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -184,7 +184,7 @@ exports[`LookupEditDialog matches snapshot 1`] = `
|
|||
"label": "Parse format",
|
||||
"name": "extractionNamespace.namespaceParseSpec.format",
|
||||
"required": true,
|
||||
"suggestions": Array [
|
||||
"suggestions": [
|
||||
"csv",
|
||||
"tsv",
|
||||
"simpleJson",
|
||||
|
@ -192,11 +192,11 @@ exports[`LookupEditDialog matches snapshot 1`] = `
|
|||
],
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": " ",
|
||||
"defined": [Function],
|
||||
"name": "extractionNamespace.namespaceParseSpec.delimiter",
|
||||
"suggestions": Array [
|
||||
"suggestions": [
|
||||
" ",
|
||||
";",
|
||||
"|",
|
||||
|
@ -204,21 +204,21 @@ exports[`LookupEditDialog matches snapshot 1`] = `
|
|||
],
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": 0,
|
||||
"defined": [Function],
|
||||
"info": "Number of header rows to be skipped.",
|
||||
"name": "extractionNamespace.namespaceParseSpec.skipHeaderRows",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": false,
|
||||
"defined": [Function],
|
||||
"info": "A flag to indicate that column information can be extracted from the input files' header row",
|
||||
"name": "extractionNamespace.namespaceParseSpec.hasHeaderRow",
|
||||
"type": "boolean",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": "The list of columns in the csv file",
|
||||
"name": "extractionNamespace.namespaceParseSpec.columns",
|
||||
|
@ -226,35 +226,35 @@ exports[`LookupEditDialog matches snapshot 1`] = `
|
|||
"required": [Function],
|
||||
"type": "string-array",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": "The name of the column containing the key",
|
||||
"name": "extractionNamespace.namespaceParseSpec.keyColumn",
|
||||
"placeholder": "(optional - defaults to the first column)",
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": "The name of the column containing the value",
|
||||
"name": "extractionNamespace.namespaceParseSpec.valueColumn",
|
||||
"placeholder": "(optional - defaults to the second column)",
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"name": "extractionNamespace.namespaceParseSpec.keyFieldName",
|
||||
"placeholder": "key",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"name": "extractionNamespace.namespaceParseSpec.valueFieldName",
|
||||
"placeholder": "value",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": "Defines the connectURI for connecting to the database",
|
||||
"issueWithValue": [Function],
|
||||
|
@ -263,19 +263,19 @@ exports[`LookupEditDialog matches snapshot 1`] = `
|
|||
"required": true,
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": "Defines the user to be used by the connector config",
|
||||
"name": "extractionNamespace.connectorConfig.user",
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": "Defines the password to be used by the connector config",
|
||||
"name": "extractionNamespace.connectorConfig.password",
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -294,7 +294,7 @@ exports[`LookupEditDialog matches snapshot 1`] = `
|
|||
"required": true,
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -313,7 +313,7 @@ exports[`LookupEditDialog matches snapshot 1`] = `
|
|||
"required": true,
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -332,7 +332,7 @@ exports[`LookupEditDialog matches snapshot 1`] = `
|
|||
"required": true,
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -351,7 +351,7 @@ exports[`LookupEditDialog matches snapshot 1`] = `
|
|||
"placeholder": "timestamp_column (optional)",
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": <React.Fragment>
|
||||
<p>
|
||||
|
@ -368,12 +368,12 @@ exports[`LookupEditDialog matches snapshot 1`] = `
|
|||
"placeholder": "for_lookup = 1 (optional)",
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": "Period between polling for updates",
|
||||
"name": "extractionNamespace.pollPeriod",
|
||||
"required": true,
|
||||
"suggestions": Array [
|
||||
"suggestions": [
|
||||
"PT1M",
|
||||
"PT10M",
|
||||
"PT30M",
|
||||
|
@ -383,55 +383,55 @@ exports[`LookupEditDialog matches snapshot 1`] = `
|
|||
],
|
||||
"type": "duration",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": 0,
|
||||
"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.",
|
||||
"name": "extractionNamespace.jitterSeconds",
|
||||
"required": false,
|
||||
"suggestions": Array [],
|
||||
"suggestions": [],
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": 60,
|
||||
"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.",
|
||||
"name": "extractionNamespace.loadTimeoutSeconds",
|
||||
"required": false,
|
||||
"suggestions": Array [],
|
||||
"suggestions": [],
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": 10,
|
||||
"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.",
|
||||
"name": "extractionNamespace.maxHeapPercentage",
|
||||
"required": false,
|
||||
"suggestions": Array [],
|
||||
"suggestions": [],
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": 0,
|
||||
"defined": [Function],
|
||||
"info": "How long to wait (in ms) for the first run of the cache to populate. 0 indicates to not wait",
|
||||
"name": "firstCacheTimeout",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": false,
|
||||
"defined": [Function],
|
||||
"info": "If the underlying map is injective (keys and values are unique) then optimizations can occur internally by setting this to true",
|
||||
"name": "injective",
|
||||
"type": "boolean",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"info": "The Kafka topic to read the data from",
|
||||
"name": "kafkaTopic",
|
||||
"required": true,
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defined": [Function],
|
||||
"height": "100px",
|
||||
"issueWithValue": [Function],
|
||||
|
@ -439,14 +439,14 @@ exports[`LookupEditDialog matches snapshot 1`] = `
|
|||
"required": true,
|
||||
"type": "json",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": 0,
|
||||
"defined": [Function],
|
||||
"info": "How long to wait for an initial connection",
|
||||
"name": "connectTimeout",
|
||||
"type": "number",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"defaultValue": false,
|
||||
"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",
|
||||
|
@ -456,8 +456,8 @@ exports[`LookupEditDialog matches snapshot 1`] = `
|
|||
]
|
||||
}
|
||||
model={
|
||||
Object {
|
||||
"map": Object {
|
||||
{
|
||||
"map": {
|
||||
"a": 1,
|
||||
},
|
||||
"type": "map",
|
||||
|
|
|
@ -45,7 +45,7 @@ exports[`SupervisorStatisticsTable matches snapshot on error 1`] = `
|
|||
collapseOnPageChange={true}
|
||||
collapseOnSortingChange={true}
|
||||
column={
|
||||
Object {
|
||||
{
|
||||
"Aggregated": undefined,
|
||||
"Cell": undefined,
|
||||
"Expander": undefined,
|
||||
|
@ -61,31 +61,31 @@ exports[`SupervisorStatisticsTable matches snapshot on error 1`] = `
|
|||
"filterMethod": undefined,
|
||||
"filterable": undefined,
|
||||
"footerClassName": "",
|
||||
"footerStyle": Object {},
|
||||
"footerStyle": {},
|
||||
"getFooterProps": [Function],
|
||||
"getHeaderProps": [Function],
|
||||
"getProps": [Function],
|
||||
"headerClassName": "",
|
||||
"headerStyle": Object {},
|
||||
"headerStyle": {},
|
||||
"minResizeWidth": 11,
|
||||
"minWidth": 100,
|
||||
"resizable": undefined,
|
||||
"show": true,
|
||||
"sortMethod": undefined,
|
||||
"sortable": undefined,
|
||||
"style": Object {},
|
||||
"style": {},
|
||||
}
|
||||
}
|
||||
columns={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"Header": "Task ID",
|
||||
"accessor": [Function],
|
||||
"className": "padded",
|
||||
"id": "task_id",
|
||||
"width": 400,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Totals",
|
||||
"accessor": [Function],
|
||||
|
@ -95,18 +95,18 @@ exports[`SupervisorStatisticsTable matches snapshot on error 1`] = `
|
|||
},
|
||||
]
|
||||
}
|
||||
data={Array []}
|
||||
defaultExpanded={Object {}}
|
||||
data={[]}
|
||||
defaultExpanded={{}}
|
||||
defaultFilterMethod={[Function]}
|
||||
defaultFiltered={Array []}
|
||||
defaultFiltered={[]}
|
||||
defaultPage={0}
|
||||
defaultPageSize={25}
|
||||
defaultResized={Array []}
|
||||
defaultResized={[]}
|
||||
defaultSortDesc={false}
|
||||
defaultSortMethod={[Function]}
|
||||
defaultSorted={Array []}
|
||||
defaultSorted={[]}
|
||||
expanderDefaults={
|
||||
Object {
|
||||
{
|
||||
"filterable": false,
|
||||
"resizable": false,
|
||||
"sortable": false,
|
||||
|
@ -150,14 +150,14 @@ exports[`SupervisorStatisticsTable matches snapshot on error 1`] = `
|
|||
originalKey="_original"
|
||||
pageJumpText="jump to page"
|
||||
pageSizeOptions={
|
||||
Array [
|
||||
[
|
||||
25,
|
||||
50,
|
||||
100,
|
||||
]
|
||||
}
|
||||
pageText="Page"
|
||||
pivotDefaults={Object {}}
|
||||
pivotDefaults={{}}
|
||||
pivotIDKey="_pivotID"
|
||||
pivotValKey="_pivotVal"
|
||||
previousText="Previous"
|
||||
|
@ -171,7 +171,7 @@ exports[`SupervisorStatisticsTable matches snapshot on error 1`] = `
|
|||
showPaginationBottom={true}
|
||||
showPaginationTop={false}
|
||||
sortable={true}
|
||||
style={Object {}}
|
||||
style={{}}
|
||||
subRowsKey="_subRows"
|
||||
/>
|
||||
</div>
|
||||
|
@ -223,7 +223,7 @@ exports[`SupervisorStatisticsTable matches snapshot on init 1`] = `
|
|||
collapseOnPageChange={true}
|
||||
collapseOnSortingChange={true}
|
||||
column={
|
||||
Object {
|
||||
{
|
||||
"Aggregated": undefined,
|
||||
"Cell": undefined,
|
||||
"Expander": undefined,
|
||||
|
@ -239,31 +239,31 @@ exports[`SupervisorStatisticsTable matches snapshot on init 1`] = `
|
|||
"filterMethod": undefined,
|
||||
"filterable": undefined,
|
||||
"footerClassName": "",
|
||||
"footerStyle": Object {},
|
||||
"footerStyle": {},
|
||||
"getFooterProps": [Function],
|
||||
"getHeaderProps": [Function],
|
||||
"getProps": [Function],
|
||||
"headerClassName": "",
|
||||
"headerStyle": Object {},
|
||||
"headerStyle": {},
|
||||
"minResizeWidth": 11,
|
||||
"minWidth": 100,
|
||||
"resizable": undefined,
|
||||
"show": true,
|
||||
"sortMethod": undefined,
|
||||
"sortable": undefined,
|
||||
"style": Object {},
|
||||
"style": {},
|
||||
}
|
||||
}
|
||||
columns={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"Header": "Task ID",
|
||||
"accessor": [Function],
|
||||
"className": "padded",
|
||||
"id": "task_id",
|
||||
"width": 400,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Totals",
|
||||
"accessor": [Function],
|
||||
|
@ -273,18 +273,18 @@ exports[`SupervisorStatisticsTable matches snapshot on init 1`] = `
|
|||
},
|
||||
]
|
||||
}
|
||||
data={Array []}
|
||||
defaultExpanded={Object {}}
|
||||
data={[]}
|
||||
defaultExpanded={{}}
|
||||
defaultFilterMethod={[Function]}
|
||||
defaultFiltered={Array []}
|
||||
defaultFiltered={[]}
|
||||
defaultPage={0}
|
||||
defaultPageSize={25}
|
||||
defaultResized={Array []}
|
||||
defaultResized={[]}
|
||||
defaultSortDesc={false}
|
||||
defaultSortMethod={[Function]}
|
||||
defaultSorted={Array []}
|
||||
defaultSorted={[]}
|
||||
expanderDefaults={
|
||||
Object {
|
||||
{
|
||||
"filterable": false,
|
||||
"resizable": false,
|
||||
"sortable": false,
|
||||
|
@ -328,14 +328,14 @@ exports[`SupervisorStatisticsTable matches snapshot on init 1`] = `
|
|||
originalKey="_original"
|
||||
pageJumpText="jump to page"
|
||||
pageSizeOptions={
|
||||
Array [
|
||||
[
|
||||
25,
|
||||
50,
|
||||
100,
|
||||
]
|
||||
}
|
||||
pageText="Page"
|
||||
pivotDefaults={Object {}}
|
||||
pivotDefaults={{}}
|
||||
pivotIDKey="_pivotID"
|
||||
pivotValKey="_pivotVal"
|
||||
previousText="Previous"
|
||||
|
@ -349,7 +349,7 @@ exports[`SupervisorStatisticsTable matches snapshot on init 1`] = `
|
|||
showPaginationBottom={true}
|
||||
showPaginationTop={false}
|
||||
sortable={true}
|
||||
style={Object {}}
|
||||
style={{}}
|
||||
subRowsKey="_subRows"
|
||||
/>
|
||||
</div>
|
||||
|
@ -427,7 +427,7 @@ exports[`SupervisorStatisticsTable matches snapshot on no data 1`] = `
|
|||
collapseOnPageChange={true}
|
||||
collapseOnSortingChange={true}
|
||||
column={
|
||||
Object {
|
||||
{
|
||||
"Aggregated": undefined,
|
||||
"Cell": undefined,
|
||||
"Expander": undefined,
|
||||
|
@ -443,31 +443,31 @@ exports[`SupervisorStatisticsTable matches snapshot on no data 1`] = `
|
|||
"filterMethod": undefined,
|
||||
"filterable": undefined,
|
||||
"footerClassName": "",
|
||||
"footerStyle": Object {},
|
||||
"footerStyle": {},
|
||||
"getFooterProps": [Function],
|
||||
"getHeaderProps": [Function],
|
||||
"getProps": [Function],
|
||||
"headerClassName": "",
|
||||
"headerStyle": Object {},
|
||||
"headerStyle": {},
|
||||
"minResizeWidth": 11,
|
||||
"minWidth": 100,
|
||||
"resizable": undefined,
|
||||
"show": true,
|
||||
"sortMethod": undefined,
|
||||
"sortable": undefined,
|
||||
"style": Object {},
|
||||
"style": {},
|
||||
}
|
||||
}
|
||||
columns={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"Header": "Task ID",
|
||||
"accessor": [Function],
|
||||
"className": "padded",
|
||||
"id": "task_id",
|
||||
"width": 400,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Totals",
|
||||
"accessor": [Function],
|
||||
|
@ -477,18 +477,18 @@ exports[`SupervisorStatisticsTable matches snapshot on no data 1`] = `
|
|||
},
|
||||
]
|
||||
}
|
||||
data={Array []}
|
||||
defaultExpanded={Object {}}
|
||||
data={[]}
|
||||
defaultExpanded={{}}
|
||||
defaultFilterMethod={[Function]}
|
||||
defaultFiltered={Array []}
|
||||
defaultFiltered={[]}
|
||||
defaultPage={0}
|
||||
defaultPageSize={25}
|
||||
defaultResized={Array []}
|
||||
defaultResized={[]}
|
||||
defaultSortDesc={false}
|
||||
defaultSortMethod={[Function]}
|
||||
defaultSorted={Array []}
|
||||
defaultSorted={[]}
|
||||
expanderDefaults={
|
||||
Object {
|
||||
{
|
||||
"filterable": false,
|
||||
"resizable": false,
|
||||
"sortable": false,
|
||||
|
@ -532,14 +532,14 @@ exports[`SupervisorStatisticsTable matches snapshot on no data 1`] = `
|
|||
originalKey="_original"
|
||||
pageJumpText="jump to page"
|
||||
pageSizeOptions={
|
||||
Array [
|
||||
[
|
||||
25,
|
||||
50,
|
||||
100,
|
||||
]
|
||||
}
|
||||
pageText="Page"
|
||||
pivotDefaults={Object {}}
|
||||
pivotDefaults={{}}
|
||||
pivotIDKey="_pivotID"
|
||||
pivotValKey="_pivotVal"
|
||||
previousText="Previous"
|
||||
|
@ -553,7 +553,7 @@ exports[`SupervisorStatisticsTable matches snapshot on no data 1`] = `
|
|||
showPaginationBottom={true}
|
||||
showPaginationTop={false}
|
||||
sortable={true}
|
||||
style={Object {}}
|
||||
style={{}}
|
||||
subRowsKey="_subRows"
|
||||
/>
|
||||
</div>
|
||||
|
@ -605,7 +605,7 @@ exports[`SupervisorStatisticsTable matches snapshot on some data 1`] = `
|
|||
collapseOnPageChange={true}
|
||||
collapseOnSortingChange={true}
|
||||
column={
|
||||
Object {
|
||||
{
|
||||
"Aggregated": undefined,
|
||||
"Cell": undefined,
|
||||
"Expander": undefined,
|
||||
|
@ -621,31 +621,31 @@ exports[`SupervisorStatisticsTable matches snapshot on some data 1`] = `
|
|||
"filterMethod": undefined,
|
||||
"filterable": undefined,
|
||||
"footerClassName": "",
|
||||
"footerStyle": Object {},
|
||||
"footerStyle": {},
|
||||
"getFooterProps": [Function],
|
||||
"getHeaderProps": [Function],
|
||||
"getProps": [Function],
|
||||
"headerClassName": "",
|
||||
"headerStyle": Object {},
|
||||
"headerStyle": {},
|
||||
"minResizeWidth": 11,
|
||||
"minWidth": 100,
|
||||
"resizable": undefined,
|
||||
"show": true,
|
||||
"sortMethod": undefined,
|
||||
"sortable": undefined,
|
||||
"style": Object {},
|
||||
"style": {},
|
||||
}
|
||||
}
|
||||
columns={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"Header": "Task ID",
|
||||
"accessor": [Function],
|
||||
"className": "padded",
|
||||
"id": "task_id",
|
||||
"width": 400,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Totals",
|
||||
"accessor": [Function],
|
||||
|
@ -653,7 +653,7 @@ exports[`SupervisorStatisticsTable matches snapshot on some data 1`] = `
|
|||
"id": "total",
|
||||
"width": 200,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "1m",
|
||||
"accessor": [Function],
|
||||
|
@ -661,7 +661,7 @@ exports[`SupervisorStatisticsTable matches snapshot on some data 1`] = `
|
|||
"id": "1m",
|
||||
"width": 200,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "5m",
|
||||
"accessor": [Function],
|
||||
|
@ -669,7 +669,7 @@ exports[`SupervisorStatisticsTable matches snapshot on some data 1`] = `
|
|||
"id": "5m",
|
||||
"width": 200,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "15m",
|
||||
"accessor": [Function],
|
||||
|
@ -680,24 +680,24 @@ exports[`SupervisorStatisticsTable matches snapshot on some data 1`] = `
|
|||
]
|
||||
}
|
||||
data={
|
||||
Array [
|
||||
Object {
|
||||
"summary": Object {
|
||||
"movingAverages": Object {
|
||||
"buildSegments": Object {
|
||||
"15m": Object {
|
||||
[
|
||||
{
|
||||
"summary": {
|
||||
"movingAverages": {
|
||||
"buildSegments": {
|
||||
"15m": {
|
||||
"processed": 5.544749689510444,
|
||||
"processedWithError": 0,
|
||||
"thrownAway": 0,
|
||||
"unparseable": 0,
|
||||
},
|
||||
"1m": Object {
|
||||
"1m": {
|
||||
"processed": 4.593670088770785,
|
||||
"processedWithError": 0,
|
||||
"thrownAway": 0,
|
||||
"unparseable": 0,
|
||||
},
|
||||
"5m": Object {
|
||||
"5m": {
|
||||
"processed": 3.5455993615040584,
|
||||
"processedWithError": 0,
|
||||
"thrownAway": 0,
|
||||
|
@ -705,8 +705,8 @@ exports[`SupervisorStatisticsTable matches snapshot on some data 1`] = `
|
|||
},
|
||||
},
|
||||
},
|
||||
"totals": Object {
|
||||
"buildSegments": Object {
|
||||
"totals": {
|
||||
"buildSegments": {
|
||||
"processed": 7516,
|
||||
"processedWithError": 0,
|
||||
"thrownAway": 0,
|
||||
|
@ -718,17 +718,17 @@ exports[`SupervisorStatisticsTable matches snapshot on some data 1`] = `
|
|||
},
|
||||
]
|
||||
}
|
||||
defaultExpanded={Object {}}
|
||||
defaultExpanded={{}}
|
||||
defaultFilterMethod={[Function]}
|
||||
defaultFiltered={Array []}
|
||||
defaultFiltered={[]}
|
||||
defaultPage={0}
|
||||
defaultPageSize={25}
|
||||
defaultResized={Array []}
|
||||
defaultResized={[]}
|
||||
defaultSortDesc={false}
|
||||
defaultSortMethod={[Function]}
|
||||
defaultSorted={Array []}
|
||||
defaultSorted={[]}
|
||||
expanderDefaults={
|
||||
Object {
|
||||
{
|
||||
"filterable": false,
|
||||
"resizable": false,
|
||||
"sortable": false,
|
||||
|
@ -772,14 +772,14 @@ exports[`SupervisorStatisticsTable matches snapshot on some data 1`] = `
|
|||
originalKey="_original"
|
||||
pageJumpText="jump to page"
|
||||
pageSizeOptions={
|
||||
Array [
|
||||
[
|
||||
25,
|
||||
50,
|
||||
100,
|
||||
]
|
||||
}
|
||||
pageText="Page"
|
||||
pivotDefaults={Object {}}
|
||||
pivotDefaults={{}}
|
||||
pivotIDKey="_pivotID"
|
||||
pivotValKey="_pivotVal"
|
||||
previousText="Previous"
|
||||
|
@ -793,7 +793,7 @@ exports[`SupervisorStatisticsTable matches snapshot on some data 1`] = `
|
|||
showPaginationBottom={true}
|
||||
showPaginationTop={false}
|
||||
sortable={true}
|
||||
style={Object {}}
|
||||
style={{}}
|
||||
subRowsKey="_subRows"
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -35,51 +35,51 @@ describe('Execution', () => {
|
|||
it('works in a general case', () => {
|
||||
expect(EXECUTION_INGEST_COMPLETE).toMatchInlineSnapshot(`
|
||||
Execution {
|
||||
"_payload": Object {
|
||||
"payload": Object {
|
||||
"context": Object {
|
||||
"_payload": {
|
||||
"payload": {
|
||||
"context": {
|
||||
"forceTimeChunkLock": true,
|
||||
"useLineageBasedSegmentAllocation": true,
|
||||
},
|
||||
"dataSource": "kttm_simple",
|
||||
"groupId": "query-346b9ac6-4912-46e4-9b98-75f11071af87",
|
||||
"id": "query-346b9ac6-4912-46e4-9b98-75f11071af87",
|
||||
"nativeTypeNames": Array [
|
||||
"nativeTypeNames": [
|
||||
"LONG",
|
||||
"STRING",
|
||||
],
|
||||
"resource": Object {
|
||||
"resource": {
|
||||
"availabilityGroup": "query-346b9ac6-4912-46e4-9b98-75f11071af87",
|
||||
"requiredCapacity": 1,
|
||||
},
|
||||
"spec": Object {
|
||||
"spec": {
|
||||
"assignmentStrategy": "max",
|
||||
"columnMappings": Array [
|
||||
Object {
|
||||
"columnMappings": [
|
||||
{
|
||||
"outputColumn": "__time",
|
||||
"queryColumn": "v0",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"outputColumn": "agent_type",
|
||||
"queryColumn": "agent_type",
|
||||
},
|
||||
],
|
||||
"destination": Object {
|
||||
"destination": {
|
||||
"dataSource": "kttm_simple",
|
||||
"replaceTimeChunks": Array [
|
||||
"replaceTimeChunks": [
|
||||
"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z",
|
||||
],
|
||||
"segmentGranularity": Object {
|
||||
"segmentGranularity": {
|
||||
"type": "all",
|
||||
},
|
||||
"type": "dataSource",
|
||||
},
|
||||
"query": Object {
|
||||
"columns": Array [
|
||||
"query": {
|
||||
"columns": [
|
||||
"agent_type",
|
||||
"v0",
|
||||
],
|
||||
"context": Object {
|
||||
"context": {
|
||||
"__resultFormat": "array",
|
||||
"__user": "allowAll",
|
||||
"executionMode": "async",
|
||||
|
@ -89,42 +89,42 @@ describe('Execution', () => {
|
|||
"maxNumTasks": 2,
|
||||
"maxParseExceptions": 0,
|
||||
"queryId": "346b9ac6-4912-46e4-9b98-75f11071af87",
|
||||
"scanSignature": "[{\\"name\\":\\"agent_type\\",\\"type\\":\\"STRING\\"},{\\"name\\":\\"v0\\",\\"type\\":\\"LONG\\"}]",
|
||||
"sqlInsertSegmentGranularity": "{\\"type\\":\\"all\\"}",
|
||||
"scanSignature": "[{"name":"agent_type","type":"STRING"},{"name":"v0","type":"LONG"}]",
|
||||
"sqlInsertSegmentGranularity": "{"type":"all"}",
|
||||
"sqlQueryId": "346b9ac6-4912-46e4-9b98-75f11071af87",
|
||||
"sqlReplaceTimeChunks": "all",
|
||||
"waitUntilSegmentsLoad": true,
|
||||
},
|
||||
"dataSource": Object {
|
||||
"inputFormat": Object {
|
||||
"dataSource": {
|
||||
"inputFormat": {
|
||||
"assumeNewlineDelimited": false,
|
||||
"keepNullColumns": false,
|
||||
"type": "json",
|
||||
"useJsonNodeReader": false,
|
||||
},
|
||||
"inputSource": Object {
|
||||
"inputSource": {
|
||||
"type": "http",
|
||||
"uris": Array [
|
||||
"uris": [
|
||||
"https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz",
|
||||
],
|
||||
},
|
||||
"signature": Array [
|
||||
Object {
|
||||
"signature": [
|
||||
{
|
||||
"name": "timestamp",
|
||||
"type": "STRING",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"name": "agent_type",
|
||||
"type": "STRING",
|
||||
},
|
||||
],
|
||||
"type": "external",
|
||||
},
|
||||
"granularity": Object {
|
||||
"granularity": {
|
||||
"type": "all",
|
||||
},
|
||||
"intervals": Object {
|
||||
"intervals": Array [
|
||||
"intervals": {
|
||||
"intervals": [
|
||||
"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z",
|
||||
],
|
||||
"type": "intervals",
|
||||
|
@ -132,50 +132,50 @@ describe('Execution', () => {
|
|||
"legacy": false,
|
||||
"queryType": "scan",
|
||||
"resultFormat": "compactedList",
|
||||
"virtualColumns": Array [
|
||||
Object {
|
||||
"expression": "timestamp_parse(\\"timestamp\\",null,'UTC')",
|
||||
"virtualColumns": [
|
||||
{
|
||||
"expression": "timestamp_parse("timestamp",null,'UTC')",
|
||||
"name": "v0",
|
||||
"outputType": "LONG",
|
||||
"type": "expression",
|
||||
},
|
||||
],
|
||||
},
|
||||
"tuningConfig": Object {
|
||||
"tuningConfig": {
|
||||
"maxNumWorkers": 1,
|
||||
"maxRowsInMemory": 100000,
|
||||
"rowsPerSegment": 3000000,
|
||||
},
|
||||
},
|
||||
"sqlQuery": "REPLACE INTO \\"kttm_simple\\" OVERWRITE ALL
|
||||
"sqlQuery": "REPLACE INTO "kttm_simple" OVERWRITE ALL
|
||||
SELECT
|
||||
TIME_PARSE(\\"timestamp\\") AS \\"__time\\",
|
||||
\\"agent_type\\"
|
||||
TIME_PARSE("timestamp") AS "__time",
|
||||
"agent_type"
|
||||
FROM TABLE(
|
||||
EXTERN(
|
||||
'{\\"type\\":\\"http\\",\\"uris\\":[\\"https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz\\"]}',
|
||||
'{\\"type\\":\\"json\\"}'
|
||||
'{"type":"http","uris":["https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz"]}',
|
||||
'{"type":"json"}'
|
||||
)
|
||||
) EXTEND (\\"timestamp\\" VARCHAR, \\"agent_type\\" VARCHAR)
|
||||
) EXTEND ("timestamp" VARCHAR, "agent_type" VARCHAR)
|
||||
PARTITIONED BY ALL TIME",
|
||||
"sqlQueryContext": Object {
|
||||
"sqlQueryContext": {
|
||||
"__resultFormat": "array",
|
||||
"executionMode": "async",
|
||||
"finalizeAggregations": false,
|
||||
"groupByEnableMultiValueUnnesting": false,
|
||||
"maxNumTasks": 2,
|
||||
"queryId": "346b9ac6-4912-46e4-9b98-75f11071af87",
|
||||
"sqlInsertSegmentGranularity": "{\\"type\\":\\"all\\"}",
|
||||
"sqlInsertSegmentGranularity": "{"type":"all"}",
|
||||
"sqlQueryId": "346b9ac6-4912-46e4-9b98-75f11071af87",
|
||||
"sqlReplaceTimeChunks": "all",
|
||||
"waitUntilSegmentsLoad": true,
|
||||
},
|
||||
"sqlResultsContext": Object {
|
||||
"sqlResultsContext": {
|
||||
"serializeComplexValues": true,
|
||||
"stringifyArrays": true,
|
||||
"timeZone": "UTC",
|
||||
},
|
||||
"sqlTypeNames": Array [
|
||||
"sqlTypeNames": [
|
||||
"TIMESTAMP",
|
||||
"VARCHAR",
|
||||
],
|
||||
|
@ -184,13 +184,13 @@ describe('Execution', () => {
|
|||
"task": "query-346b9ac6-4912-46e4-9b98-75f11071af87",
|
||||
},
|
||||
"capacityInfo": undefined,
|
||||
"destination": Object {
|
||||
"destination": {
|
||||
"dataSource": "kttm_simple",
|
||||
"numTotalRows": 465346,
|
||||
"replaceTimeChunks": Array [
|
||||
"replaceTimeChunks": [
|
||||
"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z",
|
||||
],
|
||||
"segmentGranularity": Object {
|
||||
"segmentGranularity": {
|
||||
"type": "all",
|
||||
},
|
||||
"type": "dataSource",
|
||||
|
@ -200,12 +200,12 @@ describe('Execution', () => {
|
|||
"engine": "sql-msq-task",
|
||||
"error": undefined,
|
||||
"id": "query-346b9ac6-4912-46e4-9b98-75f11071af87",
|
||||
"nativeQuery": Object {
|
||||
"columns": Array [
|
||||
"nativeQuery": {
|
||||
"columns": [
|
||||
"agent_type",
|
||||
"v0",
|
||||
],
|
||||
"context": Object {
|
||||
"context": {
|
||||
"__resultFormat": "array",
|
||||
"__user": "allowAll",
|
||||
"executionMode": "async",
|
||||
|
@ -215,42 +215,42 @@ describe('Execution', () => {
|
|||
"maxNumTasks": 2,
|
||||
"maxParseExceptions": 0,
|
||||
"queryId": "346b9ac6-4912-46e4-9b98-75f11071af87",
|
||||
"scanSignature": "[{\\"name\\":\\"agent_type\\",\\"type\\":\\"STRING\\"},{\\"name\\":\\"v0\\",\\"type\\":\\"LONG\\"}]",
|
||||
"sqlInsertSegmentGranularity": "{\\"type\\":\\"all\\"}",
|
||||
"scanSignature": "[{"name":"agent_type","type":"STRING"},{"name":"v0","type":"LONG"}]",
|
||||
"sqlInsertSegmentGranularity": "{"type":"all"}",
|
||||
"sqlQueryId": "346b9ac6-4912-46e4-9b98-75f11071af87",
|
||||
"sqlReplaceTimeChunks": "all",
|
||||
"waitUntilSegmentsLoad": true,
|
||||
},
|
||||
"dataSource": Object {
|
||||
"inputFormat": Object {
|
||||
"dataSource": {
|
||||
"inputFormat": {
|
||||
"assumeNewlineDelimited": false,
|
||||
"keepNullColumns": false,
|
||||
"type": "json",
|
||||
"useJsonNodeReader": false,
|
||||
},
|
||||
"inputSource": Object {
|
||||
"inputSource": {
|
||||
"type": "http",
|
||||
"uris": Array [
|
||||
"uris": [
|
||||
"https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz",
|
||||
],
|
||||
},
|
||||
"signature": Array [
|
||||
Object {
|
||||
"signature": [
|
||||
{
|
||||
"name": "timestamp",
|
||||
"type": "STRING",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"name": "agent_type",
|
||||
"type": "STRING",
|
||||
},
|
||||
],
|
||||
"type": "external",
|
||||
},
|
||||
"granularity": Object {
|
||||
"granularity": {
|
||||
"type": "all",
|
||||
},
|
||||
"intervals": Object {
|
||||
"intervals": Array [
|
||||
"intervals": {
|
||||
"intervals": [
|
||||
"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z",
|
||||
],
|
||||
"type": "intervals",
|
||||
|
@ -258,16 +258,16 @@ describe('Execution', () => {
|
|||
"legacy": false,
|
||||
"queryType": "scan",
|
||||
"resultFormat": "compactedList",
|
||||
"virtualColumns": Array [
|
||||
Object {
|
||||
"expression": "timestamp_parse(\\"timestamp\\",null,'UTC')",
|
||||
"virtualColumns": [
|
||||
{
|
||||
"expression": "timestamp_parse("timestamp",null,'UTC')",
|
||||
"name": "v0",
|
||||
"outputType": "LONG",
|
||||
"type": "expression",
|
||||
},
|
||||
],
|
||||
},
|
||||
"queryContext": Object {
|
||||
"queryContext": {
|
||||
"__resultFormat": "array",
|
||||
"executionMode": "async",
|
||||
"finalizeAggregations": false,
|
||||
|
@ -276,7 +276,7 @@ describe('Execution', () => {
|
|||
"waitUntilSegmentsLoad": true,
|
||||
},
|
||||
"result": undefined,
|
||||
"segmentStatus": Object {
|
||||
"segmentStatus": {
|
||||
"duration": 5092,
|
||||
"onDemandSegments": 0,
|
||||
"pendingSegments": 0,
|
||||
|
@ -287,67 +287,67 @@ describe('Execution', () => {
|
|||
"unknownSegments": 0,
|
||||
"usedSegments": 1,
|
||||
},
|
||||
"sqlQuery": "REPLACE INTO \\"kttm_simple\\" OVERWRITE ALL
|
||||
"sqlQuery": "REPLACE INTO "kttm_simple" OVERWRITE ALL
|
||||
SELECT
|
||||
TIME_PARSE(\\"timestamp\\") AS \\"__time\\",
|
||||
\\"agent_type\\"
|
||||
TIME_PARSE("timestamp") AS "__time",
|
||||
"agent_type"
|
||||
FROM TABLE(
|
||||
EXTERN(
|
||||
'{\\"type\\":\\"http\\",\\"uris\\":[\\"https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz\\"]}',
|
||||
'{\\"type\\":\\"json\\"}'
|
||||
'{"type":"http","uris":["https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz"]}',
|
||||
'{"type":"json"}'
|
||||
)
|
||||
) EXTEND (\\"timestamp\\" VARCHAR, \\"agent_type\\" VARCHAR)
|
||||
) EXTEND ("timestamp" VARCHAR, "agent_type" VARCHAR)
|
||||
PARTITIONED BY ALL TIME",
|
||||
"stages": Stages {
|
||||
"counters": Object {
|
||||
"0": Object {
|
||||
"0": Object {
|
||||
"input0": Object {
|
||||
"bytes": Array [
|
||||
"counters": {
|
||||
"0": {
|
||||
"0": {
|
||||
"input0": {
|
||||
"bytes": [
|
||||
360464067,
|
||||
],
|
||||
"files": Array [
|
||||
"files": [
|
||||
1,
|
||||
],
|
||||
"rows": Array [
|
||||
"rows": [
|
||||
465346,
|
||||
],
|
||||
"totalFiles": Array [
|
||||
"totalFiles": [
|
||||
1,
|
||||
],
|
||||
"type": "channel",
|
||||
},
|
||||
"output": Object {
|
||||
"bytes": Array [
|
||||
"output": {
|
||||
"bytes": [
|
||||
25430674,
|
||||
],
|
||||
"frames": Array [
|
||||
"frames": [
|
||||
4,
|
||||
],
|
||||
"rows": Array [
|
||||
"rows": [
|
||||
465346,
|
||||
],
|
||||
"type": "channel",
|
||||
},
|
||||
"shuffle": Object {
|
||||
"bytes": Array [
|
||||
"shuffle": {
|
||||
"bytes": [
|
||||
23570446,
|
||||
],
|
||||
"frames": Array [
|
||||
"frames": [
|
||||
38,
|
||||
],
|
||||
"rows": Array [
|
||||
"rows": [
|
||||
465346,
|
||||
],
|
||||
"type": "channel",
|
||||
},
|
||||
"sortProgress": Object {
|
||||
"levelToMergedBatches": Object {
|
||||
"sortProgress": {
|
||||
"levelToMergedBatches": {
|
||||
"0": 1,
|
||||
"1": 1,
|
||||
"2": 1,
|
||||
},
|
||||
"levelToTotalBatches": Object {
|
||||
"levelToTotalBatches": {
|
||||
"0": 1,
|
||||
"1": 1,
|
||||
"2": 1,
|
||||
|
@ -359,21 +359,21 @@ describe('Execution', () => {
|
|||
},
|
||||
},
|
||||
},
|
||||
"1": Object {
|
||||
"0": Object {
|
||||
"input0": Object {
|
||||
"bytes": Array [
|
||||
"1": {
|
||||
"0": {
|
||||
"input0": {
|
||||
"bytes": [
|
||||
23570446,
|
||||
],
|
||||
"frames": Array [
|
||||
"frames": [
|
||||
38,
|
||||
],
|
||||
"rows": Array [
|
||||
"rows": [
|
||||
465346,
|
||||
],
|
||||
"type": "channel",
|
||||
},
|
||||
"segmentGenerationProgress": Object {
|
||||
"segmentGenerationProgress": {
|
||||
"rowsMerged": 465346,
|
||||
"rowsPersisted": 465346,
|
||||
"rowsProcessed": 465346,
|
||||
|
@ -383,30 +383,30 @@ describe('Execution', () => {
|
|||
},
|
||||
},
|
||||
},
|
||||
"stages": Array [
|
||||
Object {
|
||||
"definition": Object {
|
||||
"stages": [
|
||||
{
|
||||
"definition": {
|
||||
"id": "7f62fa91-f49a-4053-adec-5aa09c251ee3_0",
|
||||
"input": Array [
|
||||
Object {
|
||||
"inputFormat": Object {
|
||||
"input": [
|
||||
{
|
||||
"inputFormat": {
|
||||
"assumeNewlineDelimited": false,
|
||||
"keepNullColumns": false,
|
||||
"type": "json",
|
||||
"useJsonNodeReader": false,
|
||||
},
|
||||
"inputSource": Object {
|
||||
"inputSource": {
|
||||
"type": "http",
|
||||
"uris": Array [
|
||||
"uris": [
|
||||
"https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz",
|
||||
],
|
||||
},
|
||||
"signature": Array [
|
||||
Object {
|
||||
"signature": [
|
||||
{
|
||||
"name": "timestamp",
|
||||
"type": "STRING",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"name": "agent_type",
|
||||
"type": "STRING",
|
||||
},
|
||||
|
@ -415,13 +415,13 @@ describe('Execution', () => {
|
|||
},
|
||||
],
|
||||
"maxWorkerCount": 1,
|
||||
"processor": Object {
|
||||
"query": Object {
|
||||
"columns": Array [
|
||||
"processor": {
|
||||
"query": {
|
||||
"columns": [
|
||||
"agent_type",
|
||||
"v0",
|
||||
],
|
||||
"context": Object {
|
||||
"context": {
|
||||
"__resultFormat": "array",
|
||||
"__timeColumn": "v0",
|
||||
"__user": "allowAll",
|
||||
|
@ -432,42 +432,42 @@ describe('Execution', () => {
|
|||
"maxNumTasks": 2,
|
||||
"maxParseExceptions": 0,
|
||||
"queryId": "346b9ac6-4912-46e4-9b98-75f11071af87",
|
||||
"scanSignature": "[{\\"name\\":\\"agent_type\\",\\"type\\":\\"STRING\\"},{\\"name\\":\\"v0\\",\\"type\\":\\"LONG\\"}]",
|
||||
"sqlInsertSegmentGranularity": "{\\"type\\":\\"all\\"}",
|
||||
"scanSignature": "[{"name":"agent_type","type":"STRING"},{"name":"v0","type":"LONG"}]",
|
||||
"sqlInsertSegmentGranularity": "{"type":"all"}",
|
||||
"sqlQueryId": "346b9ac6-4912-46e4-9b98-75f11071af87",
|
||||
"sqlReplaceTimeChunks": "all",
|
||||
"waitUntilSegmentsLoad": true,
|
||||
},
|
||||
"dataSource": Object {
|
||||
"inputFormat": Object {
|
||||
"dataSource": {
|
||||
"inputFormat": {
|
||||
"assumeNewlineDelimited": false,
|
||||
"keepNullColumns": false,
|
||||
"type": "json",
|
||||
"useJsonNodeReader": false,
|
||||
},
|
||||
"inputSource": Object {
|
||||
"inputSource": {
|
||||
"type": "http",
|
||||
"uris": Array [
|
||||
"uris": [
|
||||
"https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz",
|
||||
],
|
||||
},
|
||||
"signature": Array [
|
||||
Object {
|
||||
"signature": [
|
||||
{
|
||||
"name": "timestamp",
|
||||
"type": "STRING",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"name": "agent_type",
|
||||
"type": "STRING",
|
||||
},
|
||||
],
|
||||
"type": "external",
|
||||
},
|
||||
"granularity": Object {
|
||||
"granularity": {
|
||||
"type": "all",
|
||||
},
|
||||
"intervals": Object {
|
||||
"intervals": Array [
|
||||
"intervals": {
|
||||
"intervals": [
|
||||
"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z",
|
||||
],
|
||||
"type": "intervals",
|
||||
|
@ -475,9 +475,9 @@ describe('Execution', () => {
|
|||
"legacy": false,
|
||||
"queryType": "scan",
|
||||
"resultFormat": "compactedList",
|
||||
"virtualColumns": Array [
|
||||
Object {
|
||||
"expression": "timestamp_parse(\\"timestamp\\",null,'UTC')",
|
||||
"virtualColumns": [
|
||||
{
|
||||
"expression": "timestamp_parse("timestamp",null,'UTC')",
|
||||
"name": "v0",
|
||||
"outputType": "LONG",
|
||||
"type": "expression",
|
||||
|
@ -487,10 +487,10 @@ describe('Execution', () => {
|
|||
"type": "scan",
|
||||
},
|
||||
"shuffleCheckHasMultipleValues": true,
|
||||
"shuffleSpec": Object {
|
||||
"clusterBy": Object {
|
||||
"columns": Array [
|
||||
Object {
|
||||
"shuffleSpec": {
|
||||
"clusterBy": {
|
||||
"columns": [
|
||||
{
|
||||
"columnName": "__boost",
|
||||
"order": "ASCENDING",
|
||||
},
|
||||
|
@ -499,16 +499,16 @@ describe('Execution', () => {
|
|||
"targetSize": 3000000,
|
||||
"type": "targetSize",
|
||||
},
|
||||
"signature": Array [
|
||||
Object {
|
||||
"signature": [
|
||||
{
|
||||
"name": "__boost",
|
||||
"type": "LONG",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"name": "agent_type",
|
||||
"type": "STRING",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"name": "v0",
|
||||
"type": "LONG",
|
||||
},
|
||||
|
@ -522,35 +522,35 @@ describe('Execution', () => {
|
|||
"startTime": "2024-01-23T19:45:43.302Z",
|
||||
"workerCount": 1,
|
||||
},
|
||||
Object {
|
||||
"definition": Object {
|
||||
{
|
||||
"definition": {
|
||||
"id": "7f62fa91-f49a-4053-adec-5aa09c251ee3_1",
|
||||
"input": Array [
|
||||
Object {
|
||||
"input": [
|
||||
{
|
||||
"stage": 0,
|
||||
"type": "stage",
|
||||
},
|
||||
],
|
||||
"maxWorkerCount": 1,
|
||||
"processor": Object {
|
||||
"columnMappings": Array [
|
||||
Object {
|
||||
"processor": {
|
||||
"columnMappings": [
|
||||
{
|
||||
"outputColumn": "__time",
|
||||
"queryColumn": "v0",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"outputColumn": "agent_type",
|
||||
"queryColumn": "agent_type",
|
||||
},
|
||||
],
|
||||
"dataSchema": Object {
|
||||
"dataSchema": {
|
||||
"dataSource": "kttm_simple",
|
||||
"dimensionsSpec": Object {
|
||||
"dimensionExclusions": Array [
|
||||
"dimensionsSpec": {
|
||||
"dimensionExclusions": [
|
||||
"__time",
|
||||
],
|
||||
"dimensions": Array [
|
||||
Object {
|
||||
"dimensions": [
|
||||
{
|
||||
"createBitmapIndex": true,
|
||||
"multiValueHandling": "SORTED_ARRAY",
|
||||
"name": "agent_type",
|
||||
|
@ -560,35 +560,35 @@ describe('Execution', () => {
|
|||
"includeAllDimensions": false,
|
||||
"useSchemaDiscovery": false,
|
||||
},
|
||||
"granularitySpec": Object {
|
||||
"intervals": Array [
|
||||
"granularitySpec": {
|
||||
"intervals": [
|
||||
"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z",
|
||||
],
|
||||
"queryGranularity": Object {
|
||||
"queryGranularity": {
|
||||
"type": "none",
|
||||
},
|
||||
"rollup": false,
|
||||
"type": "arbitrary",
|
||||
},
|
||||
"metricsSpec": Array [],
|
||||
"timestampSpec": Object {
|
||||
"metricsSpec": [],
|
||||
"timestampSpec": {
|
||||
"column": "__time",
|
||||
"format": "millis",
|
||||
"missingValue": null,
|
||||
},
|
||||
"transformSpec": Object {
|
||||
"transformSpec": {
|
||||
"filter": null,
|
||||
"transforms": Array [],
|
||||
"transforms": [],
|
||||
},
|
||||
},
|
||||
"tuningConfig": Object {
|
||||
"tuningConfig": {
|
||||
"maxNumWorkers": 1,
|
||||
"maxRowsInMemory": 100000,
|
||||
"rowsPerSegment": 3000000,
|
||||
},
|
||||
"type": "segmentGenerator",
|
||||
},
|
||||
"signature": Array [],
|
||||
"signature": [],
|
||||
},
|
||||
"duration": 1263,
|
||||
"partitionCount": 1,
|
||||
|
@ -601,7 +601,7 @@ describe('Execution', () => {
|
|||
},
|
||||
"startTime": 2024-01-23T19:45:43.073Z,
|
||||
"status": "SUCCESS",
|
||||
"usageInfo": Object {
|
||||
"usageInfo": {
|
||||
"pendingTasks": 0,
|
||||
"runningTasks": 1,
|
||||
},
|
||||
|
@ -617,12 +617,12 @@ describe('Execution', () => {
|
|||
Execution {
|
||||
"_payload": undefined,
|
||||
"capacityInfo": undefined,
|
||||
"destination": Object {
|
||||
"destination": {
|
||||
"numTotalRows": 2,
|
||||
"type": "taskReport",
|
||||
},
|
||||
"destinationPages": Array [
|
||||
Object {
|
||||
"destinationPages": [
|
||||
{
|
||||
"id": 0,
|
||||
"numRows": 2,
|
||||
"sizeInBytes": 116,
|
||||
|
@ -635,7 +635,7 @@ describe('Execution', () => {
|
|||
"nativeQuery": undefined,
|
||||
"queryContext": undefined,
|
||||
"result": _QueryResult {
|
||||
"header": Array [
|
||||
"header": [
|
||||
Column {
|
||||
"name": "channel",
|
||||
"nativeType": "STRING",
|
||||
|
@ -651,12 +651,12 @@ describe('Execution', () => {
|
|||
"queryDuration": undefined,
|
||||
"queryId": undefined,
|
||||
"resultContext": undefined,
|
||||
"rows": Array [
|
||||
Array [
|
||||
"rows": [
|
||||
[
|
||||
"#en.wikipedia",
|
||||
6650,
|
||||
],
|
||||
Array [
|
||||
[
|
||||
"#sh.wikipedia",
|
||||
3969,
|
||||
],
|
||||
|
@ -684,10 +684,10 @@ describe('Execution', () => {
|
|||
"destinationPages": undefined,
|
||||
"duration": 11217,
|
||||
"engine": "sql-msq-task",
|
||||
"error": Object {
|
||||
"error": Object {
|
||||
"error": {
|
||||
"error": {
|
||||
"category": "UNCATEGORIZED",
|
||||
"context": Object {
|
||||
"context": {
|
||||
"message": "java.io.UncheckedIOException: /",
|
||||
},
|
||||
"error": "druidException",
|
||||
|
|
|
@ -47,59 +47,59 @@ describe('ingest-query-pattern', () => {
|
|||
const insertQueryPattern = fitIngestQueryPattern(query);
|
||||
|
||||
expect(insertQueryPattern).toMatchInlineSnapshot(`
|
||||
Object {
|
||||
"clusteredBy": Array [
|
||||
{
|
||||
"clusteredBy": [
|
||||
3,
|
||||
],
|
||||
"destinationTableName": "kttm-2019",
|
||||
"dimensions": Array [
|
||||
"TIME_PARSE(\\"timestamp\\") AS __time",
|
||||
"dimensions": [
|
||||
"TIME_PARSE("timestamp") AS __time",
|
||||
"agent_category",
|
||||
"agent_type",
|
||||
"browser",
|
||||
"browser_version",
|
||||
],
|
||||
"filters": Array [],
|
||||
"mainExternalConfig": Object {
|
||||
"inputFormat": Object {
|
||||
"filters": [],
|
||||
"mainExternalConfig": {
|
||||
"inputFormat": {
|
||||
"type": "json",
|
||||
},
|
||||
"inputSource": Object {
|
||||
"inputSource": {
|
||||
"type": "http",
|
||||
"uris": Array [
|
||||
"uris": [
|
||||
"https://example.com/data.json.gz",
|
||||
],
|
||||
},
|
||||
"signature": Array [
|
||||
"\\"timestamp\\" VARCHAR",
|
||||
"\\"agent_category\\" VARCHAR",
|
||||
"\\"agent_type\\" VARCHAR",
|
||||
"\\"browser\\" VARCHAR",
|
||||
"\\"browser_version\\" VARCHAR",
|
||||
"\\"city\\" VARCHAR",
|
||||
"\\"continent\\" VARCHAR",
|
||||
"\\"country\\" VARCHAR",
|
||||
"\\"version\\" VARCHAR",
|
||||
"\\"event_type\\" VARCHAR",
|
||||
"\\"event_subtype\\" VARCHAR",
|
||||
"\\"loaded_image\\" VARCHAR",
|
||||
"\\"adblock_list\\" VARCHAR",
|
||||
"\\"forwarded_for\\" VARCHAR",
|
||||
"\\"language\\" VARCHAR",
|
||||
"\\"number\\" BIGINT",
|
||||
"\\"os\\" VARCHAR",
|
||||
"\\"path\\" VARCHAR",
|
||||
"\\"platform\\" VARCHAR",
|
||||
"\\"referrer\\" VARCHAR",
|
||||
"\\"referrer_host\\" VARCHAR",
|
||||
"\\"region\\" VARCHAR",
|
||||
"\\"remote_address\\" VARCHAR",
|
||||
"\\"screen\\" VARCHAR",
|
||||
"\\"session\\" VARCHAR",
|
||||
"\\"session_length\\" BIGINT",
|
||||
"\\"timezone\\" VARCHAR",
|
||||
"\\"timezone_offset\\" BIGINT",
|
||||
"\\"window\\" VARCHAR",
|
||||
"signature": [
|
||||
""timestamp" VARCHAR",
|
||||
""agent_category" VARCHAR",
|
||||
""agent_type" VARCHAR",
|
||||
""browser" VARCHAR",
|
||||
""browser_version" VARCHAR",
|
||||
""city" VARCHAR",
|
||||
""continent" VARCHAR",
|
||||
""country" VARCHAR",
|
||||
""version" VARCHAR",
|
||||
""event_type" VARCHAR",
|
||||
""event_subtype" VARCHAR",
|
||||
""loaded_image" VARCHAR",
|
||||
""adblock_list" VARCHAR",
|
||||
""forwarded_for" VARCHAR",
|
||||
""language" VARCHAR",
|
||||
""number" BIGINT",
|
||||
""os" VARCHAR",
|
||||
""path" VARCHAR",
|
||||
""platform" VARCHAR",
|
||||
""referrer" VARCHAR",
|
||||
""referrer_host" VARCHAR",
|
||||
""region" VARCHAR",
|
||||
""remote_address" VARCHAR",
|
||||
""screen" VARCHAR",
|
||||
""session" VARCHAR",
|
||||
""session_length" BIGINT",
|
||||
""timezone" VARCHAR",
|
||||
""timezone_offset" BIGINT",
|
||||
""window" VARCHAR",
|
||||
],
|
||||
},
|
||||
"mainExternalName": "ext",
|
||||
|
@ -142,39 +142,39 @@ describe('ingest-query-pattern', () => {
|
|||
const insertQueryPattern = fitIngestQueryPattern(query);
|
||||
|
||||
expect(insertQueryPattern).toMatchInlineSnapshot(`
|
||||
Object {
|
||||
"clusteredBy": Array [],
|
||||
{
|
||||
"clusteredBy": [],
|
||||
"destinationTableName": "inline_data",
|
||||
"dimensions": Array [
|
||||
"\\"name\\"",
|
||||
"\\"num\\"",
|
||||
"ARRAY_TO_MV(\\"strings\\") AS \\"strings\\"",
|
||||
"\\"ints\\"",
|
||||
"\\"floats\\"",
|
||||
"dimensions": [
|
||||
""name"",
|
||||
""num"",
|
||||
"ARRAY_TO_MV("strings") AS "strings"",
|
||||
""ints"",
|
||||
""floats"",
|
||||
],
|
||||
"filters": Array [],
|
||||
"mainExternalConfig": Object {
|
||||
"inputFormat": Object {
|
||||
"filters": [],
|
||||
"mainExternalConfig": {
|
||||
"inputFormat": {
|
||||
"type": "json",
|
||||
},
|
||||
"inputSource": Object {
|
||||
"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}]}}
|
||||
"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}]}}
|
||||
{"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",
|
||||
},
|
||||
"signature": Array [
|
||||
"\\"name\\" VARCHAR",
|
||||
"\\"num\\" BIGINT",
|
||||
"\\"strings\\" VARCHAR ARRAY",
|
||||
"\\"ints\\" BIGINT ARRAY",
|
||||
"\\"floats\\" DOUBLE ARRAY",
|
||||
"\\"msg\\" TYPE('COMPLEX<json>')",
|
||||
"signature": [
|
||||
""name" VARCHAR",
|
||||
""num" BIGINT",
|
||||
""strings" VARCHAR ARRAY",
|
||||
""ints" BIGINT ARRAY",
|
||||
""floats" DOUBLE ARRAY",
|
||||
""msg" TYPE('COMPLEX<json>')",
|
||||
],
|
||||
},
|
||||
"mainExternalName": "ext",
|
||||
"metrics": Array [
|
||||
"COUNT(*) AS \\"count\\"",
|
||||
"metrics": [
|
||||
"COUNT(*) AS "count"",
|
||||
],
|
||||
"mode": "replace",
|
||||
"overwriteWhere": undefined,
|
||||
|
|
|
@ -835,66 +835,66 @@ describe('spec utils', () => {
|
|||
true,
|
||||
);
|
||||
expect(updateSpec.spec).toMatchInlineSnapshot(`
|
||||
Object {
|
||||
"dataSchema": Object {
|
||||
{
|
||||
"dataSchema": {
|
||||
"dataSource": "wikipedia",
|
||||
"dimensionsSpec": Object {
|
||||
"dimensions": Array [
|
||||
"dimensionsSpec": {
|
||||
"dimensions": [
|
||||
"user",
|
||||
"id",
|
||||
Object {
|
||||
{
|
||||
"castToType": "ARRAY<STRING>",
|
||||
"name": "tags",
|
||||
"type": "auto",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"castToType": "ARRAY<LONG>",
|
||||
"name": "nums",
|
||||
"type": "auto",
|
||||
},
|
||||
],
|
||||
},
|
||||
"granularitySpec": Object {
|
||||
"granularitySpec": {
|
||||
"queryGranularity": "hour",
|
||||
"rollup": true,
|
||||
"segmentGranularity": "day",
|
||||
},
|
||||
"metricsSpec": Array [
|
||||
Object {
|
||||
"metricsSpec": [
|
||||
{
|
||||
"name": "count",
|
||||
"type": "count",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"fieldName": "followers",
|
||||
"name": "sum_followers",
|
||||
"type": "longSum",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"fieldName": "spend",
|
||||
"name": "sum_spend",
|
||||
"type": "doubleSum",
|
||||
},
|
||||
],
|
||||
"timestampSpec": Object {
|
||||
"timestampSpec": {
|
||||
"column": "timestamp",
|
||||
"format": "iso",
|
||||
},
|
||||
},
|
||||
"ioConfig": Object {
|
||||
"inputFormat": Object {
|
||||
"ioConfig": {
|
||||
"inputFormat": {
|
||||
"type": "json",
|
||||
},
|
||||
"inputSource": Object {
|
||||
"inputSource": {
|
||||
"type": "http",
|
||||
"uris": Array [
|
||||
"uris": [
|
||||
"https://website.com/wikipedia.json.gz",
|
||||
],
|
||||
},
|
||||
"type": "index_parallel",
|
||||
},
|
||||
"tuningConfig": Object {
|
||||
"tuningConfig": {
|
||||
"forceGuaranteedRollup": true,
|
||||
"partitionsSpec": Object {
|
||||
"partitionsSpec": {
|
||||
"type": "hashed",
|
||||
},
|
||||
"type": "index_parallel",
|
||||
|
@ -912,66 +912,66 @@ describe('spec utils', () => {
|
|||
true,
|
||||
);
|
||||
expect(updateSpec.spec).toMatchInlineSnapshot(`
|
||||
Object {
|
||||
"dataSchema": Object {
|
||||
{
|
||||
"dataSchema": {
|
||||
"dataSource": "wikipedia",
|
||||
"dimensionsSpec": Object {
|
||||
"dimensions": Array [
|
||||
"dimensionsSpec": {
|
||||
"dimensions": [
|
||||
"user",
|
||||
"id",
|
||||
Object {
|
||||
{
|
||||
"multiValueHandling": "SORTED_ARRAY",
|
||||
"name": "tags",
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"multiValueHandling": "SORTED_ARRAY",
|
||||
"name": "nums",
|
||||
"type": "string",
|
||||
},
|
||||
],
|
||||
},
|
||||
"granularitySpec": Object {
|
||||
"granularitySpec": {
|
||||
"queryGranularity": "hour",
|
||||
"rollup": true,
|
||||
"segmentGranularity": "day",
|
||||
},
|
||||
"metricsSpec": Array [
|
||||
Object {
|
||||
"metricsSpec": [
|
||||
{
|
||||
"name": "count",
|
||||
"type": "count",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"fieldName": "followers",
|
||||
"name": "sum_followers",
|
||||
"type": "longSum",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"fieldName": "spend",
|
||||
"name": "sum_spend",
|
||||
"type": "doubleSum",
|
||||
},
|
||||
],
|
||||
"timestampSpec": Object {
|
||||
"timestampSpec": {
|
||||
"column": "timestamp",
|
||||
"format": "iso",
|
||||
},
|
||||
},
|
||||
"ioConfig": Object {
|
||||
"inputFormat": Object {
|
||||
"ioConfig": {
|
||||
"inputFormat": {
|
||||
"type": "json",
|
||||
},
|
||||
"inputSource": Object {
|
||||
"inputSource": {
|
||||
"type": "http",
|
||||
"uris": Array [
|
||||
"uris": [
|
||||
"https://website.com/wikipedia.json.gz",
|
||||
],
|
||||
},
|
||||
"type": "index_parallel",
|
||||
},
|
||||
"tuningConfig": Object {
|
||||
"tuningConfig": {
|
||||
"forceGuaranteedRollup": true,
|
||||
"partitionsSpec": Object {
|
||||
"partitionsSpec": {
|
||||
"type": "hashed",
|
||||
},
|
||||
"type": "index_parallel",
|
||||
|
@ -989,57 +989,57 @@ describe('spec utils', () => {
|
|||
false,
|
||||
);
|
||||
expect(updatedSpec.spec).toMatchInlineSnapshot(`
|
||||
Object {
|
||||
"dataSchema": Object {
|
||||
{
|
||||
"dataSchema": {
|
||||
"dataSource": "wikipedia",
|
||||
"dimensionsSpec": Object {
|
||||
"dimensions": Array [
|
||||
"dimensionsSpec": {
|
||||
"dimensions": [
|
||||
"user",
|
||||
Object {
|
||||
{
|
||||
"name": "followers",
|
||||
"type": "long",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"name": "spend",
|
||||
"type": "double",
|
||||
},
|
||||
"id",
|
||||
Object {
|
||||
{
|
||||
"castToType": "ARRAY<STRING>",
|
||||
"name": "tags",
|
||||
"type": "auto",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"castToType": "ARRAY<LONG>",
|
||||
"name": "nums",
|
||||
"type": "auto",
|
||||
},
|
||||
],
|
||||
},
|
||||
"granularitySpec": Object {
|
||||
"granularitySpec": {
|
||||
"queryGranularity": "none",
|
||||
"rollup": false,
|
||||
"segmentGranularity": "day",
|
||||
},
|
||||
"timestampSpec": Object {
|
||||
"timestampSpec": {
|
||||
"column": "timestamp",
|
||||
"format": "iso",
|
||||
},
|
||||
},
|
||||
"ioConfig": Object {
|
||||
"inputFormat": Object {
|
||||
"ioConfig": {
|
||||
"inputFormat": {
|
||||
"type": "json",
|
||||
},
|
||||
"inputSource": Object {
|
||||
"inputSource": {
|
||||
"type": "http",
|
||||
"uris": Array [
|
||||
"uris": [
|
||||
"https://website.com/wikipedia.json.gz",
|
||||
],
|
||||
},
|
||||
"type": "index_parallel",
|
||||
},
|
||||
"tuningConfig": Object {
|
||||
"partitionsSpec": Object {
|
||||
"tuningConfig": {
|
||||
"partitionsSpec": {
|
||||
"type": "dynamic",
|
||||
},
|
||||
"type": "index_parallel",
|
||||
|
@ -1057,57 +1057,57 @@ describe('spec utils', () => {
|
|||
false,
|
||||
);
|
||||
expect(updatedSpec.spec).toMatchInlineSnapshot(`
|
||||
Object {
|
||||
"dataSchema": Object {
|
||||
{
|
||||
"dataSchema": {
|
||||
"dataSource": "wikipedia",
|
||||
"dimensionsSpec": Object {
|
||||
"dimensions": Array [
|
||||
"dimensionsSpec": {
|
||||
"dimensions": [
|
||||
"user",
|
||||
Object {
|
||||
{
|
||||
"name": "followers",
|
||||
"type": "long",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"name": "spend",
|
||||
"type": "double",
|
||||
},
|
||||
"id",
|
||||
Object {
|
||||
{
|
||||
"multiValueHandling": "SORTED_ARRAY",
|
||||
"name": "tags",
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"multiValueHandling": "SORTED_ARRAY",
|
||||
"name": "nums",
|
||||
"type": "string",
|
||||
},
|
||||
],
|
||||
},
|
||||
"granularitySpec": Object {
|
||||
"granularitySpec": {
|
||||
"queryGranularity": "none",
|
||||
"rollup": false,
|
||||
"segmentGranularity": "day",
|
||||
},
|
||||
"timestampSpec": Object {
|
||||
"timestampSpec": {
|
||||
"column": "timestamp",
|
||||
"format": "iso",
|
||||
},
|
||||
},
|
||||
"ioConfig": Object {
|
||||
"inputFormat": Object {
|
||||
"ioConfig": {
|
||||
"inputFormat": {
|
||||
"type": "json",
|
||||
},
|
||||
"inputSource": Object {
|
||||
"inputSource": {
|
||||
"type": "http",
|
||||
"uris": Array [
|
||||
"uris": [
|
||||
"https://website.com/wikipedia.json.gz",
|
||||
],
|
||||
},
|
||||
"type": "index_parallel",
|
||||
},
|
||||
"tuningConfig": Object {
|
||||
"partitionsSpec": Object {
|
||||
"tuningConfig": {
|
||||
"partitionsSpec": {
|
||||
"type": "dynamic",
|
||||
},
|
||||
"type": "index_parallel",
|
||||
|
|
|
@ -29,10 +29,10 @@ describe('Stages', () => {
|
|||
it('works for input', () => {
|
||||
expect(STAGES.getByPartitionCountersForStage(STAGES.stages[2], 'input'))
|
||||
.toMatchInlineSnapshot(`
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"index": 0,
|
||||
"input0": Object {
|
||||
"input0": {
|
||||
"bytes": 10943622,
|
||||
"files": 0,
|
||||
"frames": 21,
|
||||
|
@ -47,10 +47,10 @@ describe('Stages', () => {
|
|||
it('works for output', () => {
|
||||
expect(STAGES.getByPartitionCountersForStage(STAGES.stages[2], 'output'))
|
||||
.toMatchInlineSnapshot(`
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"index": 0,
|
||||
"shuffle": Object {
|
||||
"shuffle": {
|
||||
"bytes": 257524,
|
||||
"files": 0,
|
||||
"frames": 1,
|
||||
|
@ -58,9 +58,9 @@ describe('Stages', () => {
|
|||
"totalFiles": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"index": 1,
|
||||
"shuffle": Object {
|
||||
"shuffle": {
|
||||
"bytes": 289731,
|
||||
"files": 0,
|
||||
"frames": 1,
|
||||
|
@ -68,9 +68,9 @@ describe('Stages', () => {
|
|||
"totalFiles": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"index": 2,
|
||||
"shuffle": Object {
|
||||
"shuffle": {
|
||||
"bytes": 412396,
|
||||
"files": 0,
|
||||
"frames": 1,
|
||||
|
@ -78,9 +78,9 @@ describe('Stages', () => {
|
|||
"totalFiles": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"index": 3,
|
||||
"shuffle": Object {
|
||||
"shuffle": {
|
||||
"bytes": 262388,
|
||||
"files": 0,
|
||||
"frames": 1,
|
||||
|
@ -88,9 +88,9 @@ describe('Stages', () => {
|
|||
"totalFiles": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"index": 4,
|
||||
"shuffle": Object {
|
||||
"shuffle": {
|
||||
"bytes": 170554,
|
||||
"files": 0,
|
||||
"frames": 1,
|
||||
|
@ -98,9 +98,9 @@ describe('Stages', () => {
|
|||
"totalFiles": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"index": 5,
|
||||
"shuffle": Object {
|
||||
"shuffle": {
|
||||
"bytes": 188324,
|
||||
"files": 0,
|
||||
"frames": 1,
|
||||
|
@ -108,9 +108,9 @@ describe('Stages', () => {
|
|||
"totalFiles": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"index": 6,
|
||||
"shuffle": Object {
|
||||
"shuffle": {
|
||||
"bytes": 92275,
|
||||
"files": 0,
|
||||
"frames": 1,
|
||||
|
@ -118,9 +118,9 @@ describe('Stages', () => {
|
|||
"totalFiles": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"index": 7,
|
||||
"shuffle": Object {
|
||||
"shuffle": {
|
||||
"bytes": 69531,
|
||||
"files": 0,
|
||||
"frames": 1,
|
||||
|
@ -128,9 +128,9 @@ describe('Stages', () => {
|
|||
"totalFiles": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"index": 8,
|
||||
"shuffle": Object {
|
||||
"shuffle": {
|
||||
"bytes": 65844,
|
||||
"files": 0,
|
||||
"frames": 1,
|
||||
|
@ -138,9 +138,9 @@ describe('Stages', () => {
|
|||
"totalFiles": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"index": 9,
|
||||
"shuffle": Object {
|
||||
"shuffle": {
|
||||
"bytes": 85875,
|
||||
"files": 0,
|
||||
"frames": 1,
|
||||
|
@ -148,9 +148,9 @@ describe('Stages', () => {
|
|||
"totalFiles": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"index": 10,
|
||||
"shuffle": Object {
|
||||
"shuffle": {
|
||||
"bytes": 71852,
|
||||
"files": 0,
|
||||
"frames": 1,
|
||||
|
@ -158,9 +158,9 @@ describe('Stages', () => {
|
|||
"totalFiles": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"index": 11,
|
||||
"shuffle": Object {
|
||||
"shuffle": {
|
||||
"bytes": 72512,
|
||||
"files": 0,
|
||||
"frames": 1,
|
||||
|
@ -168,9 +168,9 @@ describe('Stages', () => {
|
|||
"totalFiles": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"index": 12,
|
||||
"shuffle": Object {
|
||||
"shuffle": {
|
||||
"bytes": 123204,
|
||||
"files": 0,
|
||||
"frames": 1,
|
||||
|
@ -178,9 +178,9 @@ describe('Stages', () => {
|
|||
"totalFiles": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"index": 13,
|
||||
"shuffle": Object {
|
||||
"shuffle": {
|
||||
"bytes": 249217,
|
||||
"files": 0,
|
||||
"frames": 1,
|
||||
|
@ -188,9 +188,9 @@ describe('Stages', () => {
|
|||
"totalFiles": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"index": 14,
|
||||
"shuffle": Object {
|
||||
"shuffle": {
|
||||
"bytes": 399583,
|
||||
"files": 0,
|
||||
"frames": 1,
|
||||
|
@ -198,9 +198,9 @@ describe('Stages', () => {
|
|||
"totalFiles": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"index": 15,
|
||||
"shuffle": Object {
|
||||
"shuffle": {
|
||||
"bytes": 256916,
|
||||
"files": 0,
|
||||
"frames": 1,
|
||||
|
@ -208,9 +208,9 @@ describe('Stages', () => {
|
|||
"totalFiles": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"index": 16,
|
||||
"shuffle": Object {
|
||||
"shuffle": {
|
||||
"bytes": 1039927,
|
||||
"files": 0,
|
||||
"frames": 2,
|
||||
|
@ -218,9 +218,9 @@ describe('Stages', () => {
|
|||
"totalFiles": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"index": 17,
|
||||
"shuffle": Object {
|
||||
"shuffle": {
|
||||
"bytes": 1887893,
|
||||
"files": 0,
|
||||
"frames": 4,
|
||||
|
@ -228,9 +228,9 @@ describe('Stages', () => {
|
|||
"totalFiles": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"index": 18,
|
||||
"shuffle": Object {
|
||||
"shuffle": {
|
||||
"bytes": 1307287,
|
||||
"files": 0,
|
||||
"frames": 3,
|
||||
|
@ -238,9 +238,9 @@ describe('Stages', () => {
|
|||
"totalFiles": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"index": 19,
|
||||
"shuffle": Object {
|
||||
"shuffle": {
|
||||
"bytes": 1248166,
|
||||
"files": 0,
|
||||
"frames": 3,
|
||||
|
@ -248,9 +248,9 @@ describe('Stages', () => {
|
|||
"totalFiles": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"index": 20,
|
||||
"shuffle": Object {
|
||||
"shuffle": {
|
||||
"bytes": 1195593,
|
||||
"files": 0,
|
||||
"frames": 3,
|
||||
|
@ -258,9 +258,9 @@ describe('Stages', () => {
|
|||
"totalFiles": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"index": 21,
|
||||
"shuffle": Object {
|
||||
"shuffle": {
|
||||
"bytes": 738804,
|
||||
"files": 0,
|
||||
"frames": 2,
|
||||
|
@ -268,9 +268,9 @@ describe('Stages', () => {
|
|||
"totalFiles": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"index": 22,
|
||||
"shuffle": Object {
|
||||
"shuffle": {
|
||||
"bytes": 552485,
|
||||
"files": 0,
|
||||
"frames": 2,
|
||||
|
@ -278,9 +278,9 @@ describe('Stages', () => {
|
|||
"totalFiles": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"index": 23,
|
||||
"shuffle": Object {
|
||||
"shuffle": {
|
||||
"bytes": 418062,
|
||||
"files": 0,
|
||||
"frames": 1,
|
||||
|
|
|
@ -79,7 +79,8 @@ if (consoleConfig.baseURL) {
|
|||
UrlBaser.baseUrl = consoleConfig.baseURL;
|
||||
}
|
||||
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) {
|
||||
Object.assign(apiConfig.headers!, consoleConfig.customHeaders);
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import type { AxiosError, AxiosInstance, AxiosRequestConfig } from 'axios';
|
||||
import type { AxiosError, AxiosInstance, CreateAxiosDefaults } from 'axios';
|
||||
import axios from 'axios';
|
||||
import * as JSONBig from 'json-bigint-native';
|
||||
|
||||
|
@ -25,14 +25,14 @@ import { nonEmptyString } from '../utils';
|
|||
export class Api {
|
||||
static instance: AxiosInstance;
|
||||
|
||||
static initialize(config?: AxiosRequestConfig): void {
|
||||
static initialize(config?: CreateAxiosDefaults): void {
|
||||
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
|
||||
// show it as it will be more informative than the default "Request failed with status code xxx" message.
|
||||
Api.instance.interceptors.response.use(
|
||||
resp => resp,
|
||||
(error: AxiosError) => {
|
||||
(error: AxiosError<{ message?: string }>) => {
|
||||
const responseData = error.response?.data;
|
||||
const message = responseData?.message;
|
||||
if (nonEmptyString(message)) {
|
||||
|
@ -48,7 +48,7 @@ export class Api {
|
|||
);
|
||||
}
|
||||
|
||||
static getDefaultConfig(): AxiosRequestConfig {
|
||||
static getDefaultConfig(): CreateAxiosDefaults {
|
||||
return {
|
||||
headers: {},
|
||||
|
||||
|
|
|
@ -21,15 +21,15 @@ import { jodaFormatToRegExp } from './joda-to-regexp';
|
|||
describe('jodaFormatToRegExp', () => {
|
||||
it('works for common formats', () => {
|
||||
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(
|
||||
`"/^(?: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(
|
||||
`"/^(?: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(
|
||||
|
@ -37,7 +37,7 @@ describe('jodaFormatToRegExp', () => {
|
|||
);
|
||||
|
||||
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(
|
||||
|
|
|
@ -105,24 +105,24 @@ describe('sampler', () => {
|
|||
|
||||
it('works', () => {
|
||||
expect(guessDimensionsFromSampleResponse(sampleResponse)).toMatchInlineSnapshot(`
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"name": "isRobot",
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"createBitmapIndex": true,
|
||||
"multiValueHandling": "SORTED_ARRAY",
|
||||
"name": "channel",
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"createBitmapIndex": true,
|
||||
"multiValueHandling": "SORTED_ARRAY",
|
||||
"name": "flags",
|
||||
"type": "string",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"name": "isUnpatrolled",
|
||||
"type": "string",
|
||||
},
|
||||
|
|
|
@ -78,10 +78,10 @@ describe('sql', () => {
|
|||
const found = findAllSqlQueriesInText(text);
|
||||
|
||||
expect(found).toMatchInlineSnapshot(`
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"endOffset": 23,
|
||||
"endRowColumn": Object {
|
||||
"endRowColumn": {
|
||||
"column": 14,
|
||||
"row": 1,
|
||||
},
|
||||
|
@ -89,14 +89,14 @@ describe('sql', () => {
|
|||
"sql": "SELECT *
|
||||
FROM wikipedia",
|
||||
"startOffset": 0,
|
||||
"startRowColumn": Object {
|
||||
"startRowColumn": {
|
||||
"column": 0,
|
||||
"row": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"endOffset": 49,
|
||||
"endRowColumn": Object {
|
||||
"endRowColumn": {
|
||||
"column": 7,
|
||||
"row": 5,
|
||||
},
|
||||
|
@ -105,7 +105,7 @@ describe('sql', () => {
|
|||
FROM w2
|
||||
LIMIT 5",
|
||||
"startOffset": 25,
|
||||
"startRowColumn": Object {
|
||||
"startRowColumn": {
|
||||
"column": 0,
|
||||
"row": 3,
|
||||
},
|
||||
|
@ -127,36 +127,36 @@ describe('sql', () => {
|
|||
const found = findAllSqlQueriesInText(text);
|
||||
|
||||
expect(found).toMatchInlineSnapshot(`
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"endOffset": 101,
|
||||
"endRowColumn": Object {
|
||||
"endRowColumn": {
|
||||
"column": 15,
|
||||
"row": 5,
|
||||
},
|
||||
"index": 0,
|
||||
"sql": "SELECT
|
||||
\\"channel\\",
|
||||
COUNT(*) AS \\"Count\\"
|
||||
FROM (SELECT * FROM \\"wikipedia\\")
|
||||
"channel",
|
||||
COUNT(*) AS "Count"
|
||||
FROM (SELECT * FROM "wikipedia")
|
||||
GROUP BY 1
|
||||
ORDER BY 2 DESC",
|
||||
"startOffset": 0,
|
||||
"startRowColumn": Object {
|
||||
"startRowColumn": {
|
||||
"column": 0,
|
||||
"row": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"endOffset": 73,
|
||||
"endRowColumn": Object {
|
||||
"endRowColumn": {
|
||||
"column": 31,
|
||||
"row": 3,
|
||||
},
|
||||
"index": 1,
|
||||
"sql": "SELECT * FROM \\"wikipedia\\"",
|
||||
"sql": "SELECT * FROM "wikipedia"",
|
||||
"startOffset": 48,
|
||||
"startRowColumn": Object {
|
||||
"startRowColumn": {
|
||||
"column": 6,
|
||||
"row": 3,
|
||||
},
|
||||
|
@ -181,58 +181,58 @@ describe('sql', () => {
|
|||
const found = findAllSqlQueriesInText(text);
|
||||
|
||||
expect(found).toMatchInlineSnapshot(`
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"endOffset": 124,
|
||||
"endRowColumn": Object {
|
||||
"endRowColumn": {
|
||||
"column": 15,
|
||||
"row": 8,
|
||||
},
|
||||
"index": 0,
|
||||
"sql": "WITH w1 AS (
|
||||
SELECT channel, page FROM \\"wikipedia\\"
|
||||
SELECT channel, page FROM "wikipedia"
|
||||
)
|
||||
SELECT
|
||||
page,
|
||||
COUNT(*) AS \\"cnt\\"
|
||||
COUNT(*) AS "cnt"
|
||||
FROM w1
|
||||
GROUP BY 1
|
||||
ORDER BY 2 DESC",
|
||||
"startOffset": 0,
|
||||
"startRowColumn": Object {
|
||||
"startRowColumn": {
|
||||
"column": 0,
|
||||
"row": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"endOffset": 52,
|
||||
"endRowColumn": Object {
|
||||
"endRowColumn": {
|
||||
"column": 39,
|
||||
"row": 1,
|
||||
},
|
||||
"index": 1,
|
||||
"sql": "SELECT channel, page FROM \\"wikipedia\\"",
|
||||
"sql": "SELECT channel, page FROM "wikipedia"",
|
||||
"startOffset": 15,
|
||||
"startRowColumn": Object {
|
||||
"startRowColumn": {
|
||||
"column": 2,
|
||||
"row": 1,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"endOffset": 124,
|
||||
"endRowColumn": Object {
|
||||
"endRowColumn": {
|
||||
"column": 15,
|
||||
"row": 8,
|
||||
},
|
||||
"index": 2,
|
||||
"sql": "SELECT
|
||||
page,
|
||||
COUNT(*) AS \\"cnt\\"
|
||||
COUNT(*) AS "cnt"
|
||||
FROM w1
|
||||
GROUP BY 1
|
||||
ORDER BY 2 DESC",
|
||||
"startOffset": 55,
|
||||
"startRowColumn": Object {
|
||||
"startRowColumn": {
|
||||
"column": 0,
|
||||
"row": 3,
|
||||
},
|
||||
|
@ -266,80 +266,80 @@ describe('sql', () => {
|
|||
const found = findAllSqlQueriesInText(text);
|
||||
|
||||
expect(found).toMatchInlineSnapshot(`
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"endOffset": 29,
|
||||
"endRowColumn": Object {
|
||||
"endRowColumn": {
|
||||
"column": 7,
|
||||
"row": 2,
|
||||
},
|
||||
"index": 0,
|
||||
"sql": "SELECT * FROM \\"wiki\\"",
|
||||
"sql": "SELECT * FROM "wiki"",
|
||||
"startOffset": 0,
|
||||
"startRowColumn": Object {
|
||||
"startRowColumn": {
|
||||
"column": 0,
|
||||
"row": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"endOffset": 401,
|
||||
"endRowColumn": Object {
|
||||
"endRowColumn": {
|
||||
"column": 18,
|
||||
"row": 17,
|
||||
},
|
||||
"index": 1,
|
||||
"sql": "REPLACE INTO \\"wikipedia\\" OVERWRITE ALL
|
||||
WITH \\"ext\\" AS (
|
||||
"sql": "REPLACE INTO "wikipedia" OVERWRITE ALL
|
||||
WITH "ext" AS (
|
||||
SELECT *
|
||||
FROM TABLE(
|
||||
EXTERN(
|
||||
'{\\"type\\":\\"http\\",\\"uris\\":[\\"https://druid.apache.org/data/wikipedia.json.gz\\"]}',
|
||||
'{\\"type\\":\\"json\\"}'
|
||||
'{"type":"http","uris":["https://druid.apache.org/data/wikipedia.json.gz"]}',
|
||||
'{"type":"json"}'
|
||||
)
|
||||
) EXTEND (\\"isRobot\\" VARCHAR, \\"channel\\" VARCHAR, \\"timestamp\\" VARCHAR)
|
||||
) EXTEND ("isRobot" VARCHAR, "channel" VARCHAR, "timestamp" VARCHAR)
|
||||
)
|
||||
SELECT
|
||||
TIME_PARSE(\\"timestamp\\") AS \\"__time\\",
|
||||
\\"isRobot\\",
|
||||
\\"channel\\"
|
||||
FROM \\"ext\\"
|
||||
TIME_PARSE("timestamp") AS "__time",
|
||||
"isRobot",
|
||||
"channel"
|
||||
FROM "ext"
|
||||
PARTITIONED BY DAY",
|
||||
"startOffset": 22,
|
||||
"startRowColumn": Object {
|
||||
"startRowColumn": {
|
||||
"column": 0,
|
||||
"row": 2,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"endOffset": 382,
|
||||
"endRowColumn": Object {
|
||||
"endRowColumn": {
|
||||
"column": 10,
|
||||
"row": 16,
|
||||
},
|
||||
"index": 2,
|
||||
"sql": "WITH \\"ext\\" AS (
|
||||
"sql": "WITH "ext" AS (
|
||||
SELECT *
|
||||
FROM TABLE(
|
||||
EXTERN(
|
||||
'{\\"type\\":\\"http\\",\\"uris\\":[\\"https://druid.apache.org/data/wikipedia.json.gz\\"]}',
|
||||
'{\\"type\\":\\"json\\"}'
|
||||
'{"type":"http","uris":["https://druid.apache.org/data/wikipedia.json.gz"]}',
|
||||
'{"type":"json"}'
|
||||
)
|
||||
) EXTEND (\\"isRobot\\" VARCHAR, \\"channel\\" VARCHAR, \\"timestamp\\" VARCHAR)
|
||||
) EXTEND ("isRobot" VARCHAR, "channel" VARCHAR, "timestamp" VARCHAR)
|
||||
)
|
||||
SELECT
|
||||
TIME_PARSE(\\"timestamp\\") AS \\"__time\\",
|
||||
\\"isRobot\\",
|
||||
\\"channel\\"
|
||||
FROM \\"ext\\"",
|
||||
TIME_PARSE("timestamp") AS "__time",
|
||||
"isRobot",
|
||||
"channel"
|
||||
FROM "ext"",
|
||||
"startOffset": 61,
|
||||
"startRowColumn": Object {
|
||||
"startRowColumn": {
|
||||
"column": 0,
|
||||
"row": 3,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"endOffset": 298,
|
||||
"endRowColumn": Object {
|
||||
"endRowColumn": {
|
||||
"column": 70,
|
||||
"row": 10,
|
||||
},
|
||||
|
@ -347,30 +347,30 @@ describe('sql', () => {
|
|||
"sql": "SELECT *
|
||||
FROM TABLE(
|
||||
EXTERN(
|
||||
'{\\"type\\":\\"http\\",\\"uris\\":[\\"https://druid.apache.org/data/wikipedia.json.gz\\"]}',
|
||||
'{\\"type\\":\\"json\\"}'
|
||||
'{"type":"http","uris":["https://druid.apache.org/data/wikipedia.json.gz"]}',
|
||||
'{"type":"json"}'
|
||||
)
|
||||
) EXTEND (\\"isRobot\\" VARCHAR, \\"channel\\" VARCHAR, \\"timestamp\\" VARCHAR)",
|
||||
) EXTEND ("isRobot" VARCHAR, "channel" VARCHAR, "timestamp" VARCHAR)",
|
||||
"startOffset": 79,
|
||||
"startRowColumn": Object {
|
||||
"startRowColumn": {
|
||||
"column": 2,
|
||||
"row": 4,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"endOffset": 382,
|
||||
"endRowColumn": Object {
|
||||
"endRowColumn": {
|
||||
"column": 10,
|
||||
"row": 16,
|
||||
},
|
||||
"index": 4,
|
||||
"sql": "SELECT
|
||||
TIME_PARSE(\\"timestamp\\") AS \\"__time\\",
|
||||
\\"isRobot\\",
|
||||
\\"channel\\"
|
||||
FROM \\"ext\\"",
|
||||
TIME_PARSE("timestamp") AS "__time",
|
||||
"isRobot",
|
||||
"channel"
|
||||
FROM "ext"",
|
||||
"startOffset": 301,
|
||||
"startRowColumn": Object {
|
||||
"startRowColumn": {
|
||||
"column": 0,
|
||||
"row": 12,
|
||||
},
|
||||
|
@ -404,98 +404,98 @@ describe('sql', () => {
|
|||
const found = findAllSqlQueriesInText(text);
|
||||
|
||||
expect(found).toMatchInlineSnapshot(`
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"endOffset": 404,
|
||||
"endRowColumn": Object {
|
||||
"endRowColumn": {
|
||||
"column": 22,
|
||||
"row": 17,
|
||||
},
|
||||
"index": 0,
|
||||
"sql": "EXPLAIN PLAN FOR
|
||||
INSERT INTO \\"wikipedia\\"
|
||||
WITH \\"ext\\" AS (
|
||||
INSERT INTO "wikipedia"
|
||||
WITH "ext" AS (
|
||||
SELECT *
|
||||
FROM TABLE(
|
||||
EXTERN(
|
||||
'{\\"type\\":\\"http\\",\\"uris\\":[\\"https://druid.apache.org/data/wikipedia.json.gz\\"]}',
|
||||
'{\\"type\\":\\"json\\"}'
|
||||
'{"type":"http","uris":["https://druid.apache.org/data/wikipedia.json.gz"]}',
|
||||
'{"type":"json"}'
|
||||
)
|
||||
) EXTEND (\\"isRobot\\" VARCHAR, \\"channel\\" VARCHAR, \\"timestamp\\" VARCHAR)
|
||||
) EXTEND ("isRobot" VARCHAR, "channel" VARCHAR, "timestamp" VARCHAR)
|
||||
)
|
||||
SELECT
|
||||
TIME_PARSE(\\"timestamp\\") AS \\"__time\\",
|
||||
\\"isRobot\\",
|
||||
\\"channel\\"
|
||||
FROM \\"ext\\"
|
||||
TIME_PARSE("timestamp") AS "__time",
|
||||
"isRobot",
|
||||
"channel"
|
||||
FROM "ext"
|
||||
PARTITIONED BY DAY
|
||||
CLUSTERED BY \\"channel\\"",
|
||||
CLUSTERED BY "channel"",
|
||||
"startOffset": 0,
|
||||
"startRowColumn": Object {
|
||||
"startRowColumn": {
|
||||
"column": 0,
|
||||
"row": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"endOffset": 404,
|
||||
"endRowColumn": Object {
|
||||
"endRowColumn": {
|
||||
"column": 22,
|
||||
"row": 17,
|
||||
},
|
||||
"index": 1,
|
||||
"sql": "INSERT INTO \\"wikipedia\\"
|
||||
WITH \\"ext\\" AS (
|
||||
"sql": "INSERT INTO "wikipedia"
|
||||
WITH "ext" AS (
|
||||
SELECT *
|
||||
FROM TABLE(
|
||||
EXTERN(
|
||||
'{\\"type\\":\\"http\\",\\"uris\\":[\\"https://druid.apache.org/data/wikipedia.json.gz\\"]}',
|
||||
'{\\"type\\":\\"json\\"}'
|
||||
'{"type":"http","uris":["https://druid.apache.org/data/wikipedia.json.gz"]}',
|
||||
'{"type":"json"}'
|
||||
)
|
||||
) EXTEND (\\"isRobot\\" VARCHAR, \\"channel\\" VARCHAR, \\"timestamp\\" VARCHAR)
|
||||
) EXTEND ("isRobot" VARCHAR, "channel" VARCHAR, "timestamp" VARCHAR)
|
||||
)
|
||||
SELECT
|
||||
TIME_PARSE(\\"timestamp\\") AS \\"__time\\",
|
||||
\\"isRobot\\",
|
||||
\\"channel\\"
|
||||
FROM \\"ext\\"
|
||||
TIME_PARSE("timestamp") AS "__time",
|
||||
"isRobot",
|
||||
"channel"
|
||||
FROM "ext"
|
||||
PARTITIONED BY DAY
|
||||
CLUSTERED BY \\"channel\\"",
|
||||
CLUSTERED BY "channel"",
|
||||
"startOffset": 17,
|
||||
"startRowColumn": Object {
|
||||
"startRowColumn": {
|
||||
"column": 0,
|
||||
"row": 1,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"endOffset": 362,
|
||||
"endRowColumn": Object {
|
||||
"endRowColumn": {
|
||||
"column": 10,
|
||||
"row": 15,
|
||||
},
|
||||
"index": 2,
|
||||
"sql": "WITH \\"ext\\" AS (
|
||||
"sql": "WITH "ext" AS (
|
||||
SELECT *
|
||||
FROM TABLE(
|
||||
EXTERN(
|
||||
'{\\"type\\":\\"http\\",\\"uris\\":[\\"https://druid.apache.org/data/wikipedia.json.gz\\"]}',
|
||||
'{\\"type\\":\\"json\\"}'
|
||||
'{"type":"http","uris":["https://druid.apache.org/data/wikipedia.json.gz"]}',
|
||||
'{"type":"json"}'
|
||||
)
|
||||
) EXTEND (\\"isRobot\\" VARCHAR, \\"channel\\" VARCHAR, \\"timestamp\\" VARCHAR)
|
||||
) EXTEND ("isRobot" VARCHAR, "channel" VARCHAR, "timestamp" VARCHAR)
|
||||
)
|
||||
SELECT
|
||||
TIME_PARSE(\\"timestamp\\") AS \\"__time\\",
|
||||
\\"isRobot\\",
|
||||
\\"channel\\"
|
||||
FROM \\"ext\\"",
|
||||
TIME_PARSE("timestamp") AS "__time",
|
||||
"isRobot",
|
||||
"channel"
|
||||
FROM "ext"",
|
||||
"startOffset": 41,
|
||||
"startRowColumn": Object {
|
||||
"startRowColumn": {
|
||||
"column": 0,
|
||||
"row": 2,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"endOffset": 278,
|
||||
"endRowColumn": Object {
|
||||
"endRowColumn": {
|
||||
"column": 70,
|
||||
"row": 9,
|
||||
},
|
||||
|
@ -503,30 +503,30 @@ describe('sql', () => {
|
|||
"sql": "SELECT *
|
||||
FROM TABLE(
|
||||
EXTERN(
|
||||
'{\\"type\\":\\"http\\",\\"uris\\":[\\"https://druid.apache.org/data/wikipedia.json.gz\\"]}',
|
||||
'{\\"type\\":\\"json\\"}'
|
||||
'{"type":"http","uris":["https://druid.apache.org/data/wikipedia.json.gz"]}',
|
||||
'{"type":"json"}'
|
||||
)
|
||||
) EXTEND (\\"isRobot\\" VARCHAR, \\"channel\\" VARCHAR, \\"timestamp\\" VARCHAR)",
|
||||
) EXTEND ("isRobot" VARCHAR, "channel" VARCHAR, "timestamp" VARCHAR)",
|
||||
"startOffset": 59,
|
||||
"startRowColumn": Object {
|
||||
"startRowColumn": {
|
||||
"column": 2,
|
||||
"row": 3,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"endOffset": 362,
|
||||
"endRowColumn": Object {
|
||||
"endRowColumn": {
|
||||
"column": 10,
|
||||
"row": 15,
|
||||
},
|
||||
"index": 4,
|
||||
"sql": "SELECT
|
||||
TIME_PARSE(\\"timestamp\\") AS \\"__time\\",
|
||||
\\"isRobot\\",
|
||||
\\"channel\\"
|
||||
FROM \\"ext\\"",
|
||||
TIME_PARSE("timestamp") AS "__time",
|
||||
"isRobot",
|
||||
"channel"
|
||||
FROM "ext"",
|
||||
"startOffset": 281,
|
||||
"startRowColumn": Object {
|
||||
"startRowColumn": {
|
||||
"column": 0,
|
||||
"row": 11,
|
||||
},
|
||||
|
@ -551,10 +551,10 @@ describe('sql', () => {
|
|||
const found = findAllSqlQueriesInText(text);
|
||||
|
||||
expect(found).toMatchInlineSnapshot(`
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"endOffset": 40,
|
||||
"endRowColumn": Object {
|
||||
"endRowColumn": {
|
||||
"column": 14,
|
||||
"row": 2,
|
||||
},
|
||||
|
@ -563,14 +563,14 @@ describe('sql', () => {
|
|||
SELECT *
|
||||
FROM wikipedia",
|
||||
"startOffset": 0,
|
||||
"startRowColumn": Object {
|
||||
"startRowColumn": {
|
||||
"column": 0,
|
||||
"row": 0,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"endOffset": 40,
|
||||
"endRowColumn": Object {
|
||||
"endRowColumn": {
|
||||
"column": 14,
|
||||
"row": 2,
|
||||
},
|
||||
|
@ -578,14 +578,14 @@ describe('sql', () => {
|
|||
"sql": "SELECT *
|
||||
FROM wikipedia",
|
||||
"startOffset": 17,
|
||||
"startRowColumn": Object {
|
||||
"startRowColumn": {
|
||||
"column": 0,
|
||||
"row": 1,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"endOffset": 83,
|
||||
"endRowColumn": Object {
|
||||
"endRowColumn": {
|
||||
"column": 7,
|
||||
"row": 7,
|
||||
},
|
||||
|
@ -595,14 +595,14 @@ describe('sql', () => {
|
|||
FROM w2
|
||||
LIMIT 5",
|
||||
"startOffset": 42,
|
||||
"startRowColumn": Object {
|
||||
"startRowColumn": {
|
||||
"column": 0,
|
||||
"row": 4,
|
||||
},
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"endOffset": 83,
|
||||
"endRowColumn": Object {
|
||||
"endRowColumn": {
|
||||
"column": 7,
|
||||
"row": 7,
|
||||
},
|
||||
|
@ -611,7 +611,7 @@ describe('sql', () => {
|
|||
FROM w2
|
||||
LIMIT 5",
|
||||
"startOffset": 59,
|
||||
"startRowColumn": Object {
|
||||
"startRowColumn": {
|
||||
"column": 0,
|
||||
"row": 5,
|
||||
},
|
||||
|
|
|
@ -68,37 +68,37 @@ describe('utils', () => {
|
|||
],
|
||||
),
|
||||
).toMatchInlineSnapshot(`
|
||||
Object {
|
||||
"samplerConfig": Object {
|
||||
{
|
||||
"samplerConfig": {
|
||||
"numRows": 500,
|
||||
"timeoutMs": 15000,
|
||||
},
|
||||
"spec": Object {
|
||||
"dataSchema": Object {
|
||||
"spec": {
|
||||
"dataSchema": {
|
||||
"dataSource": "wikipedia",
|
||||
"dimensionsSpec": Object {},
|
||||
"granularitySpec": Object {
|
||||
"dimensionsSpec": {},
|
||||
"granularitySpec": {
|
||||
"queryGranularity": "hour",
|
||||
"segmentGranularity": "day",
|
||||
},
|
||||
"timestampSpec": Object {
|
||||
"timestampSpec": {
|
||||
"column": "timestamp",
|
||||
"format": "iso",
|
||||
},
|
||||
},
|
||||
"ioConfig": Object {
|
||||
"inputFormat": Object {
|
||||
"ioConfig": {
|
||||
"inputFormat": {
|
||||
"keepNullColumns": true,
|
||||
"type": "json",
|
||||
},
|
||||
"inputSource": Object {
|
||||
"data": "{\\"make\\":\\"Honda\\",\\"model\\":\\"Accord\\"}
|
||||
{\\"make\\":\\"Toyota\\",\\"model\\":\\"Prius\\"}",
|
||||
"inputSource": {
|
||||
"data": "{"make":"Honda","model":"Accord"}
|
||||
{"make":"Toyota","model":"Prius"}",
|
||||
"type": "inline",
|
||||
},
|
||||
"type": "index",
|
||||
},
|
||||
"tuningConfig": Object {
|
||||
"tuningConfig": {
|
||||
"type": "index_parallel",
|
||||
},
|
||||
"type": "index",
|
||||
|
|
|
@ -21,7 +21,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
label="(debug)"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Force compaction run"
|
||||
|
@ -34,7 +34,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
icon="application"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="View SQL query for table"
|
||||
|
@ -45,7 +45,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
icon="edit"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Edit default retention rules"
|
||||
|
@ -65,7 +65,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
/>
|
||||
<Memo(TableColumnSelector)
|
||||
columns={
|
||||
Array [
|
||||
[
|
||||
"Datasource name",
|
||||
"Availability",
|
||||
"Historical load/drop queues",
|
||||
|
@ -87,7 +87,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
onChange={[Function]}
|
||||
onClose={[Function]}
|
||||
tableColumnsHidden={
|
||||
Array [
|
||||
[
|
||||
"Segment size",
|
||||
"Segment granularity",
|
||||
]
|
||||
|
@ -118,7 +118,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
collapseOnPageChange={true}
|
||||
collapseOnSortingChange={true}
|
||||
column={
|
||||
Object {
|
||||
{
|
||||
"Aggregated": undefined,
|
||||
"Cell": undefined,
|
||||
"Expander": undefined,
|
||||
|
@ -134,24 +134,24 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
"filterMethod": undefined,
|
||||
"filterable": undefined,
|
||||
"footerClassName": "",
|
||||
"footerStyle": Object {},
|
||||
"footerStyle": {},
|
||||
"getFooterProps": [Function],
|
||||
"getHeaderProps": [Function],
|
||||
"getProps": [Function],
|
||||
"headerClassName": "",
|
||||
"headerStyle": Object {},
|
||||
"headerStyle": {},
|
||||
"minResizeWidth": 11,
|
||||
"minWidth": 100,
|
||||
"resizable": undefined,
|
||||
"show": true,
|
||||
"sortMethod": undefined,
|
||||
"sortable": undefined,
|
||||
"style": Object {},
|
||||
"style": {},
|
||||
}
|
||||
}
|
||||
columns={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": <React.Fragment>
|
||||
Datasource
|
||||
|
@ -162,7 +162,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 150,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Availability",
|
||||
"accessor": "num_segments",
|
||||
|
@ -172,7 +172,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
"sortMethod": [Function],
|
||||
"width": 220,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": <React.Fragment>
|
||||
Historical
|
||||
|
@ -185,7 +185,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 180,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": <React.Fragment>
|
||||
Total
|
||||
|
@ -198,7 +198,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 100,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Running tasks",
|
||||
"accessor": [Function],
|
||||
|
@ -207,7 +207,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 200,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": <React.Fragment>
|
||||
Segment rows
|
||||
|
@ -220,7 +220,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 230,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": <React.Fragment>
|
||||
Segment size
|
||||
|
@ -233,7 +233,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
"show": false,
|
||||
"width": 270,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": <React.Fragment>
|
||||
Segment
|
||||
|
@ -247,7 +247,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
"show": false,
|
||||
"width": 100,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": <React.Fragment>
|
||||
Total
|
||||
|
@ -260,7 +260,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 110,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": <React.Fragment>
|
||||
Avg. row size
|
||||
|
@ -273,7 +273,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 100,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": <React.Fragment>
|
||||
Replicated
|
||||
|
@ -286,7 +286,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 100,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Compaction",
|
||||
"accessor": [Function],
|
||||
|
@ -295,7 +295,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 180,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": <React.Fragment>
|
||||
% Compacted
|
||||
|
@ -309,7 +309,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 200,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": <React.Fragment>
|
||||
Left to be
|
||||
|
@ -323,7 +323,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 100,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Retention",
|
||||
"accessor": [Function],
|
||||
|
@ -332,7 +332,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 200,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Actions",
|
||||
"accessor": "datasource",
|
||||
|
@ -343,18 +343,18 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
},
|
||||
]
|
||||
}
|
||||
data={Array []}
|
||||
defaultExpanded={Object {}}
|
||||
data={[]}
|
||||
defaultExpanded={{}}
|
||||
defaultFilterMethod={[Function]}
|
||||
defaultFiltered={Array []}
|
||||
defaultFiltered={[]}
|
||||
defaultPage={0}
|
||||
defaultPageSize={50}
|
||||
defaultResized={Array []}
|
||||
defaultResized={[]}
|
||||
defaultSortDesc={false}
|
||||
defaultSortMethod={[Function]}
|
||||
defaultSorted={Array []}
|
||||
defaultSorted={[]}
|
||||
expanderDefaults={
|
||||
Object {
|
||||
{
|
||||
"filterable": false,
|
||||
"resizable": false,
|
||||
"sortable": false,
|
||||
|
@ -362,7 +362,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
}
|
||||
}
|
||||
filterable={true}
|
||||
filtered={Array []}
|
||||
filtered={[]}
|
||||
freezeWhenExpanded={false}
|
||||
getLoadingProps={[Function]}
|
||||
getNoDataProps={[Function]}
|
||||
|
@ -400,14 +400,14 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
originalKey="_original"
|
||||
pageJumpText="jump to page"
|
||||
pageSizeOptions={
|
||||
Array [
|
||||
[
|
||||
50,
|
||||
100,
|
||||
200,
|
||||
]
|
||||
}
|
||||
pageText="Page"
|
||||
pivotDefaults={Object {}}
|
||||
pivotDefaults={{}}
|
||||
pivotIDKey="_pivotID"
|
||||
pivotValKey="_pivotVal"
|
||||
previousText="Previous"
|
||||
|
@ -421,7 +421,7 @@ exports[`DatasourcesView matches snapshot 1`] = `
|
|||
showPaginationBottom={true}
|
||||
showPaginationTop={false}
|
||||
sortable={true}
|
||||
style={Object {}}
|
||||
style={{}}
|
||||
subRowsKey="_subRows"
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -18,7 +18,7 @@ exports[`LookupsView matches snapshot 1`] = `
|
|||
/>
|
||||
<Memo(TableColumnSelector)
|
||||
columns={
|
||||
Array [
|
||||
[
|
||||
"Lookup name",
|
||||
"Lookup tier",
|
||||
"Type",
|
||||
|
@ -29,7 +29,7 @@ exports[`LookupsView matches snapshot 1`] = `
|
|||
]
|
||||
}
|
||||
onChange={[Function]}
|
||||
tableColumnsHidden={Array []}
|
||||
tableColumnsHidden={[]}
|
||||
/>
|
||||
</Memo(ViewControlBar)>
|
||||
<ReactTable
|
||||
|
@ -56,7 +56,7 @@ exports[`LookupsView matches snapshot 1`] = `
|
|||
collapseOnPageChange={true}
|
||||
collapseOnSortingChange={true}
|
||||
column={
|
||||
Object {
|
||||
{
|
||||
"Aggregated": undefined,
|
||||
"Cell": undefined,
|
||||
"Expander": undefined,
|
||||
|
@ -72,24 +72,24 @@ exports[`LookupsView matches snapshot 1`] = `
|
|||
"filterMethod": undefined,
|
||||
"filterable": undefined,
|
||||
"footerClassName": "",
|
||||
"footerStyle": Object {},
|
||||
"footerStyle": {},
|
||||
"getFooterProps": [Function],
|
||||
"getHeaderProps": [Function],
|
||||
"getProps": [Function],
|
||||
"headerClassName": "",
|
||||
"headerStyle": Object {},
|
||||
"headerStyle": {},
|
||||
"minResizeWidth": 11,
|
||||
"minWidth": 100,
|
||||
"resizable": undefined,
|
||||
"show": true,
|
||||
"sortMethod": undefined,
|
||||
"sortable": undefined,
|
||||
"style": Object {},
|
||||
"style": {},
|
||||
}
|
||||
}
|
||||
columns={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Lookup name",
|
||||
"accessor": "id",
|
||||
|
@ -98,7 +98,7 @@ exports[`LookupsView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 200,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Lookup tier",
|
||||
"accessor": "tier",
|
||||
|
@ -107,7 +107,7 @@ exports[`LookupsView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 100,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Type",
|
||||
"accessor": "spec.type",
|
||||
|
@ -116,7 +116,7 @@ exports[`LookupsView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 150,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Version",
|
||||
"accessor": "version",
|
||||
|
@ -125,7 +125,7 @@ exports[`LookupsView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 190,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Poll period",
|
||||
"accessor": [Function],
|
||||
|
@ -134,7 +134,7 @@ exports[`LookupsView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 150,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Summary",
|
||||
"accessor": [Function],
|
||||
|
@ -142,7 +142,7 @@ exports[`LookupsView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 600,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Actions",
|
||||
"accessor": "id",
|
||||
|
@ -153,25 +153,25 @@ exports[`LookupsView matches snapshot 1`] = `
|
|||
},
|
||||
]
|
||||
}
|
||||
data={Array []}
|
||||
defaultExpanded={Object {}}
|
||||
data={[]}
|
||||
defaultExpanded={{}}
|
||||
defaultFilterMethod={[Function]}
|
||||
defaultFiltered={Array []}
|
||||
defaultFiltered={[]}
|
||||
defaultPage={0}
|
||||
defaultPageSize={50}
|
||||
defaultResized={Array []}
|
||||
defaultResized={[]}
|
||||
defaultSortDesc={false}
|
||||
defaultSortMethod={[Function]}
|
||||
defaultSorted={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"desc": false,
|
||||
"id": "lookup_name",
|
||||
},
|
||||
]
|
||||
}
|
||||
expanderDefaults={
|
||||
Object {
|
||||
{
|
||||
"filterable": false,
|
||||
"resizable": false,
|
||||
"sortable": false,
|
||||
|
@ -179,7 +179,7 @@ exports[`LookupsView matches snapshot 1`] = `
|
|||
}
|
||||
}
|
||||
filterable={true}
|
||||
filtered={Array []}
|
||||
filtered={[]}
|
||||
freezeWhenExpanded={false}
|
||||
getLoadingProps={[Function]}
|
||||
getNoDataProps={[Function]}
|
||||
|
@ -217,14 +217,14 @@ exports[`LookupsView matches snapshot 1`] = `
|
|||
originalKey="_original"
|
||||
pageJumpText="jump to page"
|
||||
pageSizeOptions={
|
||||
Array [
|
||||
[
|
||||
50,
|
||||
100,
|
||||
200,
|
||||
]
|
||||
}
|
||||
pageText="Page"
|
||||
pivotDefaults={Object {}}
|
||||
pivotDefaults={{}}
|
||||
pivotIDKey="_pivotID"
|
||||
pivotValKey="_pivotVal"
|
||||
previousText="Previous"
|
||||
|
@ -238,7 +238,7 @@ exports[`LookupsView matches snapshot 1`] = `
|
|||
showPaginationBottom={true}
|
||||
showPaginationTop={false}
|
||||
sortable={true}
|
||||
style={Object {}}
|
||||
style={{}}
|
||||
subRowsKey="_subRows"
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -36,7 +36,7 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
icon="application"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="View SQL query for table"
|
||||
|
@ -50,7 +50,7 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
/>
|
||||
<Memo(TableColumnSelector)
|
||||
columns={
|
||||
Array [
|
||||
[
|
||||
"Segment ID",
|
||||
"Datasource",
|
||||
"Start",
|
||||
|
@ -76,7 +76,7 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
onChange={[Function]}
|
||||
onClose={[Function]}
|
||||
tableColumnsHidden={
|
||||
Array [
|
||||
[
|
||||
"Time span",
|
||||
"Is published",
|
||||
"Is overshadowed",
|
||||
|
@ -108,7 +108,7 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
collapseOnPageChange={true}
|
||||
collapseOnSortingChange={true}
|
||||
column={
|
||||
Object {
|
||||
{
|
||||
"Aggregated": undefined,
|
||||
"Cell": undefined,
|
||||
"Expander": undefined,
|
||||
|
@ -124,24 +124,24 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
"filterMethod": undefined,
|
||||
"filterable": undefined,
|
||||
"footerClassName": "",
|
||||
"footerStyle": Object {},
|
||||
"footerStyle": {},
|
||||
"getFooterProps": [Function],
|
||||
"getHeaderProps": [Function],
|
||||
"getProps": [Function],
|
||||
"headerClassName": "",
|
||||
"headerStyle": Object {},
|
||||
"headerStyle": {},
|
||||
"minResizeWidth": 11,
|
||||
"minWidth": 100,
|
||||
"resizable": undefined,
|
||||
"show": true,
|
||||
"sortMethod": undefined,
|
||||
"sortable": undefined,
|
||||
"style": Object {},
|
||||
"style": {},
|
||||
}
|
||||
}
|
||||
columns={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Segment ID",
|
||||
"accessor": "segment_id",
|
||||
|
@ -150,14 +150,14 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
"sortable": true,
|
||||
"width": 280,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Datasource",
|
||||
"accessor": "datasource",
|
||||
"show": true,
|
||||
"width": 140,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Interval",
|
||||
"accessor": "interval",
|
||||
|
@ -167,7 +167,7 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
"sortable": true,
|
||||
"width": 120,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Start",
|
||||
"accessor": "start",
|
||||
|
@ -178,7 +178,7 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
"sortable": true,
|
||||
"width": 160,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "End",
|
||||
"accessor": "end",
|
||||
|
@ -189,7 +189,7 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
"sortable": true,
|
||||
"width": 160,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Version",
|
||||
"accessor": "version",
|
||||
|
@ -199,7 +199,7 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
"sortable": true,
|
||||
"width": 160,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Time span",
|
||||
"accessor": "time_span",
|
||||
|
@ -208,7 +208,7 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
"sortable": true,
|
||||
"width": 100,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Shard type",
|
||||
"accessor": [Function],
|
||||
|
@ -217,7 +217,7 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
"sortable": false,
|
||||
"width": 100,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Aggregated": [Function],
|
||||
"Cell": [Function],
|
||||
"Header": "Shard spec",
|
||||
|
@ -228,7 +228,7 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
"sortable": false,
|
||||
"width": 400,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Header": "Partition",
|
||||
"accessor": "partition_num",
|
||||
"className": "padded",
|
||||
|
@ -237,7 +237,7 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
"sortable": true,
|
||||
"width": 60,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Size",
|
||||
"accessor": "size",
|
||||
|
@ -248,7 +248,7 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
"sortable": true,
|
||||
"width": 120,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Num rows",
|
||||
"accessor": "num_rows",
|
||||
|
@ -258,7 +258,7 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 120,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": <React.Fragment>
|
||||
Avg. row size
|
||||
|
@ -273,7 +273,7 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 100,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Header": <React.Fragment>
|
||||
Replicas
|
||||
<br />
|
||||
|
@ -288,7 +288,7 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 80,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Header": <React.Fragment>
|
||||
Replication factor
|
||||
<br />
|
||||
|
@ -303,7 +303,7 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 80,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Filter": [Function],
|
||||
"Header": "Is available",
|
||||
"accessor": [Function],
|
||||
|
@ -312,7 +312,7 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 100,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Filter": [Function],
|
||||
"Header": "Is active",
|
||||
"accessor": [Function],
|
||||
|
@ -321,7 +321,7 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 100,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Filter": [Function],
|
||||
"Header": "Is realtime",
|
||||
"accessor": [Function],
|
||||
|
@ -330,7 +330,7 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 100,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Filter": [Function],
|
||||
"Header": "Is published",
|
||||
"accessor": [Function],
|
||||
|
@ -339,7 +339,7 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
"show": false,
|
||||
"width": 100,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Filter": [Function],
|
||||
"Header": "Is overshadowed",
|
||||
"accessor": [Function],
|
||||
|
@ -348,7 +348,7 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
"show": false,
|
||||
"width": 100,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Aggregated": [Function],
|
||||
"Cell": [Function],
|
||||
"Header": "Actions",
|
||||
|
@ -360,25 +360,25 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
},
|
||||
]
|
||||
}
|
||||
data={Array []}
|
||||
defaultExpanded={Object {}}
|
||||
data={[]}
|
||||
defaultExpanded={{}}
|
||||
defaultFilterMethod={[Function]}
|
||||
defaultFiltered={Array []}
|
||||
defaultFiltered={[]}
|
||||
defaultPage={0}
|
||||
defaultPageSize={50}
|
||||
defaultResized={Array []}
|
||||
defaultResized={[]}
|
||||
defaultSortDesc={false}
|
||||
defaultSortMethod={[Function]}
|
||||
defaultSorted={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"desc": true,
|
||||
"id": "start",
|
||||
},
|
||||
]
|
||||
}
|
||||
expanderDefaults={
|
||||
Object {
|
||||
{
|
||||
"filterable": false,
|
||||
"resizable": false,
|
||||
"sortable": false,
|
||||
|
@ -386,7 +386,7 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
}
|
||||
}
|
||||
filterable={true}
|
||||
filtered={Array []}
|
||||
filtered={[]}
|
||||
freezeWhenExpanded={false}
|
||||
getLoadingProps={[Function]}
|
||||
getNoDataProps={[Function]}
|
||||
|
@ -425,7 +425,7 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
originalKey="_original"
|
||||
pageJumpText="jump to page"
|
||||
pageSizeOptions={
|
||||
Array [
|
||||
[
|
||||
50,
|
||||
100,
|
||||
200,
|
||||
|
@ -433,8 +433,8 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
}
|
||||
pageText="Page"
|
||||
pages={10000000}
|
||||
pivotBy={Array []}
|
||||
pivotDefaults={Object {}}
|
||||
pivotBy={[]}
|
||||
pivotDefaults={{}}
|
||||
pivotIDKey="_pivotID"
|
||||
pivotValKey="_pivotVal"
|
||||
previousText="Previous"
|
||||
|
@ -448,7 +448,7 @@ exports[`SegmentsView matches snapshot 1`] = `
|
|||
showPaginationBottom={true}
|
||||
showPaginationTop={false}
|
||||
sortable={true}
|
||||
style={Object {}}
|
||||
style={{}}
|
||||
subRowsKey="_subRows"
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -41,7 +41,7 @@ exports[`ServicesView renders data 1`] = `
|
|||
icon="application"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="View SQL query for table"
|
||||
|
@ -49,7 +49,7 @@ exports[`ServicesView renders data 1`] = `
|
|||
</Memo(MoreButton)>
|
||||
<Memo(TableColumnSelector)
|
||||
columns={
|
||||
Array [
|
||||
[
|
||||
"Service",
|
||||
"Type",
|
||||
"Tier",
|
||||
|
@ -64,7 +64,7 @@ exports[`ServicesView renders data 1`] = `
|
|||
]
|
||||
}
|
||||
onChange={[Function]}
|
||||
tableColumnsHidden={Array []}
|
||||
tableColumnsHidden={[]}
|
||||
/>
|
||||
</Memo(ViewControlBar)>
|
||||
<ReactTable
|
||||
|
@ -91,7 +91,7 @@ exports[`ServicesView renders data 1`] = `
|
|||
collapseOnPageChange={true}
|
||||
collapseOnSortingChange={true}
|
||||
column={
|
||||
Object {
|
||||
{
|
||||
"Aggregated": undefined,
|
||||
"Cell": undefined,
|
||||
"Expander": undefined,
|
||||
|
@ -107,24 +107,24 @@ exports[`ServicesView renders data 1`] = `
|
|||
"filterMethod": undefined,
|
||||
"filterable": undefined,
|
||||
"footerClassName": "",
|
||||
"footerStyle": Object {},
|
||||
"footerStyle": {},
|
||||
"getFooterProps": [Function],
|
||||
"getHeaderProps": [Function],
|
||||
"getProps": [Function],
|
||||
"headerClassName": "",
|
||||
"headerStyle": Object {},
|
||||
"headerStyle": {},
|
||||
"minResizeWidth": 11,
|
||||
"minWidth": 100,
|
||||
"resizable": undefined,
|
||||
"show": true,
|
||||
"sortMethod": undefined,
|
||||
"sortable": undefined,
|
||||
"style": Object {},
|
||||
"style": {},
|
||||
}
|
||||
}
|
||||
columns={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"Aggregated": [Function],
|
||||
"Cell": [Function],
|
||||
"Header": "Service",
|
||||
|
@ -132,14 +132,14 @@ exports[`ServicesView renders data 1`] = `
|
|||
"show": true,
|
||||
"width": 300,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Type",
|
||||
"accessor": "service_type",
|
||||
"show": true,
|
||||
"width": 150,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Tier",
|
||||
"accessor": [Function],
|
||||
|
@ -147,7 +147,7 @@ exports[`ServicesView renders data 1`] = `
|
|||
"show": true,
|
||||
"width": 180,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Aggregated": [Function],
|
||||
"Cell": [Function],
|
||||
"Header": "Host",
|
||||
|
@ -155,7 +155,7 @@ exports[`ServicesView renders data 1`] = `
|
|||
"show": true,
|
||||
"width": 200,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Aggregated": [Function],
|
||||
"Cell": [Function],
|
||||
"Header": "Port",
|
||||
|
@ -164,7 +164,7 @@ exports[`ServicesView renders data 1`] = `
|
|||
"show": true,
|
||||
"width": 100,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Aggregated": [Function],
|
||||
"Cell": [Function],
|
||||
"Header": "Current size",
|
||||
|
@ -175,7 +175,7 @@ exports[`ServicesView renders data 1`] = `
|
|||
"show": true,
|
||||
"width": 100,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Aggregated": [Function],
|
||||
"Cell": [Function],
|
||||
"Header": "Max size",
|
||||
|
@ -186,7 +186,7 @@ exports[`ServicesView renders data 1`] = `
|
|||
"show": true,
|
||||
"width": 100,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Aggregated": [Function],
|
||||
"Cell": [Function],
|
||||
"Header": "Usage",
|
||||
|
@ -197,7 +197,7 @@ exports[`ServicesView renders data 1`] = `
|
|||
"show": true,
|
||||
"width": 140,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Aggregated": [Function],
|
||||
"Cell": [Function],
|
||||
"Header": "Start time",
|
||||
|
@ -205,7 +205,7 @@ exports[`ServicesView renders data 1`] = `
|
|||
"show": true,
|
||||
"width": 200,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Aggregated": [Function],
|
||||
"Cell": [Function],
|
||||
"Header": "Detail",
|
||||
|
@ -216,7 +216,7 @@ exports[`ServicesView renders data 1`] = `
|
|||
"show": true,
|
||||
"width": 400,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Aggregated": [Function],
|
||||
"Cell": [Function],
|
||||
"Header": "Actions",
|
||||
|
@ -229,9 +229,9 @@ exports[`ServicesView renders data 1`] = `
|
|||
]
|
||||
}
|
||||
data={
|
||||
Array [
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
[
|
||||
{
|
||||
"curr_size": 0,
|
||||
"host": "localhost",
|
||||
"is_leader": 0,
|
||||
|
@ -243,7 +243,7 @@ exports[`ServicesView renders data 1`] = `
|
|||
"tier": null,
|
||||
"tls_port": -1,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"curr_size": 179744287,
|
||||
"host": "localhost",
|
||||
"is_leader": 0,
|
||||
|
@ -262,17 +262,17 @@ exports[`ServicesView renders data 1`] = `
|
|||
],
|
||||
]
|
||||
}
|
||||
defaultExpanded={Object {}}
|
||||
defaultExpanded={{}}
|
||||
defaultFilterMethod={[Function]}
|
||||
defaultFiltered={Array []}
|
||||
defaultFiltered={[]}
|
||||
defaultPage={0}
|
||||
defaultPageSize={50}
|
||||
defaultResized={Array []}
|
||||
defaultResized={[]}
|
||||
defaultSortDesc={false}
|
||||
defaultSortMethod={[Function]}
|
||||
defaultSorted={Array []}
|
||||
defaultSorted={[]}
|
||||
expanderDefaults={
|
||||
Object {
|
||||
{
|
||||
"filterable": false,
|
||||
"resizable": false,
|
||||
"sortable": false,
|
||||
|
@ -280,7 +280,7 @@ exports[`ServicesView renders data 1`] = `
|
|||
}
|
||||
}
|
||||
filterable={true}
|
||||
filtered={Array []}
|
||||
filtered={[]}
|
||||
freezeWhenExpanded={false}
|
||||
getLoadingProps={[Function]}
|
||||
getNoDataProps={[Function]}
|
||||
|
@ -318,15 +318,15 @@ exports[`ServicesView renders data 1`] = `
|
|||
originalKey="_original"
|
||||
pageJumpText="jump to page"
|
||||
pageSizeOptions={
|
||||
Array [
|
||||
[
|
||||
50,
|
||||
100,
|
||||
200,
|
||||
]
|
||||
}
|
||||
pageText="Page"
|
||||
pivotBy={Array []}
|
||||
pivotDefaults={Object {}}
|
||||
pivotBy={[]}
|
||||
pivotDefaults={{}}
|
||||
pivotIDKey="_pivotID"
|
||||
pivotValKey="_pivotVal"
|
||||
previousText="Previous"
|
||||
|
@ -340,7 +340,7 @@ exports[`ServicesView renders data 1`] = `
|
|||
showPaginationBottom={true}
|
||||
showPaginationTop={false}
|
||||
sortable={true}
|
||||
style={Object {}}
|
||||
style={{}}
|
||||
subRowsKey="_subRows"
|
||||
/>
|
||||
</div>
|
||||
|
|
|
@ -19,7 +19,7 @@ exports[`SupervisorsView matches snapshot 1`] = `
|
|||
icon="application"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="View SQL query for table"
|
||||
|
@ -30,7 +30,7 @@ exports[`SupervisorsView matches snapshot 1`] = `
|
|||
icon="manually-entered-data"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Submit JSON supervisor"
|
||||
|
@ -41,7 +41,7 @@ exports[`SupervisorsView matches snapshot 1`] = `
|
|||
icon="play"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Resume all supervisors"
|
||||
|
@ -52,7 +52,7 @@ exports[`SupervisorsView matches snapshot 1`] = `
|
|||
icon="pause"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Suspend all supervisors"
|
||||
|
@ -64,7 +64,7 @@ exports[`SupervisorsView matches snapshot 1`] = `
|
|||
intent="danger"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Terminate all supervisors"
|
||||
|
@ -73,7 +73,7 @@ exports[`SupervisorsView matches snapshot 1`] = `
|
|||
</React.Fragment>
|
||||
<Memo(TableColumnSelector)
|
||||
columns={
|
||||
Array [
|
||||
[
|
||||
"Supervisor ID",
|
||||
"Type",
|
||||
"Topic/Stream",
|
||||
|
@ -83,7 +83,7 @@ exports[`SupervisorsView matches snapshot 1`] = `
|
|||
]
|
||||
}
|
||||
onChange={[Function]}
|
||||
tableColumnsHidden={Array []}
|
||||
tableColumnsHidden={[]}
|
||||
/>
|
||||
</Memo(ViewControlBar)>
|
||||
<ReactTable
|
||||
|
@ -110,7 +110,7 @@ exports[`SupervisorsView matches snapshot 1`] = `
|
|||
collapseOnPageChange={true}
|
||||
collapseOnSortingChange={true}
|
||||
column={
|
||||
Object {
|
||||
{
|
||||
"Aggregated": undefined,
|
||||
"Cell": undefined,
|
||||
"Expander": undefined,
|
||||
|
@ -126,24 +126,24 @@ exports[`SupervisorsView matches snapshot 1`] = `
|
|||
"filterMethod": undefined,
|
||||
"filterable": undefined,
|
||||
"footerClassName": "",
|
||||
"footerStyle": Object {},
|
||||
"footerStyle": {},
|
||||
"getFooterProps": [Function],
|
||||
"getHeaderProps": [Function],
|
||||
"getProps": [Function],
|
||||
"headerClassName": "",
|
||||
"headerStyle": Object {},
|
||||
"headerStyle": {},
|
||||
"minResizeWidth": 11,
|
||||
"minWidth": 100,
|
||||
"resizable": undefined,
|
||||
"show": true,
|
||||
"sortMethod": undefined,
|
||||
"sortable": undefined,
|
||||
"style": Object {},
|
||||
"style": {},
|
||||
}
|
||||
}
|
||||
columns={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": <React.Fragment>
|
||||
Supervisor ID
|
||||
|
@ -157,21 +157,21 @@ exports[`SupervisorsView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 300,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Type",
|
||||
"accessor": "type",
|
||||
"show": true,
|
||||
"width": 100,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Topic/Stream",
|
||||
"accessor": "source",
|
||||
"show": true,
|
||||
"width": 300,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Status",
|
||||
"accessor": "detailed_state",
|
||||
|
@ -179,7 +179,7 @@ exports[`SupervisorsView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 250,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Running tasks",
|
||||
"accessor": "running_tasks",
|
||||
|
@ -188,7 +188,7 @@ exports[`SupervisorsView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 150,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Actions",
|
||||
"accessor": "supervisor_id",
|
||||
|
@ -199,18 +199,18 @@ exports[`SupervisorsView matches snapshot 1`] = `
|
|||
},
|
||||
]
|
||||
}
|
||||
data={Array []}
|
||||
defaultExpanded={Object {}}
|
||||
data={[]}
|
||||
defaultExpanded={{}}
|
||||
defaultFilterMethod={[Function]}
|
||||
defaultFiltered={Array []}
|
||||
defaultFiltered={[]}
|
||||
defaultPage={0}
|
||||
defaultPageSize={25}
|
||||
defaultResized={Array []}
|
||||
defaultResized={[]}
|
||||
defaultSortDesc={false}
|
||||
defaultSortMethod={[Function]}
|
||||
defaultSorted={Array []}
|
||||
defaultSorted={[]}
|
||||
expanderDefaults={
|
||||
Object {
|
||||
{
|
||||
"filterable": false,
|
||||
"resizable": false,
|
||||
"sortable": false,
|
||||
|
@ -218,7 +218,7 @@ exports[`SupervisorsView matches snapshot 1`] = `
|
|||
}
|
||||
}
|
||||
filterable={true}
|
||||
filtered={Array []}
|
||||
filtered={[]}
|
||||
freezeWhenExpanded={false}
|
||||
getLoadingProps={[Function]}
|
||||
getNoDataProps={[Function]}
|
||||
|
@ -256,14 +256,14 @@ exports[`SupervisorsView matches snapshot 1`] = `
|
|||
originalKey="_original"
|
||||
pageJumpText="jump to page"
|
||||
pageSizeOptions={
|
||||
Array [
|
||||
[
|
||||
25,
|
||||
50,
|
||||
100,
|
||||
]
|
||||
}
|
||||
pageText="Page"
|
||||
pivotDefaults={Object {}}
|
||||
pivotDefaults={{}}
|
||||
pivotIDKey="_pivotID"
|
||||
pivotValKey="_pivotVal"
|
||||
previousText="Previous"
|
||||
|
@ -277,7 +277,7 @@ exports[`SupervisorsView matches snapshot 1`] = `
|
|||
showPaginationBottom={true}
|
||||
showPaginationTop={false}
|
||||
sortable={true}
|
||||
style={Object {}}
|
||||
style={{}}
|
||||
subRowsKey="_subRows"
|
||||
/>
|
||||
<Memo(AlertDialog)
|
||||
|
|
|
@ -53,7 +53,7 @@ exports[`TasksView matches snapshot 1`] = `
|
|||
icon="application"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="View SQL query for table"
|
||||
|
@ -64,7 +64,7 @@ exports[`TasksView matches snapshot 1`] = `
|
|||
icon="manually-entered-data"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Submit JSON task"
|
||||
|
@ -72,7 +72,7 @@ exports[`TasksView matches snapshot 1`] = `
|
|||
</Memo(MoreButton)>
|
||||
<Memo(TableColumnSelector)
|
||||
columns={
|
||||
Array [
|
||||
[
|
||||
"Task ID",
|
||||
"Group ID",
|
||||
"Type",
|
||||
|
@ -85,7 +85,7 @@ exports[`TasksView matches snapshot 1`] = `
|
|||
]
|
||||
}
|
||||
onChange={[Function]}
|
||||
tableColumnsHidden={Array []}
|
||||
tableColumnsHidden={[]}
|
||||
/>
|
||||
</Memo(ViewControlBar)>
|
||||
<ReactTable
|
||||
|
@ -112,7 +112,7 @@ exports[`TasksView matches snapshot 1`] = `
|
|||
collapseOnPageChange={true}
|
||||
collapseOnSortingChange={true}
|
||||
column={
|
||||
Object {
|
||||
{
|
||||
"Aggregated": undefined,
|
||||
"Cell": undefined,
|
||||
"Expander": undefined,
|
||||
|
@ -128,24 +128,24 @@ exports[`TasksView matches snapshot 1`] = `
|
|||
"filterMethod": undefined,
|
||||
"filterable": undefined,
|
||||
"footerClassName": "",
|
||||
"footerStyle": Object {},
|
||||
"footerStyle": {},
|
||||
"getFooterProps": [Function],
|
||||
"getHeaderProps": [Function],
|
||||
"getProps": [Function],
|
||||
"headerClassName": "",
|
||||
"headerStyle": Object {},
|
||||
"headerStyle": {},
|
||||
"minResizeWidth": 11,
|
||||
"minWidth": 100,
|
||||
"resizable": undefined,
|
||||
"show": true,
|
||||
"sortMethod": undefined,
|
||||
"sortable": undefined,
|
||||
"style": Object {},
|
||||
"style": {},
|
||||
}
|
||||
}
|
||||
columns={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"Aggregated": [Function],
|
||||
"Cell": [Function],
|
||||
"Header": "Task ID",
|
||||
|
@ -153,7 +153,7 @@ exports[`TasksView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 440,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Aggregated": [Function],
|
||||
"Cell": [Function],
|
||||
"Header": "Group ID",
|
||||
|
@ -161,21 +161,21 @@ exports[`TasksView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 300,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Type",
|
||||
"accessor": "type",
|
||||
"show": true,
|
||||
"width": 140,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Datasource",
|
||||
"accessor": "datasource",
|
||||
"show": true,
|
||||
"width": 200,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Status",
|
||||
"accessor": [Function],
|
||||
|
@ -184,7 +184,7 @@ exports[`TasksView matches snapshot 1`] = `
|
|||
"sortMethod": [Function],
|
||||
"width": 110,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Aggregated": [Function],
|
||||
"Cell": [Function],
|
||||
"Header": "Created time",
|
||||
|
@ -192,7 +192,7 @@ exports[`TasksView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 190,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Aggregated": [Function],
|
||||
"Cell": [Function],
|
||||
"Header": "Duration",
|
||||
|
@ -202,7 +202,7 @@ exports[`TasksView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 80,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Aggregated": [Function],
|
||||
"Cell": [Function],
|
||||
"Header": "Location",
|
||||
|
@ -210,7 +210,7 @@ exports[`TasksView matches snapshot 1`] = `
|
|||
"show": true,
|
||||
"width": 200,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Aggregated": [Function],
|
||||
"Cell": [Function],
|
||||
"Header": "Actions",
|
||||
|
@ -222,25 +222,25 @@ exports[`TasksView matches snapshot 1`] = `
|
|||
},
|
||||
]
|
||||
}
|
||||
data={Array []}
|
||||
defaultExpanded={Object {}}
|
||||
data={[]}
|
||||
defaultExpanded={{}}
|
||||
defaultFilterMethod={[Function]}
|
||||
defaultFiltered={Array []}
|
||||
defaultFiltered={[]}
|
||||
defaultPage={0}
|
||||
defaultPageSize={25}
|
||||
defaultResized={Array []}
|
||||
defaultResized={[]}
|
||||
defaultSortDesc={false}
|
||||
defaultSortMethod={[Function]}
|
||||
defaultSorted={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"desc": true,
|
||||
"id": "status",
|
||||
},
|
||||
]
|
||||
}
|
||||
expanderDefaults={
|
||||
Object {
|
||||
{
|
||||
"filterable": false,
|
||||
"resizable": false,
|
||||
"sortable": false,
|
||||
|
@ -248,7 +248,7 @@ exports[`TasksView matches snapshot 1`] = `
|
|||
}
|
||||
}
|
||||
filterable={true}
|
||||
filtered={Array []}
|
||||
filtered={[]}
|
||||
freezeWhenExpanded={false}
|
||||
getLoadingProps={[Function]}
|
||||
getNoDataProps={[Function]}
|
||||
|
@ -286,15 +286,15 @@ exports[`TasksView matches snapshot 1`] = `
|
|||
originalKey="_original"
|
||||
pageJumpText="jump to page"
|
||||
pageSizeOptions={
|
||||
Array [
|
||||
[
|
||||
25,
|
||||
50,
|
||||
100,
|
||||
]
|
||||
}
|
||||
pageText="Page"
|
||||
pivotBy={Array []}
|
||||
pivotDefaults={Object {}}
|
||||
pivotBy={[]}
|
||||
pivotDefaults={{}}
|
||||
pivotIDKey="_pivotID"
|
||||
pivotValKey="_pivotVal"
|
||||
previousText="Previous"
|
||||
|
@ -308,7 +308,7 @@ exports[`TasksView matches snapshot 1`] = `
|
|||
showPaginationBottom={true}
|
||||
showPaginationTop={false}
|
||||
sortable={true}
|
||||
style={Object {}}
|
||||
style={{}}
|
||||
subRowsKey="_subRows"
|
||||
/>
|
||||
<Memo(AlertDialog)
|
||||
|
|
|
@ -45,7 +45,7 @@ exports[`ColumnTree matches snapshot 1`] = `
|
|||
icon="tick"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Tables and columns"
|
||||
|
@ -56,7 +56,7 @@ exports[`ColumnTree matches snapshot 1`] = `
|
|||
icon="blank"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Tables only"
|
||||
|
@ -67,7 +67,7 @@ exports[`ColumnTree matches snapshot 1`] = `
|
|||
icon="blank"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Columns only"
|
||||
|
@ -105,10 +105,10 @@ exports[`ColumnTree matches snapshot 1`] = `
|
|||
>
|
||||
<Blueprint4.Tree
|
||||
contents={
|
||||
Array [
|
||||
Object {
|
||||
"childNodes": Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"childNodes": [
|
||||
{
|
||||
"icon": <Blueprint4.Icon
|
||||
aria-hidden={true}
|
||||
className="bp4-tree-node-icon"
|
||||
|
@ -147,7 +147,7 @@ exports[`ColumnTree matches snapshot 1`] = `
|
|||
__time
|
||||
</Blueprint4.Popover2>,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"icon": <Blueprint4.Icon
|
||||
aria-hidden={true}
|
||||
className="bp4-tree-node-icon"
|
||||
|
@ -186,7 +186,7 @@ exports[`ColumnTree matches snapshot 1`] = `
|
|||
added
|
||||
</Blueprint4.Popover2>,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"icon": <Blueprint4.Icon
|
||||
aria-hidden={true}
|
||||
className="bp4-tree-node-icon"
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -26,7 +26,7 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
|
|||
collapseOnPageChange={true}
|
||||
collapseOnSortingChange={true}
|
||||
column={
|
||||
Object {
|
||||
{
|
||||
"Aggregated": undefined,
|
||||
"Cell": undefined,
|
||||
"Expander": undefined,
|
||||
|
@ -42,24 +42,24 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
|
|||
"filterMethod": undefined,
|
||||
"filterable": undefined,
|
||||
"footerClassName": "",
|
||||
"footerStyle": Object {},
|
||||
"footerStyle": {},
|
||||
"getFooterProps": [Function],
|
||||
"getHeaderProps": [Function],
|
||||
"getProps": [Function],
|
||||
"headerClassName": "",
|
||||
"headerStyle": Object {},
|
||||
"headerStyle": {},
|
||||
"minResizeWidth": 11,
|
||||
"minWidth": 100,
|
||||
"resizable": undefined,
|
||||
"show": true,
|
||||
"sortMethod": undefined,
|
||||
"sortable": undefined,
|
||||
"style": Object {},
|
||||
"style": {},
|
||||
}
|
||||
}
|
||||
columns={
|
||||
Array [
|
||||
Object {
|
||||
[
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": <React.Fragment>
|
||||
Stage
|
||||
|
@ -73,7 +73,7 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
|
|||
"id": "stage",
|
||||
"width": 140,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Counter",
|
||||
"accessor": "stageNumber",
|
||||
|
@ -81,7 +81,7 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
|
|||
"id": "counter",
|
||||
"width": 150,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": <React.Fragment>
|
||||
Rows processed
|
||||
|
@ -95,7 +95,7 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
|
|||
"id": "rows_processed",
|
||||
"width": 160,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": <React.Fragment>
|
||||
Processing rate
|
||||
|
@ -109,14 +109,14 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
|
|||
"id": "processing_rate",
|
||||
"width": 150,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Header": "Phase",
|
||||
"accessor": [Function],
|
||||
"className": "padded",
|
||||
"id": "phase",
|
||||
"width": 130,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Timing",
|
||||
"accessor": [Function],
|
||||
|
@ -124,7 +124,7 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
|
|||
"id": "timing",
|
||||
"width": 170,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Header": <React.Fragment>
|
||||
Num
|
||||
<br />
|
||||
|
@ -134,7 +134,7 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
|
|||
"className": "padded",
|
||||
"width": 75,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Header": <React.Fragment>
|
||||
Output
|
||||
<br />
|
||||
|
@ -144,7 +144,7 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
|
|||
"className": "padded",
|
||||
"width": 75,
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"Cell": [Function],
|
||||
"Header": "Cluster by",
|
||||
"accessor": [Function],
|
||||
|
@ -155,30 +155,30 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
|
|||
]
|
||||
}
|
||||
data={
|
||||
Array [
|
||||
Object {
|
||||
"definition": Object {
|
||||
[
|
||||
{
|
||||
"definition": {
|
||||
"id": "7f62fa91-f49a-4053-adec-5aa09c251ee3_0",
|
||||
"input": Array [
|
||||
Object {
|
||||
"inputFormat": Object {
|
||||
"input": [
|
||||
{
|
||||
"inputFormat": {
|
||||
"assumeNewlineDelimited": false,
|
||||
"keepNullColumns": false,
|
||||
"type": "json",
|
||||
"useJsonNodeReader": false,
|
||||
},
|
||||
"inputSource": Object {
|
||||
"inputSource": {
|
||||
"type": "http",
|
||||
"uris": Array [
|
||||
"uris": [
|
||||
"https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz",
|
||||
],
|
||||
},
|
||||
"signature": Array [
|
||||
Object {
|
||||
"signature": [
|
||||
{
|
||||
"name": "timestamp",
|
||||
"type": "STRING",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"name": "agent_type",
|
||||
"type": "STRING",
|
||||
},
|
||||
|
@ -187,13 +187,13 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
|
|||
},
|
||||
],
|
||||
"maxWorkerCount": 1,
|
||||
"processor": Object {
|
||||
"query": Object {
|
||||
"columns": Array [
|
||||
"processor": {
|
||||
"query": {
|
||||
"columns": [
|
||||
"agent_type",
|
||||
"v0",
|
||||
],
|
||||
"context": Object {
|
||||
"context": {
|
||||
"__resultFormat": "array",
|
||||
"__timeColumn": "v0",
|
||||
"__user": "allowAll",
|
||||
|
@ -204,42 +204,42 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
|
|||
"maxNumTasks": 2,
|
||||
"maxParseExceptions": 0,
|
||||
"queryId": "346b9ac6-4912-46e4-9b98-75f11071af87",
|
||||
"scanSignature": "[{\\"name\\":\\"agent_type\\",\\"type\\":\\"STRING\\"},{\\"name\\":\\"v0\\",\\"type\\":\\"LONG\\"}]",
|
||||
"sqlInsertSegmentGranularity": "{\\"type\\":\\"all\\"}",
|
||||
"scanSignature": "[{"name":"agent_type","type":"STRING"},{"name":"v0","type":"LONG"}]",
|
||||
"sqlInsertSegmentGranularity": "{"type":"all"}",
|
||||
"sqlQueryId": "346b9ac6-4912-46e4-9b98-75f11071af87",
|
||||
"sqlReplaceTimeChunks": "all",
|
||||
"waitUntilSegmentsLoad": true,
|
||||
},
|
||||
"dataSource": Object {
|
||||
"inputFormat": Object {
|
||||
"dataSource": {
|
||||
"inputFormat": {
|
||||
"assumeNewlineDelimited": false,
|
||||
"keepNullColumns": false,
|
||||
"type": "json",
|
||||
"useJsonNodeReader": false,
|
||||
},
|
||||
"inputSource": Object {
|
||||
"inputSource": {
|
||||
"type": "http",
|
||||
"uris": Array [
|
||||
"uris": [
|
||||
"https://static.imply.io/example-data/kttm-v2/kttm-v2-2019-08-25.json.gz",
|
||||
],
|
||||
},
|
||||
"signature": Array [
|
||||
Object {
|
||||
"signature": [
|
||||
{
|
||||
"name": "timestamp",
|
||||
"type": "STRING",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"name": "agent_type",
|
||||
"type": "STRING",
|
||||
},
|
||||
],
|
||||
"type": "external",
|
||||
},
|
||||
"granularity": Object {
|
||||
"granularity": {
|
||||
"type": "all",
|
||||
},
|
||||
"intervals": Object {
|
||||
"intervals": Array [
|
||||
"intervals": {
|
||||
"intervals": [
|
||||
"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z",
|
||||
],
|
||||
"type": "intervals",
|
||||
|
@ -247,9 +247,9 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
|
|||
"legacy": false,
|
||||
"queryType": "scan",
|
||||
"resultFormat": "compactedList",
|
||||
"virtualColumns": Array [
|
||||
Object {
|
||||
"expression": "timestamp_parse(\\"timestamp\\",null,'UTC')",
|
||||
"virtualColumns": [
|
||||
{
|
||||
"expression": "timestamp_parse("timestamp",null,'UTC')",
|
||||
"name": "v0",
|
||||
"outputType": "LONG",
|
||||
"type": "expression",
|
||||
|
@ -259,10 +259,10 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
|
|||
"type": "scan",
|
||||
},
|
||||
"shuffleCheckHasMultipleValues": true,
|
||||
"shuffleSpec": Object {
|
||||
"clusterBy": Object {
|
||||
"columns": Array [
|
||||
Object {
|
||||
"shuffleSpec": {
|
||||
"clusterBy": {
|
||||
"columns": [
|
||||
{
|
||||
"columnName": "__boost",
|
||||
"order": "ASCENDING",
|
||||
},
|
||||
|
@ -271,16 +271,16 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
|
|||
"targetSize": 3000000,
|
||||
"type": "targetSize",
|
||||
},
|
||||
"signature": Array [
|
||||
Object {
|
||||
"signature": [
|
||||
{
|
||||
"name": "__boost",
|
||||
"type": "LONG",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"name": "agent_type",
|
||||
"type": "STRING",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"name": "v0",
|
||||
"type": "LONG",
|
||||
},
|
||||
|
@ -294,35 +294,35 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
|
|||
"startTime": "2024-01-23T19:45:43.302Z",
|
||||
"workerCount": 1,
|
||||
},
|
||||
Object {
|
||||
"definition": Object {
|
||||
{
|
||||
"definition": {
|
||||
"id": "7f62fa91-f49a-4053-adec-5aa09c251ee3_1",
|
||||
"input": Array [
|
||||
Object {
|
||||
"input": [
|
||||
{
|
||||
"stage": 0,
|
||||
"type": "stage",
|
||||
},
|
||||
],
|
||||
"maxWorkerCount": 1,
|
||||
"processor": Object {
|
||||
"columnMappings": Array [
|
||||
Object {
|
||||
"processor": {
|
||||
"columnMappings": [
|
||||
{
|
||||
"outputColumn": "__time",
|
||||
"queryColumn": "v0",
|
||||
},
|
||||
Object {
|
||||
{
|
||||
"outputColumn": "agent_type",
|
||||
"queryColumn": "agent_type",
|
||||
},
|
||||
],
|
||||
"dataSchema": Object {
|
||||
"dataSchema": {
|
||||
"dataSource": "kttm_simple",
|
||||
"dimensionsSpec": Object {
|
||||
"dimensionExclusions": Array [
|
||||
"dimensionsSpec": {
|
||||
"dimensionExclusions": [
|
||||
"__time",
|
||||
],
|
||||
"dimensions": Array [
|
||||
Object {
|
||||
"dimensions": [
|
||||
{
|
||||
"createBitmapIndex": true,
|
||||
"multiValueHandling": "SORTED_ARRAY",
|
||||
"name": "agent_type",
|
||||
|
@ -332,35 +332,35 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
|
|||
"includeAllDimensions": false,
|
||||
"useSchemaDiscovery": false,
|
||||
},
|
||||
"granularitySpec": Object {
|
||||
"intervals": Array [
|
||||
"granularitySpec": {
|
||||
"intervals": [
|
||||
"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z",
|
||||
],
|
||||
"queryGranularity": Object {
|
||||
"queryGranularity": {
|
||||
"type": "none",
|
||||
},
|
||||
"rollup": false,
|
||||
"type": "arbitrary",
|
||||
},
|
||||
"metricsSpec": Array [],
|
||||
"timestampSpec": Object {
|
||||
"metricsSpec": [],
|
||||
"timestampSpec": {
|
||||
"column": "__time",
|
||||
"format": "millis",
|
||||
"missingValue": null,
|
||||
},
|
||||
"transformSpec": Object {
|
||||
"transformSpec": {
|
||||
"filter": null,
|
||||
"transforms": Array [],
|
||||
"transforms": [],
|
||||
},
|
||||
},
|
||||
"tuningConfig": Object {
|
||||
"tuningConfig": {
|
||||
"maxNumWorkers": 1,
|
||||
"maxRowsInMemory": 100000,
|
||||
"rowsPerSegment": 3000000,
|
||||
},
|
||||
"type": "segmentGenerator",
|
||||
},
|
||||
"signature": Array [],
|
||||
"signature": [],
|
||||
},
|
||||
"duration": 1263,
|
||||
"partitionCount": 1,
|
||||
|
@ -371,17 +371,17 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
|
|||
},
|
||||
]
|
||||
}
|
||||
defaultExpanded={Object {}}
|
||||
defaultExpanded={{}}
|
||||
defaultFilterMethod={[Function]}
|
||||
defaultFiltered={Array []}
|
||||
defaultFiltered={[]}
|
||||
defaultPage={0}
|
||||
defaultPageSize={7}
|
||||
defaultResized={Array []}
|
||||
defaultResized={[]}
|
||||
defaultSortDesc={false}
|
||||
defaultSortMethod={[Function]}
|
||||
defaultSorted={Array []}
|
||||
defaultSorted={[]}
|
||||
expanderDefaults={
|
||||
Object {
|
||||
{
|
||||
"filterable": false,
|
||||
"resizable": false,
|
||||
"sortable": false,
|
||||
|
@ -425,7 +425,7 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
|
|||
originalKey="_original"
|
||||
pageJumpText="jump to page"
|
||||
pageSizeOptions={
|
||||
Array [
|
||||
[
|
||||
5,
|
||||
10,
|
||||
20,
|
||||
|
@ -435,7 +435,7 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
|
|||
]
|
||||
}
|
||||
pageText="Page"
|
||||
pivotDefaults={Object {}}
|
||||
pivotDefaults={{}}
|
||||
pivotIDKey="_pivotID"
|
||||
pivotValKey="_pivotVal"
|
||||
previousText="Previous"
|
||||
|
@ -449,7 +449,7 @@ exports[`ExecutionStagesPane matches snapshot 1`] = `
|
|||
showPaginationBottom={true}
|
||||
showPaginationTop={false}
|
||||
sortable={false}
|
||||
style={Object {}}
|
||||
style={{}}
|
||||
subRowsKey="_subRows"
|
||||
/>
|
||||
`;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
exports[`ExecutionSubmitDialog matches snapshot 1`] = `
|
||||
<Blueprint4.Dialog
|
||||
backdropProps={
|
||||
Object {
|
||||
{
|
||||
"onDragLeave": [Function],
|
||||
"onDragOver": [Function],
|
||||
"onDrop": [Function],
|
||||
|
@ -36,7 +36,7 @@ exports[`ExecutionSubmitDialog matches snapshot 1`] = `
|
|||
fill={true}
|
||||
hasSelection={false}
|
||||
inputProps={
|
||||
Object {
|
||||
{
|
||||
"accept": ".json",
|
||||
}
|
||||
}
|
||||
|
|
|
@ -117,7 +117,7 @@ exports[`ExplainDialog matches snapshot on some data (many queries) 1`] = `
|
|||
<ReactAce
|
||||
className="query-string"
|
||||
cursorStart={1}
|
||||
editorProps={Object {}}
|
||||
editorProps={{}}
|
||||
enableBasicAutocompletion={false}
|
||||
enableLiveAutocompletion={false}
|
||||
enableSnippets={false}
|
||||
|
@ -137,44 +137,44 @@ exports[`ExplainDialog matches snapshot on some data (many queries) 1`] = `
|
|||
placeholder={null}
|
||||
readOnly={true}
|
||||
scrollMargin={
|
||||
Array [
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
]
|
||||
}
|
||||
setOptions={Object {}}
|
||||
setOptions={{}}
|
||||
showGutter={true}
|
||||
showPrintMargin={false}
|
||||
style={Object {}}
|
||||
style={{}}
|
||||
tabSize={4}
|
||||
theme="solarized_dark"
|
||||
value="{
|
||||
\\"queryType\\": \\"scan\\",
|
||||
\\"dataSource\\": {
|
||||
\\"type\\": \\"table\\",
|
||||
\\"name\\": \\"wikipedia\\"
|
||||
"queryType": "scan",
|
||||
"dataSource": {
|
||||
"type": "table",
|
||||
"name": "wikipedia"
|
||||
},
|
||||
\\"intervals\\": {
|
||||
\\"type\\": \\"intervals\\",
|
||||
\\"intervals\\": [
|
||||
\\"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z\\"
|
||||
"intervals": {
|
||||
"type": "intervals",
|
||||
"intervals": [
|
||||
"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z"
|
||||
]
|
||||
},
|
||||
\\"virtualColumns\\": [],
|
||||
\\"resultFormat\\": \\"compactedList\\",
|
||||
\\"batchSize\\": 20480,
|
||||
\\"limit\\": 101,
|
||||
\\"filter\\": null,
|
||||
\\"columns\\": [
|
||||
\\"channel\\"
|
||||
"virtualColumns": [],
|
||||
"resultFormat": "compactedList",
|
||||
"batchSize": 20480,
|
||||
"limit": 101,
|
||||
"filter": null,
|
||||
"columns": [
|
||||
"channel"
|
||||
],
|
||||
\\"legacy\\": false,
|
||||
\\"context\\": {},
|
||||
\\"descending\\": false,
|
||||
\\"granularity\\": {
|
||||
\\"type\\": \\"all\\"
|
||||
"legacy": false,
|
||||
"context": {},
|
||||
"descending": false,
|
||||
"granularity": {
|
||||
"type": "all"
|
||||
}
|
||||
}"
|
||||
width="100%"
|
||||
|
@ -215,7 +215,7 @@ exports[`ExplainDialog matches snapshot on some data (many queries) 1`] = `
|
|||
<ReactAce
|
||||
className="query-string"
|
||||
cursorStart={1}
|
||||
editorProps={Object {}}
|
||||
editorProps={{}}
|
||||
enableBasicAutocompletion={false}
|
||||
enableLiveAutocompletion={false}
|
||||
enableSnippets={false}
|
||||
|
@ -235,49 +235,49 @@ exports[`ExplainDialog matches snapshot on some data (many queries) 1`] = `
|
|||
placeholder={null}
|
||||
readOnly={true}
|
||||
scrollMargin={
|
||||
Array [
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
]
|
||||
}
|
||||
setOptions={Object {}}
|
||||
setOptions={{}}
|
||||
showGutter={true}
|
||||
showPrintMargin={false}
|
||||
style={Object {}}
|
||||
style={{}}
|
||||
tabSize={4}
|
||||
theme="solarized_dark"
|
||||
value="{
|
||||
\\"queryType\\": \\"scan\\",
|
||||
\\"dataSource\\": {
|
||||
\\"type\\": \\"table\\",
|
||||
\\"name\\": \\"wikipedia\\"
|
||||
"queryType": "scan",
|
||||
"dataSource": {
|
||||
"type": "table",
|
||||
"name": "wikipedia"
|
||||
},
|
||||
\\"intervals\\": {
|
||||
\\"type\\": \\"intervals\\",
|
||||
\\"intervals\\": [
|
||||
\\"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z\\"
|
||||
"intervals": {
|
||||
"type": "intervals",
|
||||
"intervals": [
|
||||
"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z"
|
||||
]
|
||||
},
|
||||
\\"virtualColumns\\": [],
|
||||
\\"resultFormat\\": \\"compactedList\\",
|
||||
\\"batchSize\\": 20480,
|
||||
\\"limit\\": 101,
|
||||
\\"filter\\": {
|
||||
\\"type\\": \\"selector\\",
|
||||
\\"dimension\\": \\"channel\\",
|
||||
\\"value\\": \\"#en.wikipedia\\",
|
||||
\\"extractionFn\\": null
|
||||
"virtualColumns": [],
|
||||
"resultFormat": "compactedList",
|
||||
"batchSize": 20480,
|
||||
"limit": 101,
|
||||
"filter": {
|
||||
"type": "selector",
|
||||
"dimension": "channel",
|
||||
"value": "#en.wikipedia",
|
||||
"extractionFn": null
|
||||
},
|
||||
\\"columns\\": [
|
||||
\\"channel\\"
|
||||
"columns": [
|
||||
"channel"
|
||||
],
|
||||
\\"legacy\\": false,
|
||||
\\"context\\": {},
|
||||
\\"descending\\": false,
|
||||
\\"granularity\\": {
|
||||
\\"type\\": \\"all\\"
|
||||
"legacy": false,
|
||||
"context": {},
|
||||
"descending": false,
|
||||
"granularity": {
|
||||
"type": "all"
|
||||
}
|
||||
}"
|
||||
width="100%"
|
||||
|
@ -343,7 +343,7 @@ exports[`ExplainDialog matches snapshot on some data (one query) 1`] = `
|
|||
<ReactAce
|
||||
className="query-string"
|
||||
cursorStart={1}
|
||||
editorProps={Object {}}
|
||||
editorProps={{}}
|
||||
enableBasicAutocompletion={false}
|
||||
enableLiveAutocompletion={false}
|
||||
enableSnippets={false}
|
||||
|
@ -363,108 +363,108 @@ exports[`ExplainDialog matches snapshot on some data (one query) 1`] = `
|
|||
placeholder={null}
|
||||
readOnly={true}
|
||||
scrollMargin={
|
||||
Array [
|
||||
[
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
]
|
||||
}
|
||||
setOptions={Object {}}
|
||||
setOptions={{}}
|
||||
showGutter={true}
|
||||
showPrintMargin={false}
|
||||
style={Object {}}
|
||||
style={{}}
|
||||
tabSize={4}
|
||||
theme="solarized_dark"
|
||||
value="{
|
||||
\\"queryType\\": \\"topN\\",
|
||||
\\"dataSource\\": {
|
||||
\\"type\\": \\"join\\",
|
||||
\\"left\\": {
|
||||
\\"type\\": \\"table\\",
|
||||
\\"name\\": \\"wikipedia\\"
|
||||
"queryType": "topN",
|
||||
"dataSource": {
|
||||
"type": "join",
|
||||
"left": {
|
||||
"type": "table",
|
||||
"name": "wikipedia"
|
||||
},
|
||||
\\"right\\": {
|
||||
\\"type\\": \\"query\\",
|
||||
\\"query\\": {
|
||||
\\"queryType\\": \\"groupBy\\",
|
||||
\\"dataSource\\": {
|
||||
\\"type\\": \\"table\\",
|
||||
\\"name\\": \\"wikipedia\\"
|
||||
"right": {
|
||||
"type": "query",
|
||||
"query": {
|
||||
"queryType": "groupBy",
|
||||
"dataSource": {
|
||||
"type": "table",
|
||||
"name": "wikipedia"
|
||||
},
|
||||
\\"intervals\\": {
|
||||
\\"type\\": \\"intervals\\",
|
||||
\\"intervals\\": [
|
||||
\\"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z\\"
|
||||
"intervals": {
|
||||
"type": "intervals",
|
||||
"intervals": [
|
||||
"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z"
|
||||
]
|
||||
},
|
||||
\\"virtualColumns\\": [],
|
||||
\\"filter\\": {
|
||||
\\"type\\": \\"selector\\",
|
||||
\\"dimension\\": \\"channel\\",
|
||||
\\"value\\": \\"#en.wikipedia\\",
|
||||
\\"extractionFn\\": null
|
||||
"virtualColumns": [],
|
||||
"filter": {
|
||||
"type": "selector",
|
||||
"dimension": "channel",
|
||||
"value": "#en.wikipedia",
|
||||
"extractionFn": null
|
||||
},
|
||||
\\"granularity\\": {
|
||||
\\"type\\": \\"all\\"
|
||||
"granularity": {
|
||||
"type": "all"
|
||||
},
|
||||
\\"dimensions\\": [
|
||||
"dimensions": [
|
||||
{
|
||||
\\"type\\": \\"default\\",
|
||||
\\"dimension\\": \\"channel\\",
|
||||
\\"outputName\\": \\"d0\\",
|
||||
\\"outputType\\": \\"STRING\\"
|
||||
"type": "default",
|
||||
"dimension": "channel",
|
||||
"outputName": "d0",
|
||||
"outputType": "STRING"
|
||||
}
|
||||
],
|
||||
\\"aggregations\\": [],
|
||||
\\"postAggregations\\": [],
|
||||
\\"having\\": null,
|
||||
\\"limitSpec\\": {
|
||||
\\"type\\": \\"NoopLimitSpec\\"
|
||||
"aggregations": [],
|
||||
"postAggregations": [],
|
||||
"having": null,
|
||||
"limitSpec": {
|
||||
"type": "NoopLimitSpec"
|
||||
},
|
||||
\\"context\\": {},
|
||||
\\"descending\\": false
|
||||
"context": {},
|
||||
"descending": false
|
||||
}
|
||||
},
|
||||
\\"rightPrefix\\": \\"j0.\\",
|
||||
\\"condition\\": \\"(\\\\\\"channel\\\\\\" == \\\\\\"j0.d0\\\\\\")\\",
|
||||
\\"joinType\\": \\"LEFT\\",
|
||||
\\"leftFilter\\": null
|
||||
"rightPrefix": "j0.",
|
||||
"condition": "(\\"channel\\" == \\"j0.d0\\")",
|
||||
"joinType": "LEFT",
|
||||
"leftFilter": null
|
||||
},
|
||||
\\"virtualColumns\\": [],
|
||||
\\"dimension\\": {
|
||||
\\"type\\": \\"default\\",
|
||||
\\"dimension\\": \\"channel\\",
|
||||
\\"outputName\\": \\"d0\\",
|
||||
\\"outputType\\": \\"STRING\\"
|
||||
"virtualColumns": [],
|
||||
"dimension": {
|
||||
"type": "default",
|
||||
"dimension": "channel",
|
||||
"outputName": "d0",
|
||||
"outputType": "STRING"
|
||||
},
|
||||
\\"metric\\": {
|
||||
\\"type\\": \\"dimension\\",
|
||||
\\"previousStop\\": null,
|
||||
\\"ordering\\": {
|
||||
\\"type\\": \\"lexicographic\\"
|
||||
"metric": {
|
||||
"type": "dimension",
|
||||
"previousStop": null,
|
||||
"ordering": {
|
||||
"type": "lexicographic"
|
||||
}
|
||||
},
|
||||
\\"threshold\\": 101,
|
||||
\\"intervals\\": {
|
||||
\\"type\\": \\"intervals\\",
|
||||
\\"intervals\\": [
|
||||
\\"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z\\"
|
||||
"threshold": 101,
|
||||
"intervals": {
|
||||
"type": "intervals",
|
||||
"intervals": [
|
||||
"-146136543-09-08T08:23:32.096Z/146140482-04-24T15:36:27.903Z"
|
||||
]
|
||||
},
|
||||
\\"filter\\": null,
|
||||
\\"granularity\\": {
|
||||
\\"type\\": \\"all\\"
|
||||
"filter": null,
|
||||
"granularity": {
|
||||
"type": "all"
|
||||
},
|
||||
\\"aggregations\\": [
|
||||
"aggregations": [
|
||||
{
|
||||
\\"type\\": \\"count\\",
|
||||
\\"name\\": \\"a0\\"
|
||||
"type": "count",
|
||||
"name": "a0"
|
||||
}
|
||||
],
|
||||
\\"postAggregations\\": [],
|
||||
\\"context\\": {},
|
||||
\\"descending\\": false
|
||||
"postAggregations": [],
|
||||
"context": {},
|
||||
"descending": false
|
||||
}"
|
||||
width="100%"
|
||||
wrapEnabled={false}
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
exports[`FlexibleQueryInput correctly formats helper HTML 1`] = `
|
||||
"
|
||||
<div class=\\"doc-name\\">COUNT</div>
|
||||
<div class=\\"doc-syntax\\">COUNT(*)</div>
|
||||
<div class=\\"doc-description\\">Counts the number of things</div>"
|
||||
<div class="doc-name">COUNT</div>
|
||||
<div class="doc-syntax">COUNT(*)</div>
|
||||
<div class="doc-description">Counts the number of things</div>"
|
||||
`;
|
||||
|
||||
exports[`FlexibleQueryInput matches snapshot 1`] = `
|
||||
|
|
|
@ -17,7 +17,7 @@ exports[`MaxTasksButton matches snapshot 1`] = `
|
|||
icon="tick"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="6 (full cluster capacity)"
|
||||
|
@ -29,7 +29,7 @@ exports[`MaxTasksButton matches snapshot 1`] = `
|
|||
label="(1 controller + 1 worker)"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="2"
|
||||
|
@ -41,7 +41,7 @@ exports[`MaxTasksButton matches snapshot 1`] = `
|
|||
label="(1 controller + max 2 workers)"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="3"
|
||||
|
@ -53,7 +53,7 @@ exports[`MaxTasksButton matches snapshot 1`] = `
|
|||
label="(1 controller + max 3 workers)"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="4"
|
||||
|
@ -65,7 +65,7 @@ exports[`MaxTasksButton matches snapshot 1`] = `
|
|||
label="(1 controller + max 4 workers)"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="5"
|
||||
|
@ -76,7 +76,7 @@ exports[`MaxTasksButton matches snapshot 1`] = `
|
|||
icon="blank"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Custom"
|
||||
|
@ -88,7 +88,7 @@ exports[`MaxTasksButton matches snapshot 1`] = `
|
|||
icon="flow-branch"
|
||||
label="max"
|
||||
multiline={false}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="Task assignment"
|
||||
|
@ -99,7 +99,7 @@ exports[`MaxTasksButton matches snapshot 1`] = `
|
|||
icon="tick"
|
||||
multiline={true}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={false}
|
||||
text={
|
||||
|
@ -118,7 +118,7 @@ exports[`MaxTasksButton matches snapshot 1`] = `
|
|||
icon="blank"
|
||||
multiline={true}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={false}
|
||||
text={
|
||||
|
|
|
@ -35,7 +35,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
|
|||
icon="tick"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="VARCHAR"
|
||||
|
@ -46,7 +46,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
|
|||
icon="blank"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="TIMESTAMP"
|
||||
|
@ -57,7 +57,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
|
|||
icon="blank"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="BIGINT"
|
||||
|
@ -68,7 +68,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
|
|||
icon="blank"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="DOUBLE"
|
||||
|
@ -79,7 +79,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
|
|||
icon="blank"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="FLOAT"
|
||||
|
@ -138,7 +138,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
|
|||
icon="blank"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="VARCHAR"
|
||||
|
@ -149,7 +149,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
|
|||
icon="tick"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="TIMESTAMP"
|
||||
|
@ -160,7 +160,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
|
|||
icon="blank"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="BIGINT"
|
||||
|
@ -171,7 +171,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
|
|||
icon="blank"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="DOUBLE"
|
||||
|
@ -182,7 +182,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
|
|||
icon="blank"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="FLOAT"
|
||||
|
@ -241,7 +241,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
|
|||
icon="blank"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="VARCHAR"
|
||||
|
@ -252,7 +252,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
|
|||
icon="blank"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="TIMESTAMP"
|
||||
|
@ -263,7 +263,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
|
|||
icon="tick"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="BIGINT"
|
||||
|
@ -274,7 +274,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
|
|||
icon="blank"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="DOUBLE"
|
||||
|
@ -285,7 +285,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
|
|||
icon="blank"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="FLOAT"
|
||||
|
@ -344,7 +344,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
|
|||
icon="blank"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="VARCHAR"
|
||||
|
@ -355,7 +355,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
|
|||
icon="blank"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="TIMESTAMP"
|
||||
|
@ -366,7 +366,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
|
|||
icon="blank"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="BIGINT"
|
||||
|
@ -377,7 +377,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
|
|||
icon="tick"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="DOUBLE"
|
||||
|
@ -388,7 +388,7 @@ exports[`QueryParametersDialog matches snapshot 1`] = `
|
|||
icon="blank"
|
||||
multiline={false}
|
||||
onClick={[Function]}
|
||||
popoverProps={Object {}}
|
||||
popoverProps={{}}
|
||||
selected={false}
|
||||
shouldDismissPopover={true}
|
||||
text="FLOAT"
|
||||
|
|
Loading…
Reference in New Issue