Use function return type as interface key

Bug Report

🔎 Search Terms
"A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type.";
"Use function return type as interface key";
"Return unique symbol from function";
🕗 Version & Regression Information

This is the behavior in 4.7.4 and I also observed this behavior on 4.8.2

⏯ Playground Link
Playground link with relevant code
💻 Code
const suffix = 'baz';
type AddSuffix<Prefix extends string> = `${Prefix}-${typeof suffix}`;

function getStringWithSuffix<Prefix extends string>(prefix: Prefix) {
  return `${prefix}-${suffix}` as AddSuffix<Prefix>;
}

const myStringWithSuffix = getStringWithSuffix('foo'); // 'foo-baz';

// { 'foo-baz': string; }
interface WorkingInterface {
  [myStringWithSuffix]: string;
}

const myWorkingObject: WorkingInterface = {
  "foo-baz": 'bar',
}

// A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type.(1169)
interface NonWorkingInterface {
  [getStringWithSuffix('foo')]: string;
}

const myNonWorkingObject: NonWorkingInterface = {
  [getStringWithSuffix('foo')]: 'bar',
}

🙁 Actual behavior
I'm only able to use the type-safe return type of my getStringWithSuffix as the key of my interface(s) if I store this function's return type in a variable and use this variable as the key of my interface(s).
🙂 Expected behavior
I'd expect that both WorkingInterface and NonWorkingInterface would be possible, since the only difference between them, is that I'm creating a variable and using that variable as one of the keys of the WorkingInterface, while on the NonWorkingInterface I'm passing the function return directly within the [].

You can't call functions from a type position. Instead here, you'd need to use a function instantiation expression.
One way to do this is:
interface NonWorkingInterface extends Record<ReturnType<typeof getStringWithSuffix<'foo'>>, string> {
}

// Demo - it does work
declare const nwi: NonWorkingInterface;
const m:string = nwi['foo-baz'];

Hi, @RyanCavanaugh. Thank you for the fast reply!
I do understand the

You can't call functions from a type position
of your comment, but I can't seem to wrap my head around to why

interface PossibleAlternativeInterface {
  [AddSuffix<'foo'>]: string;
}

wouldn't be valid.
Regarding your suggestion: while
interface NonWorkingInterface extends Record<ReturnType<typeof getStringWithSuffix<'foo'>>, string> {
}

does work, it becomes cumbersome if I have to do this for more than 1 dynamically-keyed interfaces, especially when nesting are in place. Consider the following example:
interface DeeplyNested {
  foo: {
    baz: string;
    bar: string;
  } & Record<ReturnType<typeof getStringWithSuffix<'foo'>>, string>;
  bar: {
    baz: Record<ReturnType<typeof getStringWithSuffix<'foo'>>, string> & Record<ReturnType<typeof getStringWithSuffix<'bar'>>, string>
  }
}

Also, perhaps the error output could be more tailored to the mis-usage of function calls within the type declaration?

[...] wouldn't be valid.

Computed property names always refer to values


Does not work - how to debug ?

I have ollama running
http get http://<IP_ADDRESS>:11434
HTTP/1.1 200 OK
Content-Length: 17
Content-Type: text/plain; charset=utf-8
Date: Thu, 14 Mar 2024 10:35:47 GMT

Ollama is running

but getting "fetch failed" in UI (Node executor)

Could be an ipv6 issue that someone else was getting, try using http://<IP_ADDRESS> as the ollama url in rivet's settings

nope - does not help

I'd ask on the discord, maybe someone can help

I had this problem as well, after a few hours of intesive swearing I made it work.
Most important you need to add the port as well in the host

Also you need to use Node executor instead of browser

This setup worked for me


Hi I wanna know how many recall positions the AP is in official tool

Thanks for your great contribution！
I want to know how many recall positions of AP calculation in official tool, 40recall or 11recall positions？

Hi, we use 100 score cutoff points in evaluation. Please refer to https://github.com/waymo-research/waymo-open-dataset/blob/master/waymo_open_dataset/metrics/tools/compute_detection_metrics_main.cc#L116-L119

Hi, we use 100 score cutoff points in evaluation. Please refer to https://github.com/waymo-research/waymo-open-dataset/blob/master/waymo_open_dataset/metrics/tools/compute_detection_metrics_main.cc#L116-L119

Got it, thank you and have a good day!


Use dashed edges for aggregate

Closes #27.
Renders

for the following project (see spec/works):
lazy val foo = project in file(".") aggregate (a, b, c)

val a = project
val b = project dependsOn a
val c = project dependsOn b

@dwijnand Looks like 0.13 results in a different order of dependencies in the Graph so Travis CI fails on 0.13.
Any idea what causes this?  How could I work around this issue in tests?  I'm not familiar with sbt-scripted.

@dwijnand I updated the plugin build to SBT 1.1.5, and changed DOT output to sort nodes and edges first to make the DOT output stable, so scripted now runs on SBT 1.1 and 0.13.

That's properly amazing, @lunaryorn. I'm seriously impressed.
My only pushback was I prefer testing on minimal sbt versions. So I've pushed a commit to that effect, and I'm happy to merge this if Travis CI is happy with it.

Thank you very much, I’m flattered 😊
Thank you very much for merging.  Would you mind to publish a new release?

Done! https://github.com/dwijnand/sbt-project-graph/releases/tag/v0.3.0

@dwijnand Thanks :+1:

Also for the invation.  Not sure how much I'll add, since my single most desired change is now in, but I'll keep an eye on it :heart:

It comes with no strings attached. If I get hit by a bus you can take over now. 😄


program keeps running on home screen

Should probably compile an empty program before fully leaving the editor

fixed in https://github.com/microsoft/microcode/commit/bc925e5477618bcbc58ef4783e2152490409831f


Compose CLI - Rolling service restart

Add an optional rancher-compose restart --batch-size "2" where it can restart "2" containers from a given service at a time rather than restarting all containers and potentially disrupting the service itself.

Also this could be useful(?) for rolling service restart
# Set the interval to 30 seconds, which is the time between
# when the containers restart
$ rancher-compose restart service --interval "30000"

Tested with rancher-compose-v0.7.0-rc1
Rancher server - Build from master
Rolling restart is now supported from rancher-compose using the following command:
./rancher-compose -p test1 -f dc.yml  restart --batch-size 2 --interval 30000
This should be available in the next rancher-server release.


Fixed based on review

Fix based on review feedback in https://github.com/kubernetes/website/pull/30502
Signed-off-by: Lachlan Evenson<EMAIL_ADDRESS>

/lgtm
/approve
prow noises


Send firmware + hardware version from controller -> GUI

Summary:
Add nanopb implementation of ControllerIdentification message that is being sent on reboot currently.
Details:
Add serializing functionality and use it in comms library.

@jlebar Please add some details

@Miceuz can you clarify what you meant by this bug?  Is this "send software version from controller to the GUI"?

Yes, now this issue is just about providing version information to GUI.
Both firmware version and hardware version. I have asked electronics guys to include hardware identification via resistor combination on board, didn't yet look how they implemented that, but have seen the issue close.

need solution for how to set hardware version, but the SW version part of this can be picked up and implemented by soemone

Hardware Revision ID bits are on GPIO pins, described in the Rev A Interface Control Document lines 14 and 15: https://docs.google.com/spreadsheets/d/1EPEkAWZGx5ASWL2mgTzymS2f11Ow9ptx9c8Sycb3_Go/edit?usp=sharing
ID 00 is Rev 1.0, ID 01 is Rev A Hardware


[Feature] Api Server Support API: Run Ray Service on the cluster which is created already

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
No response
Use case
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

This is partially implemented by providing the ability to create a Ray cluster with Serve support. Additional enhancements to configure serve through the API server are coming soon


fatal error: NvInfer.h: No such file or directory

When rebuild IOS runtime and TRT runtime, I run "make -j4" but it gets the error fatal error: NvInfer.h: No such file or directory. There is no such file named "NvInfer.h". How to solve it?

oooo, I have solved it.
Add include_directories(/home/cy/TensorRT-<IP_ADDRESS>/include) and link_directories(/home/cy/TensorRT-<IP_ADDRESS>/lib) to CMakeLists.txt and it will be ok.

Cool. You can also try adding the TensorRT path to config.cmake file (at line 8) and rebuild (cmake & make).


recognize regenerator generators too

Hi! This p.r. replaces the /^function\s*\*/ test with is-generator, which is capable of detecting native generators as well as those transformed by Babel’s regenerator runtime. Hopefully this will allow some reuse in projects like this, where that whole chunk might be replaced with jasmine-co. Feedback welcome.

Thanks for this. It's a nice simple change that adds compatibility without requiring any user changes. Merging and will publish a new version.

Published to npm as 1.0.2.

Cool, thanks @bloveridge!


Accessing rendered HTML in Nuxt hook in order to process and change the order of meta tags in nuxt2

Describe the feature
I used the capo.js extension and my website has a critical ordering issue in metatags.
how can I find a way to reorder meta tags based on capo.js suggestions in nuxt2 SSR?
Additional information

[X] Would you be willing to help implement this feature?
[X] Could this feature be implemented as a module?

Final checks

[X] Read the contribution guide.
[X] Check existing discussions and issues.

We are approaching the Nuxt 2 EOL date (June 30, 2024) - see this article for more information. This is advance warning that I'm going to close this issue then, as it's currently marked as a Nuxt 2 related bug.
If it's a critical or security issue, please do comment and let me know, in case it is possible to address it before the EOL date.
If it's a an issue you think is relevant for Nuxt 3, please feel free to open a fresh issue (or just comment here so I can update labels, etc.). 🙏
Thank you for your understanding and for your contribution to Nuxt. ❤

It's the day, at last. Nuxt 2 is now marked end-of-life.
My apologies we never got round to resolving this bug in the 2.x branch, but we do have to draw a line somewhere. Again, if you think this is still relevant for Nuxt going forward, please feel free to open a fresh issue (or just comment here so I can update labels, etc.). 🙏

@danielroe
I appreciate you for following up on this issue and your commitment.
I couldn't find a way to solve it, so I decided to handle it for the new website version, which is based on Nuxt 3.


Add the issue_number of the issue being commented on as input

It would be helpful to be able to specify the issue to comment on, as I would like to use this action in a workflow triggered by issue_comment.

Can you please provide an example of what you mean.
Not sure that I understood you.

@MishaKav Tshanks for confirming.
If triggered by issue_comment, the context pull_request should be empty.
So no coverage report will be posted anywhere at that time.
So I would like to be able to set the issue_number of the post destination myself as an optional argument.
https://github.com/MishaKav/jest-coverage-comment/blob/434e6d2d37116d23d812809b61d499639842fa3b/src/create-comment.ts#L12-L16
My use case would be as follows.
Instead of running every time a change is committed to PR, we want to run CI only when /test is commented. The above problem occurs because the issue_comment trigger is used in that case.
https://github.com/orgs/community/discussions/25389

I got you, I will implement this soon when I have some free time.


feat: updated json schema library

Closes #
Verification Steps

Do x
Do y

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation change
[ ] Other (please specify)

LGTM


Wrong parsing of key value

I was testing this plugin with the following configuration:
<filter **>
  @type key_value_parser
  key message
  use_regex true
  remove_key false
</filter>

And for this message:
[MSGRECEIVER] TASKSTATUS receive rate=2 per minute

The value extracted for rate was: 2 per minute, which seems wrong to me, it should have been just 2.
I was using the latest versions of fluentd and this plugin.
I think this is the regex used by the plugin to extract the key and the value:
  "#{line} ".scan(/(?<key>[a-zA-Z_0-9]+)=(?<value>([^=]+|[^ ]+))\s/).to_h

And I wonder if the part ^=]+|[^ ]+ is the problem, perhaps rewriting the regex like this would work better?
  "#{line} ".scan(/(?<key>[a-zA-Z_0-9]+)=(?<value>([^= ]+))\s/).to_h

The default keys delimiter is space, which means the filter will treat per and minute as keys also.  to be able to solve your issue you can do one of the following options

disable regex and use keys_delimiter (, as keys separator instead of space)

<filter **>
  @type key_value_parser
  key message
  use_regex false
  keys_delimiter /,/
  remove_key false
</filter>

Create a PR to make the regex configurable :)

Sorry but I believe you are mistaken. According to the current regex, keys have to be followed by an equal sign character, which those words are not. I think the problem is with the part [^=]+ which will eagerly capture as many characters as possible before even consider the alternative that stops at spaces.
I have tried my suggestion and it did work as expected. I also tried an even better version that also stops a commas:
"#{line} ".scan(/(?<key>[a-zA-Z_0-9]+)=(?<value>([^= ,]+))\s/).to_h

That would be a much better default in my humble opinion.
You are absolutely right, to be able to specify my own regex will be the perfect solution. I would like to provide a PR for it myself, but getting permission to be allowed to contribute to open source projects is a non-trivial process at my company, I will consider it, thanks.


SPARKC-657 Bump DSE & OSS C* versions to current patch/RC releases

Description
How did the Spark Cassandra Connector Work or Not Work Before this Patch
N/A as it worked correctly on older patch/RC versions of DSE & OSS C*
Describe the problem, or state of the project that this patch fixes. Explain
why this is a problem if this isn't obvious.
Testing the latest patch release versions for compatibility
General Design of the patch
N/A
How the fix is accomplished, were new parameters or classes added? Why did you
pursue this particular fix?
Updated the GHA to test with latest versions
Fixes: SPARKC-657
How Has This Been Tested?
Almost all changes and especially bug fixes will require a test to be added to either the integration or Unit Tests. Any tests added will be automatically run on travis when the pull request is pushed to github. Be sure to run suites locally as well.

Click here to expand/collapse the local testing console output
% ./sbt/sbt test
Launching sbt from sbt/sbt-launch-1.3.3.jar
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=350m; support was removed in 8.0
[info] Loading settings for project spark-cassandra-connector-build from updates.sbt,plugins.sbt ...
[info] Loading project definition from /Users/madhavansridharan/Data/Tools/sperf_and_nibbler/spark-cassandra-connector/project
[info] Loading settings for project root from build.sbt ...
Using Some(releases: https://oss.sonatype.org/service/local/staging/deploy/maven2) for publishing
Reading credentials from None
Running 10 Parallel Tasks
[info] Set current project to root (in build file:/Users/madhavansridharan/Data/Tools/sperf_and_nibbler/spark-cassandra-connector/)
[warn] Credentials file /Users/madhavansridharan/.ivy2/.credentials does not exist
[warn] Credentials file /Users/madhavansridharan/.ivy2/.credentials does not exist
[warn] Credentials file /Users/madhavansridharan/.sbt/credentials does not exist
[warn] Credentials file /Users/madhavansridharan/.sbt/credentials.deploy does not exist
[warn] Credentials file /Users/madhavansridharan/.sbt/credentials does not exist
[warn] Credentials file /Users/madhavansridharan/.sbt/credentials.deploy does not exist
[warn] Credentials file /Users/madhavansridharan/.ivy2/.credentials does not exist
[warn] Credentials file /Users/madhavansridharan/.ivy2/.credentials does not exist
[warn] Credentials file /Users/madhavansridharan/.sbt/credentials does not exist
[warn] Credentials file /Users/madhavansridharan/.sbt/credentials does not exist
[warn] Credentials file /Users/madhavansridharan/.sbt/credentials.deploy does not exist
[warn] Credentials file /Users/madhavansridharan/.sbt/credentials.deploy does not exist
[warn] Credentials file /Users/madhavansridharan/.ivy2/.credentials does not exist
[warn] Credentials file /Users/madhavansridharan/.sbt/credentials does not exist
[warn] Credentials file /Users/madhavansridharan/.sbt/credentials.deploy does not exist
[info] Compiling 3 Scala sources and 6 Java sources to /Users/madhavansridharan/Data/Tools/sperf_and_nibbler/spark-cassandra-connector/connector/target/scala-2.12/test-classes ...
[info] CassandraRowTest:
[info] - basicAccessTest
[info] - nullAccessTest
[info] - NoneAccessTest
[info] - nullToStringTest
[info] - nonExistentColumnAccessTest
[info] - primitiveConversionTest
[info] - collectionConversionTest
[info] - serializationTest
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[info] MultiplexingSchemaListenerTest:
[info] MutableSchemaListener
[info] - should allow adding or removing listeners
[info] - should work with 0 listeners
[info] - should work with 1 listeners
[info] - should work with 2 listeners
[info] - should work with 3 listeners
[info] - should work with 4 listeners
[info] - should work with 5 listeners
[info] - should work with 6 listeners
[info] - should work with 7 listeners
[info] - should work with 8 listeners
[info] - should work with 9 listeners
[info] - should work with 10 listeners
[info] - should allow listeners to be added while triggering events
[info] LocalNodeFirstLoadBalancingPolicySpec:
[info] - should set distance to LOCAL for local node in local dc
[info] - should set distance to IGNORED for local node in different dc
[info] - should set distance to REMOTE for remote nodes
[info] - should apply configured node filter
[info] TimestampParserSpec:
[info] - should parse fast all supported date[time[zone]] formats
[info] GettableDataToMappedTypeConverterSpec:
[info] GettableDataToMappedTypeConverter
[info] - should be Serializable
[info] - should convert a CassandraRow to a case class object
[info] - should convert a CassandraRow to a case class object after being serialized/deserialized
[info] - should convert a CassandraRow to a tuple
[info] - should convert a CassandraRow to a tuple in reversed order
[info] - should convert a CassandraRow to a tuple with a subset of columns
[info] - should convert a UDTValue to a case class object
[info] - should convert a TupleValue to a Scala tuple
[info] - should allow for nesting UDTValues inside of TupleValues
[info] - should allow for nesting TupleValues inside of UDTValues
[info] - should convert nulls to Scala Nones
[info] - should convert using custom column aliases
[info] - should set property values with setters
[info] - should apply proper type conversions for columns
[info] - should convert a CassandraRow with a UDTValue into nested case class objects
[info] - should convert a CassandraRow with a UDTValue into a case class with a nested tuple
[info] - should convert a CassandraRow with an optional UDTValue
[info] - should convert a CassandraRow with a list of UDTValues
[info] - should convert a CassandraRow with a set of UDTValues
[info] - should convert a CassandraRow with a collection of UDTValues
[info] - should convert a CassandraRow with a collection of tuples
[info] - should convert a CassandraRow to a JavaBean
[info] - should convert a CassandraRow with UDTs to nested JavaBeans
[info] - should convert a CassandraRow with UDTs with Long null values to nested JavaBeans
[info] - should throw a meaningful exception when a column type is not supported
[info] - should throw a meaningful exception when a column value fails to be converted
[info] - should throw NPE with a meaningful message when a column value is null
[info] - should throw NPE when trying to access its targetTypeTag after serialization/deserialization
[info] MultipleRetryPolicySpec:
[info] MultipleRetryPolicy
[info] - should retry always if maxRetry is -1
[info] - should not retry past maxRetry
[info] - should not retry authentication errors
[info] - should retry all of our accepted exceptions
[info] ColumnTypeSpec:
[info] A ColumnType companion object
[info] - should throw InvalidArgumentException if given unsupported type
[info]   should allow to obtain a proper ColumnType
[info]   - when given a Boolean should return BooleanType
[info]   - when given a java.lang.Boolean should return BooleanType
[info]   - when given an Int should return IntType
[info]   - when given an java.lang.Integer should return IntType
[info]   - when given a Long should return BigIntType
[info]   - when given a java.lang.Long should return BigIntType
[info]   - when given a Float should return FloatType
[info]   - when given a java.lang.Float should return FloatType
[info]   - when given a Double should return DoubleType
[info]   - when given a java.lang.Double should return DoubleType
[info]   - when given a String should return VarcharType
[info]   - when given a java.lang.Short should return a SmallIntType
[info]   - when given a Short should return a SmallIntType
[info]   - when given a Byte should return a TinyIntType
[info]   - when given a java.lang.Byte should return a TinyIntType
[info]   - when given a java.lang.Short and PV3 should return a IntType
[info]   - when given a Short and PV3 should return a IntType
[info]   - when given a Byte and PV3 should return a IntType
[info]   - when given a java.lang.Byte and PV3 should return a IntType
[info]   - when given a java.util.Date should return TimestampType
[info]   - when given a java.sql.Date should return DateType
[info]   - when given a java.sql.Date and a pre V4 Protcol version should return a TimestampType
[info]   - when given a ByteBuffer should return BlobType
[info]   - when given an Array[Byte] should return BlobType
[info]   - when given an UUID should return UUIDType
[info]   - when given a List[String] should return ListType(VarcharType)
[info]   - when given a Set[InetAddress] should return SetType(InetType)
[info]   - when given a Map[Int, Date] should return MapType(IntType, TimestampType)
[info]   - when given an Option[Int] should return IntType
[info]   - when given an Option[Vector[Int]] should return ListType(IntType)
[info] TableDefSpec:
[info] A TableDef#cql method
[info]   should produce valid CQL
[info]   - when it contains no clustering columns
[info]   - when it contains clustering columns
[info]   - when it contains compound partition key and multiple clustering columns
[info]   - when it contains a column of a collection type
[info]   - when it contains compound partition key, if not exists, multiple clustering columns with sorting and options
[info] MappedToGettableDataConverterSpec:
[info] MappedToGettableDataConverter
[info] - should be Serializable
[info] - should convert a simple case class to a CassandraRow
[info] - should convert a simple case class to a UDTValue
[info] - should convert a Scala tuple to a TupleValue
[info] - should convert nested classes
[info] - should convert a nested UDTValue to a UDTValue
[info] - should convert user defined types nested in collections
[info] - should convert user defined types nested in tuples
[info] - should convert tuples nested in user defined types
[info] - should convert nulls to Scala Nones
[info] - should convert None case class to null
[info] - should convert Some case class to UDT
[info] - should convert using custom column aliases
[info] - should convert a java bean to a CassandraRow
[info] - should convert nested JavaBeans
[info] - should convert commons-lang3 Pairs to TupleValues
[info] - should convert commons-lang3 Triples to TupleValues
[info] - should throw a meaningful exception when a column has an incorrect type
[info] - should throw a meaningful exception when a tuple field has an incorrect number of components
[info] - should work after serialization/deserialization
[info] ColumnRefSpec:
[info] A FunctionCallRef should
[info] - should generate its equivalent CQL code for: f()
[info] - should generate its equivalent CQL code for: f(3)
[info] - should generate its equivalent CQL code for: f("col01")
[info] - should generate its equivalent CQL code for: f("col01","col02")
[info] - should generate its equivalent CQL code for: f("col01",1,"hello")
[info] - should generate its equivalent CQL code for: g("col01",f("col02",1,"hello"))
[info] - should be able to provide a list of columns used as actual parameters by: f()
[info] - should be able to provide a list of columns used as actual parameters by: f(3)
[info] - should be able to provide a list of columns used as actual parameters by: f("col01")
[info] - should be able to provide a list of columns used as actual parameters by: f("col01","col02")
[info] - should be able to provide a list of columns used as actual parameters by: f("col01",1,"hello")
[info] - should be able to provide a list of columns used as actual parameters by: g("col01",f("col02",1,"hello"))
[info] ReflectionUtilSpec:
[info] ReflectionUtil.findGlobalObject
[info] - should be able to find a global object
[info] - should be able to find a global object in a multi-threaded context
[info] - should be able to instantiate a singleton object based on Java class name
[info] - should cache Java class instances
[info] - should throw IllegalArgumentException when asked for a Scala object of wrong type
[info] - should throw IllegalArgumentException when asked for class instance of wrong type
[info] - should throw IllegalArgumentException when object does not exist
[info] ReflectionUtil.constructorParams
[info] - should return proper constructor param names and types for a class with a single constructor
[info] - should return main constructor's param names and types for a class with multiple constructors
[info] ReflectionUtil.getters
[info] - should return getter names and types
[info] ReflectionUtil.setters
[info] - should return setter names and types
[info] ReflectionUtil.methodParamTypes
[info] - should return method param types
[info] - should return proper method param types for generic type
[info] - should throw IllegalArgumentException if the requested method is missing
[info] CollectionColumnTypeSpec:
[info] ListType
[info] - should mark nested UDT types as frozen
[info] - should not mark non UDT types as frozen
[info] SetType
[info] - should mark nested UDT types as frozen
[info] - should not mark non UDT types as frozen
[info] MapType
[info] - should mark key UDT types as frozen
[info] - should mark value UDT types as frozen
[info] Test run started
[info] Test com.datastax.spark.connector.mapper.PropertyExtractorTest.testSimpleExtraction started
[info] Test com.datastax.spark.connector.mapper.PropertyExtractorTest.testWrongPropertyName started
[info] Test com.datastax.spark.connector.mapper.PropertyExtractorTest.testAvailableProperties started
[info] Test run finished: 0 failed, 0 ignored, 3 total, 0.008s
[info] Test run started
[info] Test com.datastax.spark.connector.types.CanBuildFromTest.testBuild started
[info] Test com.datastax.spark.connector.types.CanBuildFromTest.testSerializeAndBuild started
[info] Test com.datastax.spark.connector.types.CanBuildFromTest.testSerializeAndBuildWithOrdering started
[info] Test run finished: 0 failed, 0 ignored, 3 total, 0.004s
[info] Test run started
[info] Test com.datastax.spark.connector.mapper.TupleColumnMapperTest.testIncompleteConstructor started
[info] Test com.datastax.spark.connector.mapper.TupleColumnMapperTest.testIncompleteGetters started
[info] Test com.datastax.spark.connector.mapper.TupleColumnMapperTest.testGetters started
[info] Test com.datastax.spark.connector.mapper.TupleColumnMapperTest.testSerialize started
[info] Test com.datastax.spark.connector.mapper.TupleColumnMapperTest.testImplicit started
[info] Test com.datastax.spark.connector.mapper.TupleColumnMapperTest.testConstructor started
[info] Test com.datastax.spark.connector.mapper.TupleColumnMapperTest.testNewTable started
[info] Test run finished: 0 failed, 0 ignored, 7 total, 0.016s
[info] Test run started
[info] Test com.datastax.spark.connector.types.TypeSerializationTest.testSerializationOfCollectionTypes started
[info] Test com.datastax.spark.connector.types.TypeSerializationTest.testSerializationOfPrimitiveTypes started
[info] Test run finished: 0 failed, 0 ignored, 2 total, 0.018s
[info] Test run started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaDouble started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testInetAddress started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testYearLocalDate started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testSerializeMapConverter started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaInteger started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testChainedConverters started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testLocalTimeType started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testTreeMap started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testTreeSet started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testInt started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testMap started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testSet started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testByteArray started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testBigDecimal started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testFloat started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testDate started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testList started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testLong started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testPair started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testUUID started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testParsableDate started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testTypeAliases started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testCalendar1 started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testCalendar2 started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testLocalDate started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaDurationTypeTag started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaBigDecimal started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaInstantTypeTag started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testBoolean started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaFloat started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testUnsupportedType started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testRegisterCustomConverterExtension started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaBigInteger started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaList started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaLong started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testCassandraOption started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaBoolean started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testTimestamp started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testRegisterCustomConverter started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testSerializeCollectionConverter started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testCassandraOptionToNull started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testBigInt started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testChainedConverterSerializability started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testDouble started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaHashMap started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaHashSet started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaMapping started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testOption started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testString started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testTriple started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testOptionToNullConverter started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaArrayList started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testSqlDate started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaMap started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaSet started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaLocalDate started
[info] Test com.datastax.spark.connector.types.TypeConverterTest.testJavaLocalTime started
[info] Test run finished: 0 failed, 0 ignored, 57 total, 0.131s
[info] Test run started
[info] Test com.datastax.spark.connector.mapper.JavaBeanColumnMapperTest.testWorkWithAliasesAndHonorOverrides started
[info] Test com.datastax.spark.connector.mapper.JavaBeanColumnMapperTest.testSerializeColumnMap started
[info] Test com.datastax.spark.connector.mapper.JavaBeanColumnMapperTest.testGetters started
[info] Test com.datastax.spark.connector.mapper.JavaBeanColumnMapperTest.testColumnNameOverrideSetters started
[info] Test com.datastax.spark.connector.mapper.JavaBeanColumnMapperTest.testImplicit started
[info] Test com.datastax.spark.connector.mapper.JavaBeanColumnMapperTest.testSetters started
[info] Test com.datastax.spark.connector.mapper.JavaBeanColumnMapperTest.testGettersWithUDT started
[info] Test com.datastax.spark.connector.mapper.JavaBeanColumnMapperTest.testWorkWithAliases started
[info] Test com.datastax.spark.connector.mapper.JavaBeanColumnMapperTest.testColumnNameOverrideGetters started
[info] Test run finished: 0 failed, 0 ignored, 9 total, 0.026s
[info] Test run started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testSetters1 started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testSetters2 started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.columnNameOverrideConstructor started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testGetters1 started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testGetters2 started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testWorkWithAliasesAndHonorOverrides started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.columnNameOverrideGetters started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testNotEnoughPropertiesForWriting started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testNewTableForClassWithVars started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testNewTableForEmptyClass started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testConstructorParams1 started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testConstructorParams2 started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testNotEnoughColumnsSelectedForReading started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testImplicit started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.columnNameOverrideSetters started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testNewTableForClassWithUnsupportedPropertyType started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testWorkWithAliases started
[info] Test com.datastax.spark.connector.mapper.DefaultColumnMapperTest.testNewTableForCaseClass started
[info] Test run finished: 0 failed, 0 ignored, 18 total, 0.066s
[warn] there were two deprecation warnings (since 2.12.0); re-run with -deprecation for details
[warn] one warning found
[info] ScalaTest
[info] Run completed in 5 seconds, 852 milliseconds.
[info] Total number of tests run: 146
[info] Suites: completed 12, aborted 0
[info] Tests: succeeded 146, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.
[info] Passed: Total 245, Failed 0, Errors 0, Passed 245
[info] Done compiling.
[info] RandomPartitionerTokenFactorySpec:
[info] RandomPartitionerTokenFactory
[info] - should create a token from String
[info] - should create a String representation of a token
[info] - should calculate the distance between tokens if right > left
[info] - should calculate the distance between tokens if right <= left
[info] - should calculate ring fraction
[info] InputMetricsUpdaterSpec:
[info] - should create updater which uses task metrics
[info] - should be thread-safe when it uses task metrics
[info] - should create updater which does not use task metrics
[info] - should create updater which uses Codahale metrics
[info] - should be thread-safe when using Codahale metrics
[info] - should create updater which doesn't use Codahale metrics
[info] Murmur3TokenFactorySpec:
[info] Murmur3TokenFactory
[info] - should create a token from String
[info] - should create a String representation of a token
[info] - should calculate the distance between tokens if right > left
[info] - should calculate the distance between tokens if right <= left
[info] - should calculate ring fraction
[info] WriteConfTest:
[info] WriteConf
[info] - should be configured with proper defaults
[info] - should allow setting the rate limit as a decimal
[info] - should allow to set consistency level
[info] - should allow to set parallelism level
[info] - should allow to set batch size in bytes
[info] - should allow to set batch size in bytes when rows are set to auto
[info] - should allow to set batch size in rows
[info] - should allow to set batch level
[info] - should allow to set batch buffer size
[info] RateLimiterSpec:
[info] RateLimiter
[info] - should not cause delays if rate is not exceeded
[info] - should sleep to not exceed the target rate
[info] - should sleep and leak properly with different Rates
[info] ColumnSelectorSpec:
[info] A ColumnSelector#selectFrom method
[info] - should return all columns
[info] - should return partition key columns
[info] - should return some columns
[info] - should return selections with function calls
[info] - should throw a NoSuchElementException when selected column name is invalid
[info] - should throw a NoSuchElementException when a function call has a missing column as an actual parameter
[info] OutputMetricsUpdaterSpec:
[info] - should create updater which uses task metrics
[info] - should create updater which does not use task metrics
[info] - should create updater which uses Codahale metrics
[info] - should create updater which doesn't use Codahale metrics
[info] - should work correctly with multiple threads
[info] DeprecationSpec:
[info] The Spark Cassandra Connector
 WARN 10:17:57,845 com.datastax.spark.connector.util.Logging (Logging.scala:47) - spark.cassandra.connection.local_dc is deprecated (DSE 6.0.0) and has been automatically replaced with parameter spark.cassandra.connection.localDC.
 WARN 10:17:57,847 com.datastax.spark.connector.util.Logging (Logging.scala:47) - spark.cassandra.input.reads_per_sec is deprecated (DSE 6.0.0) and has been automatically replaced with parameter spark.cassandra.input.readsPerSec.
 WARN 10:17:57,848 com.datastax.spark.connector.util.Logging (Logging.scala:47) - spark.cassandra.connection.keep_alive_ms is deprecated (DSE 6.0.0) and has been automatically replaced with parameter spark.cassandra.connection.keepAliveMS.
 WARN 10:17:57,848 com.datastax.spark.connector.util.Logging (Logging.scala:47) - spark.cassandra.input.split.size_in_mb is deprecated (DSE 6.0.0) and has been automatically replaced with parameter spark.cassandra.input.split.sizeInMB.
 WARN 10:17:57,848 com.datastax.spark.connector.util.Logging (Logging.scala:47) - spark.cassandra.connection.reconnection_delay_ms.min is deprecated (DSE 6.0.0) and has been automatically replaced with parameter spark.cassandra.connection.reconnectionDelayMS.min.
 WARN 10:17:57,849 com.datastax.spark.connector.util.Logging (Logging.scala:47) - spark.cassandra.input.fetch.size_in_rows is deprecated (DSE 6.0.0) and has been automatically replaced with parameter spark.cassandra.input.fetch.sizeInRows.
 WARN 10:17:57,849 com.datastax.spark.connector.util.Logging (Logging.scala:47) - spark.sql.dse.solr.enable_optimization is deprecated (DSE 6.0.0) and has been automatically replaced with parameter spark.sql.dse.search.enableOptimization.
 WARN 10:17:57,849 com.datastax.spark.connector.util.Logging (Logging.scala:47) - spark.cassandra.connection.timeout_ms is deprecated (DSE 6.0.0) and has been automatically replaced with parameter spark.cassandra.connection.timeoutMS.
 WARN 10:17:57,850 com.datastax.spark.connector.util.Logging (Logging.scala:47) - spark.cassandra.connection.reconnection_delay_ms.max is deprecated (DSE 6.0.0) and has been automatically replaced with parameter spark.cassandra.connection.reconnectionDelayMS.max.
 WARN 10:17:57,850 com.datastax.spark.connector.util.Logging (Logging.scala:47) - spark.cassandra.read.timeout_ms is deprecated (DSE 6.0.0) and has been automatically replaced with parameter spark.cassandra.read.timeoutMS.
 WARN 10:17:57,850 com.datastax.spark.connector.util.Logging (Logging.scala:47) - spark.cassandra.output.throughput_mb_per_sec is deprecated (DSE 6.0.0) and has been automatically replaced with parameter spark.cassandra.output.throughputMBPerSec.
[info] - should deprecate ConnectionConf
[info] - should deprecate ReadConf
[info] - should deprecate WriteConf
[info] - should deprecate SoureConf
[info] WriteOptionTest:
[info] TTLOption
[info] - should properly create constant write option with duration in seconds
[info] - should properly create constant write option with scala.concurrent.duration.Duration
[info] - should properly create constant write option with scala.concurrent.duration.Duration.Infinite
[info] - should properly create constant write option with org.joda.time.Duration
[info] - should properly create infinite duration
[info] - should properly create per-row duration placeholder
[info] TimestampOption
[info] - should properly create constant write option with timestamp in microseconds
[info] - should properly create constant write option with DateTime
[info] - should properly create constant write option with Date
[info] ConsolidateSettingsSpec:
[info] - should use SparkConf settings by default
[info] - should override SparkConf settings by SQLContext settings
[info] - should override global SQLContext settings by cluster level settings
[info] - should override cluster level SQLContext settings by keyspace level settings
[info] - should override keyspace level SQLContext settings by table level settings
[info] - should be case insensitive in table conf options
[info] AnyObjectFactoryTest:
[info] AnyObjectFactory
[info]   when instantiated for a bean class with a single, no-args constructor
[info]   - should create an instance of that class with newInstance
[info]   - should return 0 with argCount
[info]   - should return empty collection with constructorParamTypes
[info]   - should return that class with javaClass
[info]   when instantiated for a bean class with multiple constructors which include no-args constructor
[info]   - should create an instance of that class with newInstance
[info]   - should return that class with javaClass
[info]   when instantiated for an inner Java class
[info]   - should create an instance of that class with newInstance
[info]   - should return that class with javaClass
[info]   when instantiated for a deeply nested inner Java class
[info]   - should create an instance of that class with newInstance
[info]   - should return that class with javaClass
[info]   when tried to be instantiated for an unsupported bean class
[info]   - should throw NoSuchMethodException if class does not have suitable constructor
[info]   when instantiated for a Scala case class with 2 args constructor
[info]   - should create an instance of that class with newInstance
[info]   - should return 2 with argCount because the only constructor of this case class has two args
[info]   - should return collection of {Int, String} types with constructorParamTypes
[info]   - should return that class with javaClass
[info]   when instantiated for a Scala case class with 2 args constructor which is defined inside an object
[info]   - should create an instance of that class with newInstance
[info]   - should return 2 with argCount because the only constructor of this case class has two args
[info]   - should return collection of {Int, String} types with constructorParamTypes
[info]   - should return that class with javaClass
[info]   when instantiated for a Scala class with 2 args constructor
[info]   - should create an instance of that class with newInstance
[info]   - should return 2 with argCount because the only constructor of this class has 2 args
[info]   - should return collection of {Int, String} types with constructorParamTypes
[info]   - should return that class with javaClass
[info]   when instantiated for a Scala class with 2 args constructor and without fields
[info]   - should create an instance of that class with newInstance
[info]   - should return 2 with argCount because the only constructor of this class has 2 args
[info]   - should return collection of {Int, String} types with constructorParamTypes
[info]   - should return that class with javaClass
[info]   when instantiated for a Scala class with multiple constructors
[info]   - should create an instance of that class with newInstance
[info]   - should return that class with javaClass
[info]   when instantiated for an inner Scala class with 2 args constructor
[info]   - should create an instance of that class with newInstance
[info]   - should return 2 with argCount
[info]   - should return collection of {Int, String} types with constructorParamTypes
[info]   - should return that class with javaClass
[info]   when instantiated for a deeply nested inner Scala class
[info]   - should create an instance of that class with newInstance
[info]   - should return that class with javaClass
[info]   when serialized
[info]   - should allow to be deserialized and reused
[info] BucketingRangeIndexSpec:
[info] BucketingRangeIndex
[info] - should find ranges containing given point when ranges do not overlap
[info] - should find ranges containing given point when ranges do overlap
[info] - should find proper ranges when they wrap around
[info] LongTokenBucketing
[info] - should respect the required bucket range
[info] - should be weakly monotonic
[info] BigIntTokenBucketing
[info] - should respect the required bucket range
[info] - should be weakly monotonic
[info] Murmur3Bucketing
[info] - should map all tokens to a single wrapping range
[info] RandomBucketing
[info] - should map all tokens to a single wrapping range
[info] TokenRangeSpec:
[info] LongRanges
[info] - should contain tokens with easy no wrapping bounds
[info] - should contain tokens with wrapping bounds in
[info] BigRanges
[info] - should contain tokens with easy no wrapping bounds
[info] - should contain tokens with wrapping bounds in
[info] InClausePredicateRulesSpec:
[info] InClausePredicateRules
[info] - should leave partition and clustering filters if 'IN' filters are absent
[info] - should remove clustering filters if cartesian product of number of values is above threshold but partition values cartesian number is below the threshold
[info] - should remove partition and clustering filters if cartesian product of number of values is above threshold
[info] PredicatePushDownSpec:
[info] BasicCassandraPredicatePushDown
[info] - should push down all equality predicates restricting partition key columns
[info] - should work if the user tries to use a TimeUUID on a fully handled predicate
[info] - should work if the user tries to use a TimeUUID column in a eq predicate
[info] - should not push down a partition key predicate for a part of the partition key
[info] - should not push down a range partition key predicate
[info] - should push down an IN partition key predicate on the last partition key column
[info] - should push down an IN partition key predicate on the non-last partition key column
[info] - should push down an IN partition key predicate on all partition key columns
[info] - should not push down an IN partition key predicate on the non-last partition key column for V3 and older
[info] - should push down the first clustering column predicate
[info] - should push down the first and the second clustering column predicate
[info] - should push down restrictions on only the initial clustering columns
[info] - should push down only one range predicate restricting the first clustering column, if there are more range predicates on different clustering columns
[info] - should push down multiple range predicates for the same clustering column
[info] - should push down clustering column predicates when the last clustering column is restricted by IN
[info] - should stop pushing down clustering column predicates on the first range predicate
[info] - should not push down IN restriction on non-last column for V3 and older
[info] - should push down IN restriction on non-last clustering column
[info] - should push down IN restriction on all clustering columns
[info] - should not push down any clustering column predicates, if the first clustering column is missing
[info] - should not push down partition key index equality predicates in P3
[info] - should push down partition key index equality predicates
[info] - should push down equality predicates on regular indexed columns
[info] - should not push down range predicates on regular indexed columns
[info] - should not push down IN predicates on regular indexed columns
[info] - should push down predicates on regular non-indexed and indexed columns
[info] - should not push down predicates on regular non-indexed columns if indexed ones are not included
[info] - should prefer to push down equality predicates over range predicates
[info] - should not push down unsupported predicates
[info] DsePredicateRulesSpec:
[info] DSE Predicate Rules
[info] - should un-push all other predicates if solr_query exists
[info] it
[info] - should do nothing if solr_query is not present in a query
[info] CassandraConnectorConfSpec:
[info] - should be serializable
[info] - should match a conf with the same settings
[info] - should resolve default SSL settings correctly
[info] - should resolve provided SSL settings correctly
[info] - should produce serializedConfString that disregards names in hosts
[info] - should be equal to a conf with the same settings and hosts
[info] - should be not equal to a conf with the same settings and different hosts
[info] - should be equal to a conf with the same hosts in different order
[info] - should be not equal to a conf with the same hosts but different settings
[info] - should not be equal to a conf with the same settings and different hosts if no host is common
[info] CqlWhereParserTest:
[info] CqlWhereParser
[info] - should parse 'and' operations
[info] - should parse equality predicates
[info] - should parse range predicates
[info] - should parse IN predicates
[info] - should parse quoted names
[info] - should return lowercase names
[info] - should parse strings
[info] - should distinguish '?' from ?
[info] - should accept >=
[info] - should accept ?
[info] - should accept name with quotes and other special symbols
[info] - should accept param with quotes and other special symbols
[info] - should accept uuid param
[info] - should accept float param
[info] - should parse case insensitive 'aNd' operations
[info] - should parse case insensitive 'iN' operations
[info] - should parse case insensitive 'IN' operations ?
[info] - should handle long string requests
[info] MergeJoinIteratorSpec:
[info] MergeJoinIterator
[info] - should group an empty collection
[info] - should group two sequences with the same key into a single item and preserve order
[info] - should group a sequence of elements with distinct keys the same number of groups
[info] - should group a sequence of elements with two keys into two groups
[info] - should be lazy and work with infinite streams
[info] - should take from two unabalanced but ordered streams
[info] - should work with more complicated keys
[info] DataFrameColumnMapperSpec:
[info] DataFrameColumnMapper
[info]   should allow to obtain a proper ColumnType from Spark SQL type
[info]   - when given a ByteType should return TinyIntType
[info]   - when given a ShortType should return SmallIntType
[info]   - when given a ByteType and PV3 should return IntType
[info]   - when given a ShortType and PV3 should return IntType
[info]   - when given a BooleanType should return BooleanType
[info]   - when given an IntegerType should return IntType
[info]   - when given a LongType should return BigIntType
[info]   - when given a FloatType should return FloatType
[info]   - when given a DoubleType should return DoubleType
[info]   - when given a DecimalType should return DecimalType
[info]   - when given a StringType should return VarcharType
[info]   - when given a TimestampType should return TimestampType
[info]   - when given a SparkSqlDateType should return DateType
[info]   - when given a SparkSqlDateType and PV3 should return TimestampType
[info]   - when given a BinaryType should return BlobType
[info]   - when given a ArrayType(String) should return ListType(VarcharType)
[info]   - when given a MapType(IntegerType, SparkSqlDateType) should return MapType(IntType, DateTypeType)
[info]   - when create new table
[info] SolrPredicateRulesSpec:
[info] Solr Predicate Rules
[info] - should convert easy predicates to a solr query
[info] - should convert an OR filter
[info] - should convert a large conjugated tree
[info] - should not convert conjunctions with non solr indexed attributes
[info] - should be able to convert only some filters if some are non indexed
[info] - should be able to convert string like filters
[info] - should be able to convert string contains filters
[info] - should be able to convert compound NOT IN clauses
[info] - should be able to convert Null predicates
[info] - should be able to convert GreaterThanEquals and LessThanEquals
[info] Murmur3PartitionerTokenRangeSplitterSpec:
[info] Murmur3PartitionerSplitter
[info] - should split tokens
[info] - should split token sequences
[info] BufferedIterator2Spec:
[info] BufferedIterator
[info] - should return the same items as the standard Iterator
[info] - should be convertible to a Seq
[info] - should wrap an empty iterator
[info] - should offer the head element without consuming the underlying iterator
[info] - should offer takeWhile that consumes only the elements matching the predicate
[info] - should offer appendWhile that copies elements to ArrayBuffer and consumes only the elements matching the predicate
[info] - should throw NoSuchElementException if trying to get next() element that doesn't exist
[info] ConfigCheckSpec:
[info] ConfigCheck
[info] - should throw an exception when the configuration contains a invalid spark.cassandra prop
[info] - should suggest alternatives if you have a slight misspelling
[info] - should suggest alternatives if you miss a word
[info] - should not throw an exception if you have a random variable not in the spark.cassandra space
[info] - should not list all options as suggestions
[info] - should not give suggestions when the variable is very strange
[info] - should accept custom ConnectionFactory properties
[info] - should accept custom AuthConfFactory properties
[info] DefaultConnectionFactoryTest:
[info] - should complain when a malformed URL is provided
[info] - should complain when an URL with unrecognized scheme is provided
[info] SpanningIteratorSpec:
[info] SpanningIterator
[info] - should group an empty collection
[info] - should group a sequence of elements with the same key into a single item and should preserve order
[info] - should group a sequence of elements with distinct keys the same number of groups
[info] - should group a sequence of elements with two keys into two groups
[info] - should be lazy and work with infinite streams
[info] PriorityHashMapSpec:
[info] A PriorityHashMap
[info] - should support adding elements (simple)
[info] - should support adding elements ascending by value
[info] - should support adding elements descending by value
[info] - should support adding elements in random order of values
[info] - should support adding elements in random order of values and keys
[info] - should support removing elements in ascending order
[info] - should support removing elements in descending order
[info] - should support removing elements in random order from a sorted map
[info] - should support removing elements from a randomly created map in random order
[info] - should allow to heapsort an array of integers
[info] - should allow to update item priority
[info] - should be able to store multiple items with the same priority
[info] - should return false when removing a non-existing key
[info] - should have capacity rounded up to the nearest power of two
[info] - should throw NoSuchElement exception if requested a head of empty map
[info] - should throw NoSuchElement exception if requested a non-existing key
[info] - should throw IllegalStateException exception if trying to exceed allowed capacity
[info] RandomPartitionerTokenRangeSplitterSpec:
[info] RandomPartitionerSplitter
[info] - should split tokens
[info] - should split token sequences
[info] Test run started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaPairRDDTest.testWithConnector started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaPairRDDTest.testWithReadConf started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaPairRDDTest.testWithAscOrder started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaPairRDDTest.testSelectColumnNames started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaPairRDDTest.testLimit started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaPairRDDTest.testWhere started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaPairRDDTest.testSelectColumns started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaPairRDDTest.testSelectedColumnRefs started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaPairRDDTest.testSelectedColumnNames started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaPairRDDTest.testWithDescOrder started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaPairRDDTest.testPerPartitionLimit started
[info] Test run finished: 0 failed, 0 ignored, 11 total, 0.091s
[info] Test run started
[info] Test com.datastax.spark.connector.writer.DefaultRowWriterTest.testTypeConversionsInUDTValuesAreApplied started
[info] Test com.datastax.spark.connector.writer.DefaultRowWriterTest.testTypeConversionsAreApplied started
[info] Test com.datastax.spark.connector.writer.DefaultRowWriterTest.testSerializability started
[info] Test com.datastax.spark.connector.writer.DefaultRowWriterTest.testCustomTypeConvertersAreUsed started
[info] Test run finished: 0 failed, 0 ignored, 4 total, 0.202s
[info] Test run started
[info] Test com.datastax.spark.connector.japi.SparkContextJavaFunctionsTest.testReadConfPopulating started
[info] Test run finished: 0 failed, 0 ignored, 1 total, 0.068s
[info] Test run started
[info] Test com.datastax.spark.connector.rdd.reader.ClassBasedRowReaderTest.testSerialize started
[info] Test run finished: 0 failed, 0 ignored, 1 total, 0.168s
[info] Test run started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testMapColumnToListOf started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testJavaFunctions started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testMapColumnToMapOf started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testMapColumnToSetOf started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testMapColumnTo1 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testMapColumnTo2 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testMapColumnTo3 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testTypeConverter1 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testTypeConverter2 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testTypeConverter3 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testTypeConverter4 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testTypeTag1 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testTypeTag2 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testTypeTag3 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testJavaFunctions1 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testJavaFunctions4 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testJavaFunctions5 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testMapRowTo1 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testMapRowTo2 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testMapRowTo3 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testMapRowTo4 started
[info] Test com.datastax.spark.connector.CassandraJavaUtilTest.testConvertToMap started
[info] Test run finished: 0 failed, 0 ignored, 22 total, 0.091s
[info] Test run started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetBytes started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetFloat started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetShort started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGet started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testToMap started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetByte started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetDate started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetInet started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetList started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetLong started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetUUID started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetObjectAndApply started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetBoolean started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetDouble started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetInt started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetMap started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetSet started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetString started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetVarInt started
[info] Test com.datastax.spark.connector.japi.CassandraRowTest.testGetDecimal started
[info] Test run finished: 0 failed, 0 ignored, 20 total, 0.033s
[info] Test run started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJoinJavaRDDTest.testOn started
[info] Test run finished: 0 failed, 0 ignored, 1 total, 0.035s
[info] Test run started
[info] Test com.datastax.spark.connector.writer.AsyncExecutorTest.test started
[info] Test run finished: 0 failed, 0 ignored, 1 total, 0.427s
[info] Test run started
[info] Test com.datastax.spark.connector.rdd.partitioner.TokenRangeClustererTest.testTrivialClustering started
[info] Test com.datastax.spark.connector.rdd.partitioner.TokenRangeClustererTest.testMaxGroupSize started
[info] Test com.datastax.spark.connector.rdd.partitioner.TokenRangeClustererTest.testMultipleEndpoints started
[info] Test com.datastax.spark.connector.rdd.partitioner.TokenRangeClustererTest.testEmpty started
[info] Test com.datastax.spark.connector.rdd.partitioner.TokenRangeClustererTest.testSplitByHost started
[info] Test com.datastax.spark.connector.rdd.partitioner.TokenRangeClustererTest.testSplitByCount started
[info] Test run finished: 0 failed, 0 ignored, 6 total, 0.01s
[info] Test run started
[info] Test com.datastax.spark.connector.CassandraStreamingJavaUtilTest.testJavaFunctions2 started
[info] Test com.datastax.spark.connector.CassandraStreamingJavaUtilTest.testJavaFunctions3 started
[info] Test com.datastax.spark.connector.CassandraStreamingJavaUtilTest.testJavaFunctions6 started
[info] Test com.datastax.spark.connector.CassandraStreamingJavaUtilTest.testJavaFunctions7 started
[info] Test run finished: 0 failed, 0 ignored, 4 total, 0.074s
[info] Test run started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaRDDTest.testWithConnector started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaRDDTest.testWithReadConf started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaRDDTest.testWithAscOrder started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaRDDTest.testSelectColumnNames started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaRDDTest.testLimit started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaRDDTest.testWhere started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaRDDTest.testSelectColumns started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaRDDTest.testSelectedColumnRefs started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaRDDTest.testSelectedColumnNames started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaRDDTest.testWithDescOrder started
[info] Test com.datastax.spark.connector.japi.rdd.CassandraJavaRDDTest.testPerPartitionLimit started
[info] Test run finished: 0 failed, 0 ignored, 11 total, 0.003s
[info] ScalaTest
[info] Run completed in 7 seconds, 118 milliseconds.
[info] Total number of tests run: 247
[info] Suites: completed 28, aborted 0
[info] Tests: succeeded 247, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.
[info] Passed: Total 329, Failed 0, Errors 0, Passed 329
[success] Total time: 16 s, completed Jul 1, 2021 10:18:01 AM

Checklist:

[ x] I have a ticket in the OSS JIRA
[ x] I have performed a self-review of my own code
[ x] Locally all tests pass (make sure tests fail without your patch)

I had also run the sbt/sbt it:test and even forced the DSE 5.1.24, but for some reason CCM is failing to pull that version which I don't have an idea on how to fix it. Please see the file attached for the console log from those three runs (sbt/sbt test, sbt/sbt it:test and repeat that with export CCM_CASSANDRA_VERSION=5.1.24 set)
SPARKC-657-b25-it-test.txt

Another observation is that 4.0-RC1 on the build.yaml is getting converted to 4.0.0-RC1 🤷🏼♂
[info] SearchAnalyticsIntegrationSpec:
[info] com.datastax.bdp.spark.search.SearchAnalyticsIntegrationSpec *** ABORTED ***
[info]   java.lang.RuntimeException: The command [ccm, create, ccm_1, -i, 127.13.0., -v, 4.0.0-RC1, --config-dir=/tmp/ccm7529467098575887258] failed to execute

please refer to the check that failed above.

All checks are now passing 👍🏼

b3.0 PR is https://github.com/datastax/spark-cassandra-connector/pull/1322
master PR is https://github.com/datastax/spark-cassandra-connector/pull/1323


String based syntax for health checks in the configuration file

The way that health checks are set up in the config breaks the functionality of php artisan config:cache
The issue is how the following gets cached onto bootstrap/cache/config.php
            'checks' => [
                new DatabaseOnline(),
                new DatabaseUpToDate(),
                new DebugModeOff(),
                new LogLevel('error'),
            ]

The generated cache breaks the site during bootstrap since it requires more dependencies to be present. My work around was to modify the constructor of the CheckList.php to instantiate the classes based on the type.
<?php

namespace PhpSafari\Utils;

use PhpSafari\Checks\HealthCheck;
use Vistik\Collections\TypedCollection;

class CheckList extends TypedCollection
{
  public function __construct($checks)
  {
    $cast = function ($check) {
      if ($check instanceof HealthCheck) return $check;
      if (is_string($check)) return new $check;
      if (is_array($check)) return new $check[0](...array_slice($check, 1));
    };

    parent::__construct(array_map($cast, $checks));
  }

  protected $type = HealthCheck::class;
}

So now in my health.php I can do
'checks' => [
        DatabaseOnline::class,
        [PathIsWritable::class, storage_path()],
        [PathIsWritable::class, storage_path('logs')],
        [PathIsWritable::class, storage_path('framework/sessions')],
        [PathIsWritable::class, storage_path('framework/cache')],
      ],

@vistik Let me know what you think, I saw there was a unit test that did not pass, I created another PR for that specifically if that's something you also want to include.

kinda sad this project went stale, I removed the dependency a few months ago in favor of custom checks


config: Minor: test +HHMM in  ReadableSchedule

config: test both formats +HHMM offsets and as well as +HH:MM for ReadableSchedule
Our documents refer to +HHMM format but out tests only test +HH:MM format for offsets

/assign @afeinberg

/cc @SpadeA-Tang


Can flutter SDK use the stock dart instead of the builtin one

Dear experts,
On system with Dart SDK installed (e.g. /usr/bin/dart via the .deb package), can the flutter SDK use that system dart instead of downloading another copy of Dart SDK?
Regards,
yf13

No


[ABW-3601] Privacy protection overlay

Jira ticket: ABW-3601
Description
Adds a security overlay that hides the content of the app when it is moved to background / App Switcher.
Video
https://github.com/user-attachments/assets/3a04f7fb-4ccc-4b1b-8bcc-68377678b7d1

@CyonAlexRDX I've tested all the scenarios you mentioned, except for phone calls, and it works as expected. sceneWillResignActive and sceneDidBecomeActive seem to do their job.


configurable MQTT keepalive/ping interval for cloud connections

Is your feature improvement request related to a problem? Please describe.

Allow control over the ping interval so that it is aligned with the different cloud requirements and it could be used to reduce some of the traffic for idle connections for those users who want to reduce the bandwidth by reducing the number of pings sent on idle connections.
It must also be noted that increasing the MQTT PING interval also affects how quickly the MQTT client detects whether the MQTT connection has been lost. Users should adjust the value with care, and they should verify that the interval is compatible with the cloud's requirements, as generally each cloud could also have additional settings on the load balancer to also disconnect idle connections after a period of time, and if the PING interval is above the idle connection setting, then it will also lead to the connection being closed by the server resulting in more traffic due to the reestablishment of the connection and the associated TLS handshake.
Describe the solution you'd like

A new tedge configuration value which is used by the bridge functionality (either mosquitto or the built-in bridge) to set MQTT PING keep-alive/ping interval:

On mosquitto: set the keepalive_interval seconds value in the <mapper>-bridge.conf file. See mosquitto docs
On built-in: use the value in the MQTT client which is connected to the cloud to control how often a MQTT PING_REQ is sent on idle connections

Describe alternatives you've considered

Additional context

Duplicate of https://github.com/thin-edge/thin-edge.io/issues/3153


docs: top-menu draft

This is a draft of the higher-level documentation menu.
It is based on the previous discussion about the reading roles.
Top-menu:
Get started  / Learn  / Develop / Integrate  /  API  /  More
Menu based on the 3 major reading roles:

"1st-timer": 1st time reader. It is a reader who wants the bare minimum information to start and try the LC (for different reasons).
"Starter": A developer that want to start to develop with LC.
"DevUser": A developer that works with LC regularly.

1st-timer:

starts with "Get started"
wants everything to start immediately, as fast as it can. No details needed.

Starter:

start with "Learn"
Starter has also finished "Get started" section
follow the sequential learning path. Some parts could be skipped if they are known.

DevUser:

uses "Develop", "Integrations", and "API"
DevUser also finished with "Learn" section.
reads only necessary documents
frequently uses "Search"

NOTE: only top-menu and navbar are drafted. Links to the individual documents are placeholders.
CC @baskaryan @efriis @eyurtsev

there's a big docs refactor already being worked on here https://github.com/langchain-ai/langchain/pull/20363

@leo-gan imo, It may be better to think of two roles - 'starter' and 'dev_user'. the 'learner' moves to the 'starter' role after doing the installation and the initial quick start section.
Additionally the 'tutorials' could map to what the 'starter' needs and the 'how-to guides' to what the 'dev_user' is looking for. so it's clear to someone looking through the documentation where they need to go for a specific topic.


ARTEMIS-1096 Changing Global Max Size's default

It might be good to explicitly log what is being used for the global-max-size (e.g. an INFO level) when using the default so users understand it's using Xmx/2.

that will flood the testsuite though :)

I see your point, but we're already flooding it with silly (IMO) warns about not having dead-letter and expiry queues.

I need a mental break with a light task.. I will deal with the DLQ message as well.
perhaps we could have a static testMode propery somewhere that we disable only through the Run command?

or the opposite.. set it on our testsuite.


Add Include item to Inflater

do

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 18 Sep 2014 at 3:25

Include STOB resource

Still under consideration if this feature is needed.

Does not seem to be needed, dropping for now


Small question about heatmap

Hello,
When gsea.call produce figures one of them is heatmap of gene set expression and in any cases (negatively or positively correlated, NES>0 or NES<0) it shows top ranked genes. I have seen in papers that heapmap presents top within core enrichment and actually it is left or right edge of ranked genes from set based on NES. How I can control heatmap output in GSEApy?
Thank you

I guess you mean the leading edge analysis. For now, GSEApy did not implement this kind of heatmap. However, You could easily plot a new heatmap using seaborn or other packages .  I could add this new feature when I have more time.

Thank you. This is what I meant indeed. I found way how to plot heatmap of leading edges.

Hello, I would like to continue this discussion with one more question.
I did GSEApy for Reactome_2016 and got result where lots of gene sets have pval and fdr equal to 0. Top 50 of them were finished with pictures of enrichment graphs (by setting graph_num = 50). It is fine. But question is how top50 were selected? From result table (see attached) I can conclude that some gene sets with pval,fdr=0 and position below 50 have bigger ES and NES then those from top of the list.
Thank you for help

@Benja1972 , top graph_num were ranked by FDR values.

Thank you, I got it now. Sorry my fault

leading edge genes are added to the output now #56


focusing a task terminal tab removes its status

run a task, like VS Code - Build
click on the terminal tab for one of the task terminals
🐛 the status is gone

🤔 maybe thats my issue?


Support for ESP8266 boards with WiFi

Provide support for the ESP8266 board along with its wifi capabilities.

Basic wifi support for ESP8266 is now working. No signal strength, no connectivity status for now. These will be addressed over the next few releases.


API in Integrator's Guide outdated

https://github.com/knative/func/blob/main/docs/integrators_guide.md
For example, client.Create func has been removed, which method should I use instead.
if err := client.Create(funcTest); err != nil {
		log.Fatal(err)
	}

pusher, err := docker.NewPusher()
	if err != nil {
		log.Fatal(err)
	}
	deployer, err := knative.NewDeployer("")
	if err != nil {
		log.Fatal(err)
	}

I think it's client.New(funcTest), right?

Yes this issue is correct, this document will be updated soon, as we are beginning a larger documentation-update push for the next version.  Thank you for pointing out that this document needs to be updated as well.
For an always-correct document which showcases how to use the client library, take a look at the test suite in client_test.go, which works from simple to advanced from top to bottom.
In this case yes, the correct way to instantiate a client is with a simple New().  This will result in a new client with most of its implementations mocked.   You can pass it a builder, pusher, and deployer as needed.  The cli package has an example of using all permutations.

/kind documentation


Hot loader v0.1.5 broken with pods and ember-cli v2.11

After v0.1.5 was released I found pods doesn't reload when using ember-cli v2.11.1 (no bower ember source code)
https://github.com/toranb/misc-reload-example/tree/branches/pods
When I don't use pods (classic layout) it seems to hot reload just find using ember-cli v2.11.1
https://github.com/toranb/misc-reload-example/tree/branches/classic
@oligriffiths this similar to what you've found recently ?

If there's a podModulePrefix it should work just fine (does for me) the issue is when that's not defined and the requirejs path is incorrect.

@oligriffiths what file in that project above ^^ will solve that here? I did think to myself it was related to the stuff you mentioned (that bug I think it was) ?

In ember-cli-build.js defining a podModulePrefix path, even if it's the same as the modulePrefix path and it should work just fine

@oligriffiths yup - that fixed it :)
https://github.com/toranb/misc-reload-example/commit/99280f6370c360f587b3032d12e21948bf3d3729

@toranb https://github.com/toranb/ember-cli-hot-loader/pull/41 fixes this


[BEAM-7393] Misc. improvements to Go error formatting.

This is just three small changes:

Remove default top-level error messages. If a top-level msg wasn't set then just don't display any. Originally top-level messages were always displayed because it was assumed the error would be confusing if it started with context instead of an error message. But in practice that's actually less confusing.

Old behavior:
error message
Full Error:
    context:
    more context:
error message

New behavior:
    context:
    more context:
error message

Align the "Caused by:" msg on wrapped errors with the context
messages, to improve readability.

Old behavior:
error number 4
Caused by:
    some context:
error number 3
Caused by:
error number 2
Caused by:
error number 1

New behavior:
error number 4
    caused by:
    some context:
error number 3
    caused by:
error number 2
    caused by:
error number 1

Improvement to an error message that I missed.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @lostluck @aaltay
This is a small change, so it can be reviewed by whoever gets to it first.

LGTM Thanks for all this work. It will pay dividends.


[SUBMARINE-177] Replace mysql-driver in the submarine-service with derby-driver

What is this PR for?
Set the scope of the mysql dependent package to provided. Add Derby's driver as an alternative.
What type of PR is it?
[Bug Fix ]
Todos

[ ] - Task

What is the Jira issue?

SUBMARINE-177

How should this be tested?

CI Pass

Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

Commit the wrong branch


Fixes #100 Pass in user defined options to CM constructor in componentDidMount

Added second argument to CodeMirror constructor in componentDidMount with the options prop.

This is the perfect solution but incomplete OR :(

@scniro I'm willing to help this PR and help collaborate on this project if you're up for having another maintainer.

@Nishchit14 is this incomplete just for missing a test?

@twheys - any interest in getting this landed?
I think adding a test and ensuring that the code doesn't re-apply options after setting them in the constructor seems good too?
If you're busy I can take this one over.

closing in favor of https://github.com/scniro/react-codemirror2/pull/188


<EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>

Describe the bug
<EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>To Reproduce
Check package.json here. It should probably allow a wider range of the graphql package?
"peerDependencies": {
    "graphql": "14.2.1"
  },

I think it should be something like this:
"peerDependencies": {
  "graphql": "^0.12.0 || ^0.13.0 || ^14.0.0"
}

Or at least it should allow ^14.2.1.
See this article for more guidance on this.

Hi @jonaskello ! Thank you for reporting it, I'll fix it in the next release.

Fixed in: https://github.com/dotansimha/graphql-code-generator/pull/1663

Fixed in 1.0.7 :)


Transform path in GdipSetClipPath by clip_matrix if necessary.

Possible fix for https://github.com/dotnet/corefx/issues/27320.
Needs unit tests.
The metafile code doesn't make sense, I am aware of that. It is copied from GdipSetClipRegion and the metafile_SetClip* functions are not implemented anyway.

In the process of adding the unit test I discovered a bug in gdip_region_bitmap_get_smallest_rect. I didn't solve it in the most efficient way, but at least it makes the code behave correctly.


load_model only works in the public schema

it is corrected in v0.7.0 and a more robust unit test was created.


Work towards automated cleaning of JcrJobRepository

@jazeren1 @jbornemann @jdigger just WIP. Need to still properly test this and implement unit tests

Opening this up for some initial "approach" review.
Currently I have a servlet that's triggering the cleaning. I'll be updating this to have a Cron like we discussed. Wanted to get some feedback on the approach I have taken.
After I almost finished the job repp cleanup functionality .. But then I realized that there are way too many private methods in the service I have for cleanup. (this commit : https://github.com/TWCable/grabbit/pull/107/commits/1e51ff85fba30fe4ded43cf41b3804e93baa7cbe)
Because of that, I thought it'd be better "host" the functionality on the DAO objects themselves.. Felt like that looked and organized better. ( this commit: https://github.com/TWCable/grabbit/pull/107/commits/7d855e2071b3413cacac3dae754a33501d10eb70)
Does the latter approach look better? In order to make that happen, I had to extend Spring Batch's DAO interfaces to add the additional APIs we need for clean-up.
@jdigger @jazeren1 @jbornemann @masroormohammed can you please take a look?

Ugh hold on. Tests are failing. Taking a look.

I'll change the logging to debug, etc. when this is good to go. I figured the logging will help right now during testing.
Also made the change in grabbit version right now for easier installation for testing.
To test,
gw clean build install -x uninstallBundles -x uninstall -x remove
I've had to ignore uninstall. Seems to be having issues with other bundles in AEM :(
Run some content syncs for any number of paths .. or if you already have some data under
/var/grabbit/job/repository/jobExecutions then you probably have some data you can use to test the clean up.
Current testing is to go to http://localhost:4502/bin/cleanRepository?hours=<whatever>
This number can be any "integer" .. I have tested that it works fine for > 24 hours as well. More-over, I am also logging everything that's going on .. along with the Date its using to compare and everything.  OlderThanHours Time: Wed Apr 06 16:20:01 UTC 2016
07.04.2016 16:20:01.271 *INFO* [<IP_ADDRESS> [1460046001202] GET /bin/cleanRepository HTTP/1.1] com.twcable.grabbit.spring.batch.repository.JcrJobExecutionDao JobExecutionsOlder than 24 hours: [] , length: 0
07.04.2016 16:20:01.277 *INFO* [<IP_ADDRESS> [1460046001202] GET /bin/cleanRepository HTTP/1.1] com.twcable.grabbit.spring.batch.repository.services.impl.DefaultCleanJobRepository jobInstancesToRemove: [], size: 0
07.04.2016 16:20:01.278 *INFO* [<IP_ADDRESS> [1460046001202] GET /bin/cleanRepository HTTP/1.1] com.twcable.grabbit.spring.batch.repository.services.impl.DefaultCleanJobRepository stepExecutionsToRemove: [], size: 0
07.04.2016 16:20:01.278 *INFO* [<IP_ADDRESS> [1460046001202] GET /bin/cleanRepository HTTP/1.1] com.twcable.grabbit.spring.batch.repository.services.impl.DefaultCleanJobRepository jobExecutionContextsToRemove: [], size: 0
07.04.2016 16:20:01.278 *INFO* [<IP_ADDRESS> [1460046001202] GET /bin/cleanRepository HTTP/1.1] com.twcable.grabbit.spring.batch.repository.services.impl.DefaultCleanJobRepository stepExecutionContextsToResource: [], size: 0
07.04.2016 16:20:01.278 *INFO* [<IP_ADDRESS> [1460046001202] GET /bin/cleanRepository HTTP/1.1] com.twcable.grabbit.spring.batch.repository.services.impl.DefaultCleanJobRepository Removing 0 JobInstances
07.04.2016 16:20:01.278 *INFO* [<IP_ADDRESS> [1460046001202] GET /bin/cleanRepository HTTP/1.1] com.twcable.grabbit.spring.batch.repository.services.impl.DefaultCleanJobRepository Removing 0 JobExecutions
07.04.2016 16:20:01.278 *INFO* [<IP_ADDRESS> [1460046001202] GET /bin/cleanRepository HTTP/1.1] com.twcable.grabbit.spring.batch.repository.services.impl.DefaultCleanJobRepository Removing 0 StepExecutions
07.04.2016 16:20:01.278 *INFO* [<IP_ADDRESS> [1460046001202] GET /bin/cleanRepository HTTP/1.1] com.twcable.grabbit.spring.batch.repository.services.impl.DefaultCleanJobRepository Removing 0 JobExecutionContexts
07.04.2016 16:20:01.278 *INFO* [<IP_ADDRESS> [1460046001202] GET /bin/cleanRepository HTTP/1.1] com.twcable.grabbit.spring.batch.repository.services.impl.DefaultCleanJobRepository Removing 0 StepExecutionContexts

You can play around with the "hours" param for the servlet and see how it performs .. deletions will be made based on Comparison between "Date.now() - hours" and "All COMPLETED and FAILED JobExecutions" ... it will also delete all the corresponding "StepExecutions", "JobInstances" and "ExecutionContexts" ...

Done with some main CR comments. Still not done anything to suggestions like https://github.com/TWCable/grabbit/pull/107#discussion_r59040089 .. I like that idea but wanted to discuss that first.
@jazeren1 @jbornemann @jdigger @masroormohammed  please take a look .

👍  Testing

Updated testing instructions to have the new API to clean the jobrepository

+1 Testing

CR changes have been made @jdigger @jbornemann

+1 Testing


#4001 add docs on using an external mount for a custom connector

Signed-off-by: Nigel Jones<EMAIL_ADDRESS>Fixes #4001
Adds documentation on how to add a custom jar (ie a connector) into the classpath so that it can be dynamically loaded
using docker. A specific example is provided.
Note there are various ways of doing this -- the objective was to ensure at least one way was documented with a suitable example. As new helm charts are added we'll revisit other approaches - which may be different for k8s.

@CDaRip2U Any comments appreciated - or contributions as to how you do it. This is one way that works, but there's a plethora of options ... hopefully these notes give someone an appreciation of what routes they could take

@CDaRip2U Any comments appreciated - or contributions as to how you do it. This is one way that works, but there's a plethora of options ... hopefully these notes give someone an appreciation of what routes they could take

will merge to get initial instructions out, but further comments welcome and can be raised as new issues.

will merge to get initial instructions out, but further comments welcome and can be raised as new issues.


Add note about MyISAM length limitation

Any version of MySQL tables with the MyISAM storage engine will suffer the same 191 character limitation.

Thanks!


containerapp refactor managed env show/list/delete/create/update

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Thank you for your contribution! We will review the pull request and get back to you soon.

Will rerun all tests related with --live

Hi @zhoxing-ms  @wangzelin007
The test failed due to following error, could you help to handle it?
======================================================================
ERROR: test_ref_doc_db-up (main.IndexRefDocs)
Traceback (most recent call last):
File "/mnt/vss/_work/1/s/./scripts/ci/index_ref_doc.py", line 71, in test
raise e
File "/mnt/vss/_work/1/s/./scripts/ci/index_ref_doc.py", line 68, in test
check_call(script_args)
File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/subprocess.py", line 369, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/opt/hostedtoolcache/Python/3.10.12/x64/bin/python', '/mnt/vss/_work/1/s/scripts/refdoc/generate.py', '--extension-file', '/tmp/tmpxsznkbhq/db_up-0.2.7-py2.py3-none-any.whl', '--output-dir', '/tmp/tmp0179mina/db-up']' returned non-zero exit status 1.

Hi @zhoxing-ms @wangzelin007 The test failed due to following error, could you help to handle it?
======================================================================
ERROR: test_ref_doc_db-up (main.IndexRefDocs)
Traceback (most recent call last): File "/mnt/vss/_work/1/s/./scripts/ci/index_ref_doc.py", line 71, in test raise e File "/mnt/vss/_work/1/s/./scripts/ci/index_ref_doc.py", line 68, in test check_call(script_args) File "/opt/hostedtoolcache/Python/3.10.12/x64/lib/python3.10/subprocess.py", line 369, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/opt/hostedtoolcache/Python/3.10.12/x64/bin/python', '/mnt/vss/_work/1/s/scripts/refdoc/generate.py', '--extension-file', '/tmp/tmpxsznkbhq/db_up-0.2.7-py2.py3-none-any.whl', '--output-dir', '/tmp/tmp0179mina/db-up']' returned non-zero exit status 1.

This issue is casued by pymssql library used by the db-up extension, and I created an issue here to track it.

Hi @zhoxing-ms
Could you please help to review and merge this PR, thanks a lot!

Hi @Greedygre, Please write the description of changes which can be perceived by customers into HISTORY.rst. If you want to release a new extension version, please update the version in setup.py as well.

This pr's changes cannot be perceived by customers. So should not update the history.rst.


audio: handle marker bit in stream.c

when audio stream is receiving RTP with marker bit set, the following
should happen:

flush jitter buffer (re-ordering buffer)
flush aubuf for playback.

@cspiel1 could you please test this patch ?

@weili-jiang FYI.

Looks good.
The marker bit may be lost, however, on lossy wireless IP networks. A more complete solution would also look at computed time delta and/or sequence numbers, as implied by the following: https://www.cs.columbia.edu/~hgs/rtp/faq.html#marker

The marker bit is a hint; the beginning of a talkspurt can also be computed by comparing the difference in timestamps and sequence numbers between two packets, assuming the timestamp clock rate is known.

I think that if an incoming RTP packet has a timestamp or sequence number that puts it beyond the the acceptable reordering duration, it should also be treated as the beginning of a new talk burst and flush.

@weili-jiang you are right, we should also detect large jumps in sequence number
and flush in this case.
perhaps also the aubuf should be flushed in audio.c ?
if (hdr->m) {
	aubuf_flush(rx->aubuf);
}

this buffer will contain decoded audio samples from the "previous" talkspurt.

perhaps also the aubuf should be flushed in audio.c ?

@alfredh I do not think that flush is necessary - the remaining samples in the audio buffer are all valid, and should be drained out by the audio driver naturally as part of the end of the talk spurt anyway. When new RTP packets arrive as part of the new talk spurt, they can be decoded and put at the end of the audio buffer - they will  be played out naturally after the existing audio is drained.
Actually, the last of the RTP packets in the jitter buffer would also be valid, if they had been decoded into the audio buffer at the end of the talk spurt rather than being left in the jitter buffer, but that is a separate matter...

thanks @weili-jiang
I will address the sequence number jump in a separate patch soon ..

thanks @weili-jiang
I will address the sequence number jump in a separate patch soon ..

Great @alfredh. Don't forget about the Timestamp field also.


feat(threads, runqueue): derive defmt::Format for some types

Description
Derive defmt::Format for ThreadId, RunqueueId and ThreadState if the defmt feature is enabled.
Useful for debugging.
Open Questions
@kaspar030 why are we not using defmt::println when defmt is enabled?
I noticed that it results in some chronologically incorrect logs when println from other backends is combined with defmt. If I remember correctly we had a discussion around this and decided to "all in" for defmt if the feature is enabled. Am I missing something? If not, I would do a follow up PR that switches to defmt::println.

[x] I have followed the Coding Conventions.
[x] I have performed a self-review of my own code.
[x] I have made corresponding changes to the documentation.

@kaspar030 why are we not using defmt::println when defmt is enabled?

We don't do that because the defmt::println doesn't support printing Debug or Display instances, only defmt::Format.
That in turn is not available when writing to any non-defmt output. So users of riot_rs::debug::println!() would be limited to printing types that happen to implement both, or compilation fails ...

I noticed that it results in some chronologically incorrect logs when println from other backends is combined with defmt.

Yep, that happens, on Cortex-M we're using rtt_target's println on one rtt channel and defmt on another, and they get polled by probe-rs in arbitrary order (IIUC).

If I remember correctly we had a discussion around this and decided to "all in" for defmt if the feature is enabled.

We decided to use the log macros (info!() et al) for all output and not println!(), by default. There's a similar issue around defmt::Format if we want to also support the regular log crate, though.

LGTM!

We decided to use the log macros (info!() et al) for all output and not println!(), by default.

Right now in riot-rs-embassy we are still using println!. Would you be okay with changing these logs to log::debug!?

CI somehow has an issue with my Cargo.lock, even though I am up-to-date with main and compiled it once before pushing. Any idea what the issue is/ could one of you @kaspar030 @ROMemories check this branch out and see if you Cargo.lock differs after building?

CI somehow has an issue with my Cargo.lock, even though I am up-to-date with main and compiled it once before pushing. Any idea what the issue is/ could one of you @kaspar030 @ROMemories check this branch out and see if you Cargo.lock differs after building?

yes, https://gist.github.com/kaspar030/ad95b38af84f919d7895b6d9ec1bc356.

Right now in riot-rs-embassy we are still using println!. Would you be okay with changing these logs to log::debug!?

feel free! let the bikeshedding begin on what is "info" and "debug" :)


Dynamically added items

Ahoy.
I have dragula setup and it works nicely, thanks for a nice plugin :+1:
However, when I add or remove items dynamically to the list, it breaks. I can see in the console that in the working version there is only one instance of gu-mirror created, but in the broken several. Is there any fix for that?
Thanks!

Sounds like a bug. Could you look into it?

Sorry, couldn't find why it happens. Mind checking it out?

@assimovt can you be more specific or can you post your code snippet of what you are doing which leads you to this bug?

There's nothing inherent in dragula that causes the issues you're seeing, it must be something wrong in your code


Check the minimal version of Numpy and Pandas required by the code

At the moment, the earliest version installed in my systems is specified.
Maybe earlier versions would work as well.

I'll check it out.

Thank you!

Solved by #7