-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Streaming ingest #63
Streaming ingest #63
Conversation
kusto/ingest/file_options.go
Outdated
|
||
func (o option) Run(p *properties.All, scopes OptionScope) error { | ||
|
||
for scope, scopeName := range scopesMap { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you running on scopeMap?
Should it not be a simple x & y check?
I think the issue could be you put the source scope and protocol scope at the same enum
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's an assumption here that scopes include one Source scope and one Protocol scope.
I'm guessing the loop is for producing a specific error, but this can be resolved if you would pass them as separate elements and check the matching individually
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Let me know if that what you had in mind
# Conflicts: # go.mod # go.sum # vendor/modules.txt
Codecov Report
@@ Coverage Diff @@
## master #63 +/- ##
==========================================
+ Coverage 50.29% 52.42% +2.12%
==========================================
Files 28 30 +2
Lines 4096 4273 +177
==========================================
+ Hits 2060 2240 +180
+ Misses 1890 1871 -19
- Partials 146 162 +16
Continue to review full report at Codecov.
|
# Conflicts: # kusto/ingest/ingest.go # kusto/test/etoe/etoe_test.go
-Upgrade go version to 1.16 (1.13 is OOL for a while, and we need new features)
-Adding streaming ingest client with the same ability as ingest.
-Deprecating the Stream method inside ingest
-"Modernize" e2e testing -
testify
because:Still needed: