blob: 8f3d39417915d8947c538e7971b14f14d9e431b1 [file] [log] [blame]
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`IndexSpecDialog matches snapshot with indexSpec 1`] = `
<Blueprint5.Dialog
canOutsideClickClose={false}
className="index-spec-dialog"
isOpen={true}
onClose={[Function]}
title="Index spec"
>
<Memo(FormJsonSelector)
onChange={[Function]}
tab="form"
/>
<div
className="content"
>
<AutoForm
fields={
[
{
"defaultValue": "utf8",
"info": <React.Fragment>
Encoding format for STRING value dictionaries used by STRING and COMPLEX&lt;json&gt; columns.
</React.Fragment>,
"label": "String dictionary encoding",
"name": "stringDictionaryEncoding.type",
"suggestions": [
"utf8",
"frontCoded",
],
"type": "string",
},
{
"defaultValue": 4,
"defined": [Function],
"info": <React.Fragment>
The number of values to place in a bucket to perform delta encoding. Must be a power of 2, maximum is 128.
</React.Fragment>,
"label": "String dictionary encoding bucket size",
"max": 128,
"min": 1,
"name": "stringDictionaryEncoding.bucketSize",
"type": "number",
},
{
"defaultValue": "roaring",
"info": <React.Fragment>
Compression format for bitmap indexes.
</React.Fragment>,
"label": "Bitmap type",
"name": "bitmap.type",
"suggestions": [
"roaring",
"concise",
],
"type": "string",
},
{
"defaultValue": "lz4",
"info": <React.Fragment>
Compression format for dimension columns.
</React.Fragment>,
"name": "dimensionCompression",
"suggestions": [
"lz4",
"lzf",
"zstd",
"uncompressed",
],
"type": "string",
},
{
"defaultValue": "longs",
"info": <React.Fragment>
Encoding format for long-typed columns. Applies regardless of whether they are dimensions or metrics.
<ForwardRef>
auto
</ForwardRef>
encodes the values using offset or lookup table depending on column cardinality, and store them with variable size.
<ForwardRef>
longs
</ForwardRef>
stores the value as-is with 8 bytes each.
</React.Fragment>,
"name": "longEncoding",
"suggestions": [
"longs",
"auto",
],
"type": "string",
},
{
"defaultValue": "lz4",
"info": <React.Fragment>
Compression format for primitive type metric columns.
</React.Fragment>,
"name": "metricCompression",
"suggestions": [
"lz4",
"lzf",
"zstd",
"uncompressed",
],
"type": "string",
},
{
"defaultValue": "lz4",
"info": <React.Fragment>
Compression format to use for nested column raw data.
</React.Fragment>,
"label": "JSON compression",
"name": "jsonCompression",
"suggestions": [
"lz4",
"lzf",
"zstd",
"uncompressed",
],
"type": "string",
},
]
}
model={
{
"dimensionCompression": "lzf",
}
}
onChange={[Function]}
/>
</div>
<div
className="bp5-dialog-footer"
>
<div
className="bp5-dialog-footer-actions"
>
<Blueprint5.Button
onClick={[Function]}
text="Close"
/>
<Blueprint5.Button
disabled={false}
intent="primary"
onClick={[Function]}
text="Save"
/>
</div>
</div>
</Blueprint5.Dialog>
`;
exports[`IndexSpecDialog matches snapshot without compactionConfig 1`] = `
<Blueprint5.Dialog
canOutsideClickClose={false}
className="index-spec-dialog"
isOpen={true}
onClose={[Function]}
title="Index spec"
>
<Memo(FormJsonSelector)
onChange={[Function]}
tab="form"
/>
<div
className="content"
>
<AutoForm
fields={
[
{
"defaultValue": "utf8",
"info": <React.Fragment>
Encoding format for STRING value dictionaries used by STRING and COMPLEX&lt;json&gt; columns.
</React.Fragment>,
"label": "String dictionary encoding",
"name": "stringDictionaryEncoding.type",
"suggestions": [
"utf8",
"frontCoded",
],
"type": "string",
},
{
"defaultValue": 4,
"defined": [Function],
"info": <React.Fragment>
The number of values to place in a bucket to perform delta encoding. Must be a power of 2, maximum is 128.
</React.Fragment>,
"label": "String dictionary encoding bucket size",
"max": 128,
"min": 1,
"name": "stringDictionaryEncoding.bucketSize",
"type": "number",
},
{
"defaultValue": "roaring",
"info": <React.Fragment>
Compression format for bitmap indexes.
</React.Fragment>,
"label": "Bitmap type",
"name": "bitmap.type",
"suggestions": [
"roaring",
"concise",
],
"type": "string",
},
{
"defaultValue": "lz4",
"info": <React.Fragment>
Compression format for dimension columns.
</React.Fragment>,
"name": "dimensionCompression",
"suggestions": [
"lz4",
"lzf",
"zstd",
"uncompressed",
],
"type": "string",
},
{
"defaultValue": "longs",
"info": <React.Fragment>
Encoding format for long-typed columns. Applies regardless of whether they are dimensions or metrics.
<ForwardRef>
auto
</ForwardRef>
encodes the values using offset or lookup table depending on column cardinality, and store them with variable size.
<ForwardRef>
longs
</ForwardRef>
stores the value as-is with 8 bytes each.
</React.Fragment>,
"name": "longEncoding",
"suggestions": [
"longs",
"auto",
],
"type": "string",
},
{
"defaultValue": "lz4",
"info": <React.Fragment>
Compression format for primitive type metric columns.
</React.Fragment>,
"name": "metricCompression",
"suggestions": [
"lz4",
"lzf",
"zstd",
"uncompressed",
],
"type": "string",
},
{
"defaultValue": "lz4",
"info": <React.Fragment>
Compression format to use for nested column raw data.
</React.Fragment>,
"label": "JSON compression",
"name": "jsonCompression",
"suggestions": [
"lz4",
"lzf",
"zstd",
"uncompressed",
],
"type": "string",
},
]
}
model={{}}
onChange={[Function]}
/>
</div>
<div
className="bp5-dialog-footer"
>
<div
className="bp5-dialog-footer-actions"
>
<Blueprint5.Button
onClick={[Function]}
text="Close"
/>
<Blueprint5.Button
disabled={false}
intent="primary"
onClick={[Function]}
text="Save"
/>
</div>
</div>
</Blueprint5.Dialog>
`;