[ 
https://issues.apache.org/jira/browse/BEAM-14004?focusedWorklogId=738519&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-738519
 ]

ASF GitHub Bot logged work on BEAM-14004:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 09/Mar/22 03:29
            Start Date: 09/Mar/22 03:29
    Worklog Time Spent: 10m 
      Work Description: codecov[bot] edited a comment on pull request #16972:
URL: https://github.com/apache/beam/pull/16972#issuecomment-1054704686


   # 
[Codecov](https://codecov.io/gh/apache/beam/pull/16972?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 Report
   > Merging 
[#16972](https://codecov.io/gh/apache/beam/pull/16972?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 (0cdfdfb) into 
[release-2.36.0](https://codecov.io/gh/apache/beam/commit/3819f2ad7ef3366fdce13fba090a3e6ed874261f?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 (3819f2a) will **increase** coverage by `37.29%`.
   > The diff coverage is `100.00%`.
   
   [![Impacted file tree 
graph](https://codecov.io/gh/apache/beam/pull/16972/graphs/tree.svg?width=650&height=150&src=pr&token=qcbbAh8Fj1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)](https://codecov.io/gh/apache/beam/pull/16972?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   
   ```diff
   @@                 Coverage Diff                 @@
   ##           release-2.36.0   #16972       +/-   ##
   ===================================================
   + Coverage           46.32%   83.61%   +37.29%     
   ===================================================
     Files                 201      452      +251     
     Lines               19734    62072    +42338     
   ===================================================
   + Hits                 9141    51902    +42761     
   - Misses               9612    10170      +558     
   + Partials              981        0      -981     
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/beam/pull/16972?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 | Coverage Δ | |
   |---|---|---|
   | 
[sdks/python/apache\_beam/version.py](https://codecov.io/gh/apache/beam/pull/16972/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9weXRob24vYXBhY2hlX2JlYW0vdmVyc2lvbi5weQ==)
 | `100.00% <100.00%> (ø)` | |
   | 
[sdks/go/pkg/beam/core/runtime/exec/fullvalue.go](https://codecov.io/gh/apache/beam/pull/16972/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9nby9wa2cvYmVhbS9jb3JlL3J1bnRpbWUvZXhlYy9mdWxsdmFsdWUuZ28=)
 | | |
   | 
[sdks/go/pkg/beam/core/metrics/store.go](https://codecov.io/gh/apache/beam/pull/16972/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9nby9wa2cvYmVhbS9jb3JlL21ldHJpY3Mvc3RvcmUuZ28=)
 | | |
   | 
[sdks/go/pkg/beam/core/runtime/pipelinex/util.go](https://codecov.io/gh/apache/beam/pull/16972/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9nby9wa2cvYmVhbS9jb3JlL3J1bnRpbWUvcGlwZWxpbmV4L3V0aWwuZ28=)
 | | |
   | 
[sdks/go/pkg/beam/core/funcx/sideinput.go](https://codecov.io/gh/apache/beam/pull/16972/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9nby9wa2cvYmVhbS9jb3JlL2Z1bmN4L3NpZGVpbnB1dC5nbw==)
 | | |
   | 
[sdks/go/pkg/beam/core/runtime/exec/coder.go](https://codecov.io/gh/apache/beam/pull/16972/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9nby9wa2cvYmVhbS9jb3JlL3J1bnRpbWUvZXhlYy9jb2Rlci5nbw==)
 | | |
   | 
[sdks/go/pkg/beam/testing/passert/floats.go](https://codecov.io/gh/apache/beam/pull/16972/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9nby9wa2cvYmVhbS90ZXN0aW5nL3Bhc3NlcnQvZmxvYXRzLmdv)
 | | |
   | 
[sdks/go/pkg/beam/util.go](https://codecov.io/gh/apache/beam/pull/16972/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9nby9wa2cvYmVhbS91dGlsLmdv)
 | | |
   | 
[sdks/go/pkg/beam/transforms/stats/sum\_switch.go](https://codecov.io/gh/apache/beam/pull/16972/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9nby9wa2cvYmVhbS90cmFuc2Zvcm1zL3N0YXRzL3N1bV9zd2l0Y2guZ28=)
 | | |
   | 
[sdks/go/pkg/beam/core/runtime/xlangx/namespace.go](https://codecov.io/gh/apache/beam/pull/16972/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2Rrcy9nby9wa2cvYmVhbS9jb3JlL3J1bnRpbWUveGxhbmd4L25hbWVzcGFjZS5nbw==)
 | | |
   | ... and [644 
more](https://codecov.io/gh/apache/beam/pull/16972/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
 | |
   
   ------
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/beam/pull/16972?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
   > `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/beam/pull/16972?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
 Last update 
[3819f2a...0cdfdfb](https://codecov.io/gh/apache/beam/pull/16972?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
 Read the [comment 
docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 738519)
    Time Spent: 4h 40m  (was: 4.5h)

> [CosmosDB] com.mongodb.MongoCommandException: Command failed with error 115: 
> Command is not supported
> -----------------------------------------------------------------------------------------------------
>
>                 Key: BEAM-14004
>                 URL: https://issues.apache.org/jira/browse/BEAM-14004
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-mongodb
>    Affects Versions: 2.36.0
>            Reporter: Hector Miuler Malpica Gallegos
>            Priority: P2
>          Time Spent: 4h 40m
>  Remaining Estimate: 0h
>
> You can't read cosmosdb collections using mongodb api because mongodb api 
> doesn't support the  *{{splitVector}}* command.
>  
>  
> {code:java}
> Sending command '{"splitVector": "test01.payment", "keyPattern": {"_id": 1}, 
> "force": false, "maxChunkSize": 1}' with request id 22 to database test01 on 
> connection [connectionId{localValue:6, serverValue:792577514}] to server 
> cdb-test.documents.azure.com:10255{code}
>  
> {code:java}
> com.mongodb.MongoCommandException: Command failed with error 115: 'Command is 
> not supported.  ConnectionId fb598622-cc64-439a-affe-188c280c8e52  
> ActivityId: fde0dba1-0000-0000-0000-000000000000' on server 
> cdb-test.documents.azure.com:10255. The full response is{"_t": 
> "OKMongoResponse", "ok": 0,     "code": 115, "errmsg": "Command is not 
> supported.  ConnectionId fb598622-cc64-439a-affe-188c280c8e52  ActivityId: 
> fde0dba1-0000-0000-0000-000000000000", "$err": "Command is not supported.  
> ConnectionId fb598622-cc64-439a-affe-188c280c8e52  ActivityId: 
> fde0dba1-0000-0000-0000-000000000000"}        at 
> com.mongodb.internal.connection.ProtocolHelper.getCommandFailureException(ProtocolHelper.java:175)
>         at 
> com.mongodb.internal.connection.InternalStreamConnection.receiveCommandMessageResponse(InternalStreamConnection.java:303)
>         at 
> com.mongodb.internal.connection.InternalStreamConnection.sendAndReceive(InternalStreamConnection.java:259)
>         at 
> com.mongodb.internal.connection.UsageTrackingInternalConnection.sendAndReceive(UsageTrackingInternalConnection.java:99)
>         at 
> com.mongodb.internal.connection.DefaultConnectionPool$PooledConnection.sendAndReceive(DefaultConnectionPool.java:450)
>         at 
> com.mongodb.internal.connection.CommandProtocolImpl.execute(CommandProtocolImpl.java:72)
>         at 
> com.mongodb.internal.connection.DefaultServer$DefaultServerProtocolExecutor.execute(DefaultServer.java:226)
>         at 
> com.mongodb.internal.connection.DefaultServerConnection.executeProtocol(DefaultServerConnection.java:269)
>         at 
> com.mongodb.internal.connection.DefaultServerConnection.command(DefaultServerConnection.java:131)
>         at 
> com.mongodb.internal.connection.DefaultServerConnection.command(DefaultServerConnection.java:123)
>         at 
> com.mongodb.operation.CommandOperationHelper.executeCommand(CommandOperationHelper.java:343)
>         at 
> com.mongodb.operation.CommandOperationHelper.executeCommand(CommandOperationHelper.java:334)
>         at 
> com.mongodb.operation.CommandOperationHelper.executeCommandWithConnection(CommandOperationHelper.java:220)
>         at 
> com.mongodb.operation.CommandOperationHelper$5.call(CommandOperationHelper.java:206)
>         at 
> com.mongodb.operation.OperationHelper.withReadConnectionSource(OperationHelper.java:463)
>         at 
> com.mongodb.operation.CommandOperationHelper.executeCommand(CommandOperationHelper.java:203)
>         at 
> com.mongodb.operation.CommandOperationHelper.executeCommand(CommandOperationHelper.java:198)
>         at 
> com.mongodb.operation.CommandReadOperation.execute(CommandReadOperation.java:59)
>         at 
> com.mongodb.client.internal.MongoClientDelegate$DelegateOperationExecutor.execute(MongoClientDelegate.java:194)
>         at 
> com.mongodb.client.internal.MongoDatabaseImpl.executeCommand(MongoDatabaseImpl.java:194)
>         at 
> com.mongodb.client.internal.MongoDatabaseImpl.runCommand(MongoDatabaseImpl.java:163)
>         at 
> com.mongodb.client.internal.MongoDatabaseImpl.runCommand(MongoDatabaseImpl.java:158)
>         at 
> com.mongodb.client.internal.MongoDatabaseImpl.runCommand(MongoDatabaseImpl.java:148)
>         at 
> org.apache.beam.sdk.io.mongodb.MongoDbIO$BoundedMongoDbSource.split(MongoDbIO.java:492)
>         at 
> org.apache.beam.runners.direct.BoundedReadEvaluatorFactory$InputProvider.getInitialInputs(BoundedReadEvaluatorFactory.java:216)
>         at 
> org.apache.beam.runners.direct.ReadEvaluatorFactory$InputProvider.getInitialInputs(ReadEvaluatorFactory.java:88)
>         at 
> org.apache.beam.runners.direct.RootProviderRegistry.getInitialInputs(RootProviderRegistry.java:80)
>         at 
> org.apache.beam.runners.direct.ExecutorServiceParallelExecutor.start(ExecutorServiceParallelExecutor.java:160)
>         at 
> org.apache.beam.runners.direct.DirectRunner.run(DirectRunner.java:213)
>         at 
> org.apache.beam.runners.direct.DirectRunner.run(DirectRunner.java:67)
>         at org.apache.beam.sdk.Pipeline.run(Pipeline.java:323)
>         at org.apache.beam.sdk.Pipeline.run(Pipeline.java:309)
>         ...{code}
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to