Datasets:

Modalities:
Text
Formats:
parquet
Languages:
English
ArXiv:
License:
Dataset Viewer
Auto-converted to Parquet Duplicate
id
stringlengths
16
145
text
stringlengths
1
179k
title
stringclasses
1 value
snowflake_docs/flatten_2_0.txt
Syntax ¶ FLATTEN( INPUT => <expr> [ , PATH => <constant_expr> ] [ , OUTER => TRUE | FALSE ] [ , RECURSIVE => TRUE | FALSE ] [ , MODE => 'OBJECT' | 'ARRAY' | 'BOTH' ] ) Copy
snowflake_docs/flatten_4_0.txt
Output ¶ The returned rows consist of a fixed set of columns: > > +-----+------+------+-------+-------+------+ > | SEQ | KEY | PATH | INDEX | VALUE | THIS | > |-----+------+------+-------+-------+------| > > > Copy SEQ : A unique sequence number associated with the input record; the sequence is not g...
stackoverflow-0/extraction_0.txt
Categories: Semi-structured and structured data functions (Array/Object) # OBJECT\_CONSTRUCT ¶ Returns an OBJECT constructed from the arguments. See also: OBJECT\_CONSTRUCT\_KEEP\_NULL ## Syntax ¶ ``` OBJECT_CONSTRUCT( [<key>, <value> [, <key>, <value> , ...]] ) OBJECT_CONSTRUCT(*) ``` Copy ## Arguments ¶ `key` The key...
stackoverflow-0/extraction_1.txt
``` Is there a Snowflake command that will transform a table like this: ```hljs sql a,b,c 1,10,0.1 2,11,0.12 3,12,0.13 ``` to a table like this: ```hljs sql key,value a,1 a,2 a,3 b,10 b,11 b,13 c,0.1 c,0.12 c,0.13 ``` ? This operation is often called `melt` in other tabular systems, but the basic idea is to convert the...
stackoverflow-0/extraction_2.txt
# UNPIVOT ¶ Rotates a table by transforming columns into rows. UNPIVOT is a relational operator that accepts two columns (from a table or subquery), along with a list of columns, and generates a row for each column specified in the list. In a query, it is specified in the FROM clause after the table name or subquery. U...
Learn_filter_financial_functions/Learn_filter_0_0.txt
Skip to main content This browser is no longer supported. Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support. [ Download Microsoft Edge ](https://go.microsoft.com/fwlink/p/?LinkID=2092881 ) [ More info about Internet Explorer and Microsoft Edge ](https://learn...
stackoverflow-100/extraction_0.txt
# Function 'LOOKUPVALUE' does not support comparing values of type Text with values of type Integer. JohnF5343 Regular Visitor ## Function 'LOOKUPVALUE' does not support comparing values of type Text with values of type Integer. ‎03-22-202201:43 PM Hi, I'm creating a new column in a table with following DAX. All the co...
stackoverflow-100/extraction_1.txt
## Frequently Asked Questions ### Can you use Power BI LOOKUPVALUE with a filter? No, the LOOKUPVALUE Power BI function ignores the filters applied to the tables. However, you can use the columns calculated using the LOOKUPVALUE function to filter the Power BI report or visualization. Let’s see how to use Power BI LOOK...
stackoverflow-100/extraction_3.txt
``` Print # PATHCONTAINS - 04/25/2024 **Applies to:** Calculated column Calculated table Measure Visual calculation Returns `TRUE` if the specified `item` exists within the specified `path`. Section titled: Syntax ## Syntax Copy ```lang-dax PATHCONTAINS(<path>, <item>) ``` Section titled: Parameters ### Parameters Expa...
stackoverflow-100/extraction_4.txt
Returns TRUE if the specified Item exists within the specified Path. ## Syntax PATHCONTAINS ( <Path>, <Item> ) | Parameter | Attributes | Description | | --- | --- | --- | | Path | | A string which contains a delimited list of IDs. | | Item | | A value to be found in the path. | ## Return values Scalar A single boolean...
stackoverflow-100/extraction_5.txt
My next step is to create a new column and add a so-called PATH function in my salary table. This function allows me to see the whole hierarchy path of each employee. I rename the column to “Hierarchy Path” and add the PATH function as follows: PATH(Salary\[Employee ID\], Salary\[Manager ID\]). As a result I get the wh...
stackoverflow-100/extraction_6.txt
#### Expanding the Hierarchy We need to expand the hierarchy of the organization to be able to search a user through it. We can use **Path()** DAX function for that. Below is a calculated column added to the Organization table; ``` Path = PATH( Organization[ID], Organization[Manager ID] ) ``` Path function accepts two ...
stackoverflow-100/extraction_7.txt
# Manage roles with userprincipalname and lookupvalue Hi everyone, I am struggling to do something which shouldn't be complicated. I am building a sales report and would like the users to be able to access the report filtered according to the "team" they belong to. To do so I have created an excel with the following st...
stackoverflow-100/extraction_8.txt
## Row Level Security in Power BI using Parent/Child Hierarchies Jamey Johnston (@STATCowboy) **Overview** I wrote a blog post on using Parent/Child Hierarchies to enforce Row Level Security (RLS) in SQL Server 2016+. The demo in that article used a parent/child hierarchy for an organization combined with a flattened a...
stackoverflow-101/extraction_0.txt
# `subrange` class (C++ Standard Library) - 02/06/2023 Provides a view of part of the elements of a range as defined by a begin iterator and sentinel. Section titled: Syntax ## Syntax Copy ```lang-cpp template<input_or_output_iterator I, sentinel_for<I> S, subrange_kind K> requires (K == subrange_kind::sized || !sized_...
stackoverflow-101/extraction_1.txt
``` | | | | | --- | --- | --- | | Defined in header `<algorithm>` | | | | Call signature | | | | | (1) | | | template< std::input\_iterator I, std::sentinel\_for <I> S, class T,<br>/\\* indirectly-binary-left-foldable \*/<T, I> F ><br>constexprauto fold\_left( I first, S last, T init, F f ); | | (since C++23)<br>(until...
stackoverflow-101/extraction_2.txt
``` [\[edit\]](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/navbar_content&action=edit) Iterator library | | | | | --- | --- | --- | | Iterator concepts | | | | | --- | | indirectly\_readable<br>(C++20) | | indirectly\_writable<br>(C++20) | | weakly\_incrementable<br>(C++20) | | incrementable<br>(C++2...
stackoverflow-101/extraction_3.txt
## 4.1 The `ranges::infinite_range` concept Whether a range is infinite is a semantic, not a syntactic distinction, which requires manual opt-in or opt-out. There is one exception: if the sentinel type of a range is `unreachable_sentinel_t`, then the range is definitely infinite. For other ranges, we propose an opt-in:...
stackoverflow-101/extraction_4.txt
``` | | | | | --- | --- | --- | | Defined in header `<iterator>` | | | | struct unreachable\_sentinel\_t; | (1) | (since C++20) | | inlineconstexpr unreachable\_sentinel\_t unreachable\_sentinel{}; | (2) | (since C++20) | | | | | 1) `unreachable_sentinel_t` is an empty class type that can be used to denote the “upper b...
stackoverflow-101/extraction_5.txt
``` Cppreference has the following example of the usage of `std::unreachable_sentinel`: ```hljs cpp template<class CharT> constexpr std::size_t strlen(const CharT* s) { return std::ranges::find(s, std::unreachable_sentinel, CharT{}) - s; } ``` However, the standard states in [\[iterator.requirements.general\]](https://...
DynamoDB_Security/DynamoDB_0_0.txt
[ ](/pdfs/amazondynamodb/latest/developerguide/dynamodb- dg.pdf#JavaDocumentAPIBinaryTypeExample "Open PDF") [ AWS ](https://aws.amazon.com) [ Documentation ](/index.html) [ Amazon DynamoDB ](/dynamodb/index.html) [ Developer Guide ](Introduction.html) # Example: Handling binary type attributes using the AWS SDK for...
stackoverflow-102/extraction_0.txt
# AttributeValue PDF Focus mode AttributeValue - Amazon DynamoDB Open PDF Contents See Also Represents the data for an attribute. Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself. For more information, see Data Types in the _Amazon DynamoDB Developer_ _...
stackoverflow-102/extraction_1.txt
java.lang.Object software.amazon.awssdk.core.BytesWrapper software.amazon.awssdk.core.SdkBytes All Implemented Interfaces:`Serializable` * * * public final class SdkBytesextends BytesWrapper implements Serializable An in-memory representation of data being given to a service or being returned by a service. This can be ...
stackoverflow-102/extraction_2.txt
Represents the data for an attribute. Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself. For more information, see Data Types in the _Amazon DynamoDB Developer_ _Guide_. ## Contents ###### Note In the following list, the required parameters are described...
stackoverflow-102/extraction_3.txt
# Example: Handling binary type attributes using the AWS SDK for Java document API PDF RSS Focus mode Example: Handling binary type attributes using the AWS SDK for Java document API - Amazon DynamoDB Open PDF The following Java code example illustrates handling binary type attributes. The example adds an item to the `...
Bind_variables_Managing_Transactions/Bind_variables_13_0.txt
## 7.13. Binding Multiple Values to a SQL WHERE IN Clause  To use a SQL IN clause with multiple values, use one bind variable per value. You cannot directly bind a Python list or dictionary to a single bind variable. For example, to use two values in an IN clause: items = ["Smith", "Taylor"] cur...
stackoverflow-103/extraction_0.txt
## 7.13. Binding Multiple Values to a SQL WHERE IN Clause  To use a SQL IN clause with multiple values, use one bind variable per value. You cannot directly bind a Python list or dictionary to a single bind variable. For example, to use two values in an IN clause: ``` cursor.execute(""" select employee_id, first_name,...
stackoverflow-103/extraction_1.txt
## 24.1. Error Handling in Thin and Thick Modes  The Thin and Thick modes of python-oracledb return some errors differently. The python-oracledb Thin mode code generates error messages with the prefix “DPY”. In python-oracledb Thick mode: - The Oracle Call Interface (OCI) libraries generate error messages with the pre...
stackoverflow-103/extraction_2.txt
# 7\. Using Bind Variables  SQL and PL/SQL statements that pass data to and from Oracle Database should use placeholders in SQL and PL/SQL statements that mark where data is supplied or returned. These placeholders are referred to as bind variables or bind parameters. A bind variable is a colon-prefixed identifier or ...
stackoverflow-103/extraction_3.txt
``` 7.13. Binding Multiple Values to a SQL WHERE IN Clause  To use a SQL IN clause with multiple values, use one bind variable per value. You cannot directly bind a Python list or dictionary to a single bind variable. For example, to use two values in an IN clause: ``` cursor.execute(""" select employee_id, first_name...
stackoverflow-104/extraction_0.txt
### Functions ¶ xml.etree.ElementTree.indent( _tree_, _space=''_, _level=0_) ¶ Appends whitespace to the subtree to indent the tree visually. This can be used to generate pretty-printed XML output. _tree_ can be an Element or ElementTree. _space_ is the whitespace string that will be inserted for each indentation level...
stackoverflow-104/extraction_1.txt
`xml.dom.minidom` — Minimal DOM implementation ¶ **Source code:** Lib/xml/dom/minidom.py * * * `xml.dom.minidom` implementation.") is a minimal implementation of the Document Object Model interface, with an API similar to that in other languages. It is intended to be simpler than the full DOM and also significantly sma...
stackoverflow-104/extraction_2.txt
# Pretty-Printing XML ¶ `ElementTree` makes no effort to “pretty print” the output produced by `tostring()`, since adding extra whitespace changes the contents of the document. To make the output easier to follow for human readers, the rest of the examples below will use a tip I found\\ online and re-parse the XML with...
stackoverflow-104/extraction_3.txt
# Serialisation ## C14N lxml.etree has support for C14N 1.0 and C14N 2.0. When serialising an XML tree using `ElementTree.write()` or `tostring()`, you can pass the option `method="c14n"` for 1.0 or `method="c14n2"` for 2.0. Additionally, there is a function `etree.canonicalize()` which can be used to convert serialise...
firebase/firestore_1_12.txt
irebase ](/docs/gemini-in-firebase) * [ Emulator Suite ](/docs/emulator-suite) * [ Authentication ](/docs/auth) * [ Realtime Database ](/docs/database) * [ Firestore ](/docs/firestore) * [ Storage ](/docs/storage) * [ ML ](/docs/ml) * [ Hosting ](/docs/hosting) * [ Cloud Functions ](/docs/func...
firebase/firestore_0_12.txt
irebase ](/docs/gemini-in-firebase) * [ Emulator Suite ](/docs/emulator-suite) * [ Authentication ](/docs/auth) * [ Realtime Database ](/docs/database) * [ Firestore ](/docs/firestore) * [ Storage ](/docs/storage) * [ ML ](/docs/ml) * [ Hosting ](/docs/hosting) * [ Cloud Functions ](/docs/func...
firebase/firestore_1_13.txt
query scans 95000 index entries only to return 5 documents. Since the query predicate isn't satisfied, a large number of index entries are read, but filtered out. // Output query planning info { "indexesUsed": [ { "properties": "(experience ASC, salary ASC, __name...
firebase/firestore_0_13.txt
ASC ` query requires a composite index on the ` a ASC, b ASC ` fields. To optimize the performance and cost of Cloud Firestore queries, you should optimize the order of fields in the index. To do this, you should ensure that your index is ordered from left to right such that the query distills to a dataset that preve...
firebase/firestore_0_14.txt
; ### Node.js const querySnapshot = await db.collection('employees') .where("salary", ">", 100000) .orderBy("salary") .get(); // Order results by `experience` ### Python ...
stackoverflow-105/extraction_0.txt
# Indexing considerations Before you run your queries, read about queries and the Cloud Firestore data model. In Cloud Firestore, the `ORDER BY` clause of a query determines which indexes can be used to serve the query. For example, an `ORDER BY a ASC, b ASC` query requires a composite index on the `a ASC, b ASC` field...
stackoverflow-105/extraction_1.txt
## October 01, 2024 You can now use customer-managed encryption keys (CMEK) in Firestore to protect your data. This feature is generally available (GA) behind an allow-list. For more information, see Customer-managed encryption keys (CMEK). ## September 05, 2024 You can now use Firestore to perform K-nearest neighbor (...
stackoverflow-105/extraction_2.txt
Update - May 02, 2024 ### Firebase Android BoM (Bill of Materials) version 33.0.0 Firebase Android SDKs mapped to this BoM version Libraries that were versioned with this release are in highlighted rows. Refer to a library's release notes (on this page) for details about its changes. | Artifact name | Version mapped<br...
stackoverflow-105/extraction_3.txt
**Update**: since late March 2024 Firestore can now have inequality and range conditions on multiple fields in a query. See the documentation here: https://firebase.google.com/docs/firestore/query-data/multiple-range-fields New, up-to-date answer above 👆 * * * Old, outdated answer below 👇 The error message and docume...
mudblazor/mudblazor_0_3.txt
short hint displayed in the input before the user enters a value. ` ReadOnly ` | bool | False | If true, the input will be read-only. ` Strict ` | bool | False | If true, the Select's input will not show any values that are not defined in the dropdown. This can be useful if Value is bound to a variable ...
stackoverflow-106/extraction_0.txt
``` | ###### Behavior | | `Adornment` | Adornment | Adornment.End | The Adornment if used. By default, it is set to None. | | `AdornmentIcon` | string | null | Icon that will be used if Adornment is set to Start or End. | | `AdornmentText` | string | null | Text that will be used if Adornment is set to Start or End, th...
stackoverflow-106/extraction_1.txt
## 2 Answers 2 Sorted by: Reset to default Highest score (default) Trending (recent votes count more) Date modified (newest first) Date created (oldest first) This answer is useful 5 Save this answer. Timeline Show activity on this post. Found the answer. You can use `ToStringFunc` attribute of `MudSelect`. In your cod...
End of preview. Expand in Data Studio

BrightProStackoverflowRetrieval

An MTEB dataset
Massive Text Embedding Benchmark

Part of the BRIGHT-Pro benchmark for reasoning-intensive retrieval in agentic search settings. Stack Overflow queries are paired with multi-aspect gold evidence drawn from a long-form reference answer covering several reasoning aspects.

Task category Retrieval (text-to-text)
Domains Non-fiction, Written
Reference Rethinking Reasoning-Intensive Retrieval: Evaluating and Advancing Retrievers in Agentic Search Systems

Source datasets:

How to evaluate on this task

You can evaluate an embedding model on this dataset using the following code:

import mteb

task = mteb.get_task("BrightProStackoverflowRetrieval")
model = mteb.get_model(YOUR_MODEL)
mteb.evaluate(model, task)

To learn more about how to run models on mteb task check out the GitHub repository.

Citation

If you use this dataset, please cite the dataset as well as mteb, as this dataset likely includes additional processing as a part of the MMTEB Contribution.


@article{Zhao2026RethinkingRR,
  author = {Yilun Zhao and Jinbiao Wei and Tingyu Song and Siyue Zhang and Chen Zhao and Arman Cohan},
  journal = {arXiv preprint arXiv:2605.04018},
  title = {Rethinking Reasoning-Intensive Retrieval: Evaluating and Advancing Retrievers in Agentic Search Systems},
  year = {2026},
}


@article{enevoldsen2025mmtebmassivemultilingualtext,
  title={MMTEB: Massive Multilingual Text Embedding Benchmark},
  author={Kenneth Enevoldsen and Isaac Chung and Imene Kerboua and Márton Kardos and Ashwin Mathur and David Stap and Jay Gala and Wissam Siblini and Dominik Krzemiński and Genta Indra Winata and Saba Sturua and Saiteja Utpala and Mathieu Ciancone and Marion Schaeffer and Gabriel Sequeira and Diganta Misra and Shreeya Dhakal and Jonathan Rystrøm and Roman Solomatin and Ömer Çağatan and Akash Kundu and Martin Bernstorff and Shitao Xiao and Akshita Sukhlecha and Bhavish Pahwa and Rafał Poświata and Kranthi Kiran GV and Shawon Ashraf and Daniel Auras and Björn Plüster and Jan Philipp Harries and Loïc Magne and Isabelle Mohr and Mariya Hendriksen and Dawei Zhu and Hippolyte Gisserot-Boukhlef and Tom Aarsen and Jan Kostkan and Konrad Wojtasik and Taemin Lee and Marek Šuppa and Crystina Zhang and Roberta Rocca and Mohammed Hamdy and Andrianos Michail and John Yang and Manuel Faysse and Aleksei Vatolin and Nandan Thakur and Manan Dey and Dipam Vasani and Pranjal Chitale and Simone Tedeschi and Nguyen Tai and Artem Snegirev and Michael Günther and Mengzhou Xia and Weijia Shi and Xing Han Lù and Jordan Clive and Gayatri Krishnakumar and Anna Maksimova and Silvan Wehrli and Maria Tikhonova and Henil Panchal and Aleksandr Abramov and Malte Ostendorff and Zheng Liu and Simon Clematide and Lester James Miranda and Alena Fenogenova and Guangyu Song and Ruqiya Bin Safi and Wen-Ding Li and Alessia Borghini and Federico Cassano and Hongjin Su and Jimmy Lin and Howard Yen and Lasse Hansen and Sara Hooker and Chenghao Xiao and Vaibhav Adlakha and Orion Weller and Siva Reddy and Niklas Muennighoff},
  publisher = {arXiv},
  journal={arXiv preprint arXiv:2502.13595},
  year={2025},
  url={https://arxiv.org/abs/2502.13595},
  doi = {10.48550/arXiv.2502.13595},
}

@article{muennighoff2022mteb,
  author = {Muennighoff, Niklas and Tazi, Nouamane and Magne, Loïc and Reimers, Nils},
  title = {MTEB: Massive Text Embedding Benchmark},
  publisher = {arXiv},
  journal={arXiv preprint arXiv:2210.07316},
  year = {2022}
  url = {https://arxiv.org/abs/2210.07316},
  doi = {10.48550/ARXIV.2210.07316},
}

Dataset Statistics

Dataset Statistics

The following code contains the descriptive statistics from the task. These can also be obtained using:

import mteb

task = mteb.get_task("BrightProStackoverflowRetrieval")

desc_stats = task.metadata.descriptive_stats
{
    "standard": {
        "num_samples": 109303,
        "num_queries": 115,
        "num_documents": 109188,
        "number_of_characters": 193953160,
        "documents_text_statistics": {
            "total_text_length": 193803733,
            "min_text_length": 1,
            "average_text_length": 1774.9545096530753,
            "max_text_length": 178579,
            "unique_texts": 68375
        },
        "documents_image_statistics": null,
        "documents_audio_statistics": null,
        "documents_video_statistics": null,
        "queries_text_statistics": {
            "total_text_length": 149427,
            "min_text_length": 185,
            "average_text_length": 1299.3652173913044,
            "max_text_length": 12432,
            "unique_texts": 115
        },
        "queries_image_statistics": null,
        "queries_audio_statistics": null,
        "queries_video_statistics": null,
        "relevant_docs_statistics": {
            "num_relevant_docs": 529,
            "min_relevant_docs_per_query": 1,
            "average_relevant_docs_per_query": 4.6,
            "max_relevant_docs_per_query": 13,
            "unique_relevant_docs": 529
        },
        "top_ranked_statistics": null
    }
}

This dataset card was automatically generated using MTEB

Downloads last month
-

Papers for mteb/BrightProStackoverflowRetrieval