I need to run a scenario multiple times with different data. I have a scenario with more than one example table and each example table has a different tag. Is it possible to run the scenario in parallel for each example table ?
thank you :)
Have a look at the following:
https://www.npmjs.com/package/wdio-cucumber-parallel-execution
Related
If both spark commands do almost the same thing, what should I consider when choosing one or the other?
Basically it is just a matter of the style you'd like to work with. Spark will generate a plan for the actual execution either way
One point for SQL is that it is relatively easier to generate if you need that
I have 2 tables with similiar schema in the same cluster.
I want to compare the data between both the tables and generate a report. Is it possible only within hql?
Do you suggest any better approach?
Thanks.
You could have a look at this Python program that handles such comparisons of Hive tables (comparing all the rows and all the columns), and would show you in a webpage the differences that might appear: https://github.com/bolcom/hive_compared_bq
It doesn't currently give you a "full report" but it will instead just pinpoint some of the differences found (the tool is more intended in a development cycle, to check if code is correct) but I guess you could extend the final part of the program for that.
I'm a newbie to Cassandra and now evaluate it for our needs here - I need to handle a dynamic storage which holds a signal data from many sources. Each source provides, together with it's meta-data values, a continuous stream of signal data (time-value series).
What is the best data-model, even just as a starting-point, to handle this kind of data? Is it possible to insert the data as a vector (and not sample by sample) using CQL? Any link with concrete examples will be highly appreciated!
Thanks
Update:
Thanks a lot for the helpful comments! I looked at several examples and the method is clear. Still I have two issues:
I see on cqlsh the time stamp-value couples on a separate rows and not within a single row (for instance, if I insert 3 pairs of time stamp-values into the same key I expect to get it on query 1 row with 3 time stamp columns
Is it possible to INSERT a vector of values (and not repeated INSERTs)?
thanks
Is it possible to INSERT a vector of values (and not repeated INSERTs)?
I hope you are trying to use Batch execution. This is your good starting point.
http://docs.datastax.com/en/cql/3.1/cql/cql_reference/batch_r.html
Or you might be looking for Collection Type. Please note that they have their own limitations.
https://docs.datastax.com/en/cql/3.0/cql/cql_using/use_collections_c.html
As mentioned in other answers, article by Patrick McFadin should get you started.
Hope it helps!
I have some data query in several ways. Is it enough to use just one NSFetchedResultsController for multiple types of queries, or do I need one per query type?
If you need the data queried in various ways at the same time. I would suggest to use multiple NSFetchedResultsController. So you can react on changes of the data for each query.
I'm trying to set up a Coded UI test and have the desire to pull values from two separate data sources (in this case xml files). I have been doing this with just one data source many times but have a couple questions concerning multiple sources.
Is it possible to have two data sources for the same Coded UI test?
If so, how do you differentiate between them when reading values -
when using just one data source I use the
'this.TestContext.DataRow["blah"].toString();' method.
Thanks in advance for any help
erik
Finally found something (not sure how I missed it the first time) which indicates there can be only one TestMethod attribute per Test method (duh to me). So, I guess my refined question is; is there a way around that limitation? This is a long shot I know but would simplify things. Thanks again.
It is not possible to have more than one Data Source for Single Test, But if your test needs data to be read from two different sources then you can write your custom code to read values from external source in between the test.
i.e. You can have one Data source which controls the iteration of test and other one in your custom code to get value for each iteration of test.
We have tests here which read multiple data sources. You can put the connections to the data sources in a separate class (you can put them in the same function, just call the function once to open them) then reference the data sources from wherever you need them.
As for the [Test Method] issue, the same applies. You can place [Test Method] in the second class before the function with the data sources.