<commit_before><?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>

<plugin>

    <extension point="org.jkiss.dbeaver.dataSourceProvider">

        <!-- Spanner -->

        <datasource
                class="org.jkiss.dbeaver.ext.spanner.SpannerDataSourceProvider"
                description="%datasource.spanner.description"
                id="google_spanner"
                parent="generic"
                label="Google Cloud Spanner"
                icon="icons/spanner_icon.png"
                dialect="spanner">
            <drivers managable="true">

                <driver
                        id="spanner_jdbc_official"
                        label="Google Cloud Spanner"
                        icon="icons/spanner_icon.png"
                        iconBig="icons/spanner_icon_big.png"
                        class="com.google.cloud.spanner.jdbc.JdbcDriver"
                        sampleURL="jdbc:cloudspanner:/projects/my-project/instances/my-instance/databases/my-database"
                        defaultPort=""
                        description="Google Cloud Spanner Open Source JDBC Driver"
                        webURL="https://cloud.google.com/spanner/docs/use-oss-jdbc"
                        categories="sql,bigdata,cloud"
                        singleConnection="true">
                    <replace provider="google_spanner" driver="spanner_jdbc"/>
                    <parameter name="omit-catalog" value="true"/>
                    <parameter name="omit-schema" value="false"/>
                    <file type="jar" path="maven:/com.google.cloud:google-cloud-spanner-jdbc:RELEASE"/>
                </driver>
                
                <driver
                        id="spanner_jdbc"
                        label="Google Cloud Spanner (Deprecated)"
                        icon="icons/spanner_icon.png"
                        iconBig="icons/spanner_icon_big.png"
                        class="nl.topicus.jdbc.CloudSpannerDriver"
                        sampleURL="jdbc:cloudspanner://localhost"
                        defaultPort=""
                        description="Google Spanner JDBC community (Topicus) driver (Deprecated, use the officially supported driver instead)"
                        webURL="https://github.com/olavloite/spanner-jdbc"
                        categories="sql,bigdata,cloud">
                    <parameter name="omit-catalog" value="true"/>
                    <parameter name="omit-schema" value="true"/>
                    <file type="jar" path="maven:/nl.topicus:spanner-jdbc:RELEASE"/>
                </driver>

            </drivers>

        </datasource>
    </extension>

    <extension point="org.jkiss.dbeaver.sqlDialect">
        <dialect id="spanner" parent="generic" class="org.jkiss.dbeaver.ext.spanner.model.SpannerSQLDialect" label="Spanner" description="Google Cloud Spanner SQL dialect." icon="icons/spanner_icon.png">
        </dialect>
    </extension>

    <extension point="org.jkiss.dbeaver.dataSourceAuth">
        <authModel
                id="google_spanner"
                label="Google Cloud Auth"
                description="Spanner internal authentication"
                class="org.jkiss.dbeaver.ext.spanner.auth.SpannerAuthModel"
                default="true">
            <replace model="native"/>
            <datasource id="google_spanner"/>
        </authModel>
    </extension>

</plugin>
<commit_msg>dbeaver/dbeaver-ee#1694 stop Spanner driver on the working driver version (#17642)<commit_after><?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.2"?>

<plugin>

    <extension point="org.jkiss.dbeaver.dataSourceProvider">

        <!-- Spanner -->

        <datasource
                class="org.jkiss.dbeaver.ext.spanner.SpannerDataSourceProvider"
                description="%datasource.spanner.description"
                id="google_spanner"
                parent="generic"
                label="Google Cloud Spanner"
                icon="icons/spanner_icon.png"
                dialect="spanner">
            <drivers managable="true">

                <driver
                        id="spanner_jdbc_official"
                        label="Google Cloud Spanner"
                        icon="icons/spanner_icon.png"
                        iconBig="icons/spanner_icon_big.png"
                        class="com.google.cloud.spanner.jdbc.JdbcDriver"
                        sampleURL="jdbc:cloudspanner:/projects/my-project/instances/my-instance/databases/my-database"
                        defaultPort=""
                        description="Google Cloud Spanner Open Source JDBC Driver"
                        webURL="https://cloud.google.com/spanner/docs/use-oss-jdbc"
                        categories="sql,bigdata,cloud"
                        singleConnection="true">
                    <replace provider="google_spanner" driver="spanner_jdbc"/>
                    <parameter name="omit-catalog" value="true"/>
                    <parameter name="omit-schema" value="false"/>
                    <file type="jar" path="maven:/com.google.cloud:google-cloud-spanner-jdbc:RELEASE[2.7.4]"/>
                </driver>
                
                <driver
                        id="spanner_jdbc"
                        label="Google Cloud Spanner (Deprecated)"
                        icon="icons/spanner_icon.png"
                        iconBig="icons/spanner_icon_big.png"
                        class="nl.topicus.jdbc.CloudSpannerDriver"
                        sampleURL="jdbc:cloudspanner://localhost"
                        defaultPort=""
                        description="Google Spanner JDBC community (Topicus) driver (Deprecated, use the officially supported driver instead)"
                        webURL="https://github.com/olavloite/spanner-jdbc"
                        categories="sql,bigdata,cloud">
                    <parameter name="omit-catalog" value="true"/>
                    <parameter name="omit-schema" value="true"/>
                    <file type="jar" path="maven:/nl.topicus:spanner-jdbc:RELEASE"/>
                </driver>

            </drivers>

        </datasource>
    </extension>

    <extension point="org.jkiss.dbeaver.sqlDialect">
        <dialect id="spanner" parent="generic" class="org.jkiss.dbeaver.ext.spanner.model.SpannerSQLDialect" label="Spanner" description="Google Cloud Spanner SQL dialect." icon="icons/spanner_icon.png">
        </dialect>
    </extension>

    <extension point="org.jkiss.dbeaver.dataSourceAuth">
        <authModel
                id="google_spanner"
                label="Google Cloud Auth"
                description="Spanner internal authentication"
                class="org.jkiss.dbeaver.ext.spanner.auth.SpannerAuthModel"
                default="true">
            <replace model="native"/>
            <datasource id="google_spanner"/>
        </authModel>
    </extension>

</plugin>

{'fraction_non_alphanumeric': 0.11522988505747127, 'fraction_numerical': 0.003160919540229885, 'mean_word_length': 1.6670498084291188, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 2, '>': 67, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5388559', 'n_tokens_mistral': 1882, 'n_tokens_neox': 1698, 'n_words': 263}