Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
15
plugins/inputs/sql/testdata/clickhouse/expected.sql
vendored
Normal file
15
plugins/inputs/sql/testdata/clickhouse/expected.sql
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
CREATE TABLE IF NOT EXISTS default.metric_one (
|
||||
tag_one String,
|
||||
tag_two String,
|
||||
int64_one Int64,
|
||||
int64_two Int64,
|
||||
timestamp Int64
|
||||
) ENGINE MergeTree() ORDER BY timestamp;
|
||||
|
||||
INSERT INTO default.metric_one (
|
||||
tag_one,
|
||||
tag_two,
|
||||
int64_one,
|
||||
int64_two,
|
||||
timestamp
|
||||
) VALUES ('tag1', 'tag2', 1234, 2345, 1621289085);
|
36
plugins/inputs/sql/testdata/mariadb/expected.sql
vendored
Normal file
36
plugins/inputs/sql/testdata/mariadb/expected.sql
vendored
Normal file
|
@ -0,0 +1,36 @@
|
|||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `bar` (
|
||||
`baz` int(11) DEFAULT NULL
|
||||
);
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
INSERT INTO `bar` VALUES (1);
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `metric three` (
|
||||
`timestamp` timestamp NOT NULL DEFAULT current_timestamp(),
|
||||
`tag four` text DEFAULT NULL,
|
||||
`string two` text DEFAULT NULL
|
||||
);
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
INSERT INTO `metric three` VALUES ('2021-05-17 22:04:45','tag4','string2');
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `metric_one` (
|
||||
`timestamp` timestamp NOT NULL DEFAULT current_timestamp(),
|
||||
`tag_one` text DEFAULT NULL,
|
||||
`tag_two` text DEFAULT NULL,
|
||||
`int64_one` int(11) DEFAULT NULL,
|
||||
`int64_two` int(11) DEFAULT NULL
|
||||
);
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
INSERT INTO `metric_one` VALUES ('2021-05-17 22:04:45','tag1','tag2',1234,2345);
|
||||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||||
/*!40101 SET character_set_client = utf8 */;
|
||||
CREATE TABLE `metric_two` (
|
||||
`timestamp` timestamp NOT NULL DEFAULT current_timestamp(),
|
||||
`tag_three` text DEFAULT NULL,
|
||||
`string_one` text DEFAULT NULL
|
||||
);
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
INSERT INTO `metric_two` VALUES ('2021-05-17 22:04:45','tag3','string1');
|
41
plugins/inputs/sql/testdata/postgres/expected.sql
vendored
Normal file
41
plugins/inputs/sql/testdata/postgres/expected.sql
vendored
Normal file
|
@ -0,0 +1,41 @@
|
|||
SET statement_timeout = 0;
|
||||
SET lock_timeout = 0;
|
||||
SET idle_in_transaction_session_timeout = 0;
|
||||
SET client_encoding = 'UTF8';
|
||||
SET standard_conforming_strings = on;
|
||||
SELECT pg_catalog.set_config('search_path', '', false);
|
||||
SET check_function_bodies = false;
|
||||
SET xmloption = content;
|
||||
SET client_min_messages = warning;
|
||||
SET row_security = off;
|
||||
SET default_tablespace = '';
|
||||
SET default_table_access_method = heap;
|
||||
CREATE TABLE public."metric three" (
|
||||
"timestamp" timestamp without time zone,
|
||||
"tag four" text,
|
||||
"string two" text
|
||||
);
|
||||
ALTER TABLE public."metric three" OWNER TO postgres;
|
||||
CREATE TABLE public.metric_one (
|
||||
"timestamp" timestamp without time zone,
|
||||
tag_one text,
|
||||
tag_two text,
|
||||
int64_one integer,
|
||||
int64_two integer
|
||||
);
|
||||
ALTER TABLE public.metric_one OWNER TO postgres;
|
||||
CREATE TABLE public.metric_two (
|
||||
"timestamp" timestamp without time zone,
|
||||
tag_three text,
|
||||
string_one text
|
||||
);
|
||||
ALTER TABLE public.metric_two OWNER TO postgres;
|
||||
COPY public."metric three" ("timestamp", "tag four", "string two") FROM stdin;
|
||||
2021-05-17 22:04:45 tag4 string2
|
||||
\.
|
||||
COPY public.metric_one ("timestamp", tag_one, tag_two, int64_one, int64_two) FROM stdin;
|
||||
2021-05-17 22:04:45 tag1 tag2 1234 2345
|
||||
\.
|
||||
COPY public.metric_two ("timestamp", tag_three, string_one) FROM stdin;
|
||||
2021-05-17 22:04:45 tag3 string1
|
||||
\.
|
Loading…
Add table
Add a link
Reference in a new issue