Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
ut-adx-data-push
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
suryakant
ut-adx-data-push
Commits
1044b2bd
Commit
1044b2bd
authored
Aug 01, 2023
by
suryakant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CSV-Kairos-ADX Data Push
parent
1272c68b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
data_push_with_tag.py
data_push_with_tag.py
+5
-3
No files found.
data_push_with_tag.py
View file @
1044b2bd
...
@@ -148,7 +148,7 @@ class SDKIoTHubIntegration:
...
@@ -148,7 +148,7 @@ class SDKIoTHubIntegration:
DQ_KEY
:
1
,
DQ_KEY
:
1
,
TA_KEY
:
str
(
TA_KEY
:
str
(
self
.
mapping_json
[
each_columns
][
TA_KEY
])
.
replace
(
self
.
mapping_json
[
each_columns
][
TA_KEY
])
.
replace
(
" "
,
""
),
" "
,
""
)
.
replace
(
"-"
,
""
)
,
TH_KEY
:
self
.
mapping_json
[
each_columns
][
TH_KEY
]
TH_KEY
:
self
.
mapping_json
[
each_columns
][
TH_KEY
]
}
}
except
:
except
:
...
@@ -157,7 +157,8 @@ class SDKIoTHubIntegration:
...
@@ -157,7 +157,8 @@ class SDKIoTHubIntegration:
VAL_KEY
:
data_point
,
VAL_KEY
:
data_point
,
DQ_KEY
:
1
,
DQ_KEY
:
1
,
TA_KEY
:
str
(
self
.
mapping_json
[
each_columns
][
TA_KEY
:
str
(
self
.
mapping_json
[
each_columns
][
TA_KEY
])
.
replace
(
" "
,
""
),
TA_KEY
])
.
replace
(
" "
,
""
)
.
replace
(
"-"
,
""
),
TH_KEY
:
self
.
mapping_json
[
each_columns
][
TH_KEY
]
TH_KEY
:
self
.
mapping_json
[
each_columns
][
TH_KEY
]
}
}
else
:
else
:
...
@@ -165,7 +166,8 @@ class SDKIoTHubIntegration:
...
@@ -165,7 +166,8 @@ class SDKIoTHubIntegration:
VAL_KEY
:
None
,
VAL_KEY
:
None
,
DQ_KEY
:
2
,
DQ_KEY
:
2
,
TA_KEY
:
str
(
self
.
mapping_json
[
each_columns
][
TA_KEY
:
str
(
self
.
mapping_json
[
each_columns
][
TA_KEY
])
.
replace
(
" "
,
""
),
TA_KEY
])
.
replace
(
" "
,
""
)
.
replace
(
"-"
,
""
),
TH_KEY
:
self
.
mapping_json
[
each_columns
][
TH_KEY
]
TH_KEY
:
self
.
mapping_json
[
each_columns
][
TH_KEY
]
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment