<commit_before>﻿<Window x:Class="Madd0.AzureStorageDriver.ConnectionDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        Title="Azure Storage Account"
        Width="400"
        Background="{StaticResource {x:Static SystemColors.ControlBrushKey}}"
        ResizeMode="NoResize"
        SizeToContent="Height"
        WindowStartupLocation="CenterScreen"
        mc:Ignorable="d">
    <Window.Resources>
        <Style TargetType="TextBox">
            <Style.Triggers>
                <DataTrigger Binding="{Binding IsChecked, ElementName=UseDevelopmentStorage}" Value="True">
                    <Setter Property="IsEnabled" Value="False" />
                    <Setter Property="Text" Value="" />
                </DataTrigger>
            </Style.Triggers>
        </Style>
    </Window.Resources>
    <StackPanel Margin="7">

        <Label Padding="0 0 0 3">Storage account name:</Label>

        <DockPanel>
            <CheckBox x:Name="UseDevelopmentStorage"
                      Margin="30 0 0 0"
                      VerticalAlignment="Center"
                      Content="Use _development storage"
                      DockPanel.Dock="Right"
                      IsChecked="{Binding UseLocalStorage}"
                      TabIndex="2" />
            <TextBox TabIndex="1" Text="{Binding AccountName}" />
        </DockPanel>

        <Label Padding="0 0 0 3">Storage account key:</Label>
        <TextBox TabIndex="3" Text="{Binding AccountKey}" />

        <CheckBox Margin="0 10"
                  Content="_Remember this connection"
                  IsChecked="{Binding Persist}"
                  TabIndex="5" />

        <Expander Header="_Advanced">
            <Expander.Style>
                <Style TargetType="Expander">
                    <Style.Triggers>
                        <DataTrigger Binding="{Binding IsChecked, ElementName=UseDevelopmentStorage}" Value="True">
                            <Setter Property="IsEnabled" Value="False" />
                        </DataTrigger>
                    </Style.Triggers>
                </Style>
            </Expander.Style>
            <StackPanel Margin="23 5 0 0">
                <CheckBox Margin="0"
                          Content="_Use HTTPS"
                          IsChecked="{Binding UseHttps}"
                          TabIndex="4" />
                <StackPanel Margin="0 10" Orientation="Horizontal">
                    <TextBlock>Number of lines to sample:</TextBlock>
                    <TextBox Width="50"
                             Margin="5 0"
                             Text="{Binding NumberOfRows}"
                             TextAlignment="Right" />
                    <Grid>
                        <Grid.ToolTip>
                            <ToolTip>
                                <TextBlock>The number of lines that will be read in order to determine the schema of an Azure Table.</TextBlock>
                            </ToolTip>
                        </Grid.ToolTip>
                        <Ellipse Width="15"
                                 Height="15"
                                 Fill="#3CA1C8" />
                        <TextBlock Margin="0 1 0 0"
                                   HorizontalAlignment="Center"
                                   FontWeight="Bold"
                                   Foreground="White"
                                   Text="?" />
                    </Grid>
                </StackPanel>
            </StackPanel>
        </Expander>

        <DockPanel Margin="0 10 0 0" LastChildFill="False">
            <DockPanel.Resources>
                <Style TargetType="Button">
                    <Setter Property="DockPanel.Dock" Value="Right" />
                    <Setter Property="Padding" Value="8 3" />
                    <Setter Property="Margin" Value="5 0 0 0" />
                    <Setter Property="MinWidth" Value="60" />
                </Style>
            </DockPanel.Resources>

            <Button Grid.Row="5"
                    Grid.Column="1"
                    IsCancel="True"
                    TabIndex="7">
                _Cancel
            </Button>
            <Button Grid.Row="5"
                    Click="OnOkClick"
                    IsDefault="True"
                    TabIndex="6">
                _OK
            </Button>
        </DockPanel>

    </StackPanel><commit_msg>Add setting in properties for parallel schema loading<commit_after>﻿<Window x:Class="Madd0.AzureStorageDriver.ConnectionDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        Title="Azure Storage Account"
        Width="400"
        Background="{StaticResource {x:Static SystemColors.ControlBrushKey}}"
        ResizeMode="NoResize"
        SizeToContent="Height"
        WindowStartupLocation="CenterScreen"
        mc:Ignorable="d">
    <Window.Resources>
        <Style TargetType="TextBox">
            <Style.Triggers>
                <DataTrigger Binding="{Binding IsChecked, ElementName=UseDevelopmentStorage}" Value="True">
                    <Setter Property="IsEnabled" Value="False" />
                    <Setter Property="Text" Value="" />
                </DataTrigger>
            </Style.Triggers>
        </Style>
    </Window.Resources>
    <StackPanel Margin="7">

        <Label Padding="0 0 0 3">Storage account name:</Label>

        <DockPanel>
            <CheckBox x:Name="UseDevelopmentStorage"
                      Margin="30 0 0 0"
                      VerticalAlignment="Center"
                      Content="Use _development storage"
                      DockPanel.Dock="Right"
                      IsChecked="{Binding UseLocalStorage}"
                      TabIndex="2" />
            <TextBox TabIndex="1" Text="{Binding AccountName}" />
        </DockPanel>

        <Label Padding="0 0 0 3">Storage account key:</Label>
        <TextBox TabIndex="3" Text="{Binding AccountKey}" />

        <CheckBox Margin="0 10"
                  Content="_Remember this connection"
                  IsChecked="{Binding Persist}"
                  TabIndex="5" />

        <Expander Header="_Advanced">
            <Expander.Style>
                <Style TargetType="Expander">
                    <Style.Triggers>
                        <DataTrigger Binding="{Binding IsChecked, ElementName=UseDevelopmentStorage}" Value="True">
                            <Setter Property="IsEnabled" Value="False" />
                        </DataTrigger>
                    </Style.Triggers>
                </Style>
            </Expander.Style>
            <StackPanel Margin="23 5 0 0">
                <CheckBox Margin="0"
                          Content="_Use HTTPS"
                          IsChecked="{Binding UseHttps}"
                          TabIndex="4" />
                <StackPanel Margin="0 10" Orientation="Horizontal">
                    <TextBlock>Number of lines to sample:</TextBlock>
                    <TextBox Width="50"
                             Margin="5 0"
                             Text="{Binding NumberOfRows}"
                             TextAlignment="Right" />
                    <Grid>
                        <Grid.ToolTip>
                            <ToolTip>
                                <TextBlock>The number of lines that will be read in order to determine the schema of an Azure Table.</TextBlock>
                            </ToolTip>
                        </Grid.ToolTip>
                        <Ellipse Width="15"
                                 Height="15"
                                 Fill="#3CA1C8" />
                        <TextBlock Margin="0 1 0 0"
                                   HorizontalAlignment="Center"
                                   FontWeight="Bold"
                                   Foreground="White"
                                   Text="?" />
                    </Grid>
                </StackPanel>
                <StackPanel Margin="0 10" Orientation="Horizontal">
                    <TextBlock>Schema loading parallelism:</TextBlock>
                    <TextBox Width="50"
                             Margin="5 0"
                             Text="{Binding ModelLoadMaxParallelism}"
                             TextAlignment="Right" />
                    <Grid>
                        <Grid.ToolTip>
                            <ToolTip>
                                <TextBlock>The number of concurrent calls that will be made to Azure Table Storage to determine the columns available for each table.</TextBlock>
                            </ToolTip>
                        </Grid.ToolTip>
                        <Ellipse Width="15"
                                 Height="15"
                                 Fill="#3CA1C8" />
                        <TextBlock Margin="0 1 0 0"
                                   HorizontalAlignment="Center"
                                   FontWeight="Bold"
                                   Foreground="White"
                                   Text="?" />
                    </Grid>
                </StackPanel>
            </StackPanel>
        </Expander>

        <DockPanel Margin="0 10 0 0" LastChildFill="False">
            <DockPanel.Resources>
                <Style TargetType="Button">
                    <Setter Property="DockPanel.Dock" Value="Right" />
                    <Setter Property="Padding" Value="8 3" />
                    <Setter Property="Margin" Value="5 0 0 0" />
                    <Setter Property="MinWidth" Value="60" />
                </Style>
            </DockPanel.Resources>

            <Button Grid.Row="5"
                    Grid.Column="1"
                    IsCancel="True"
                    TabIndex="7">
                _Cancel
            </Button>
            <Button Grid.Row="5"
                    Click="OnOkClick"
                    IsDefault="True"
                    TabIndex="6">
                _OK
            </Button>
        </DockPanel>

    </StackPanel>
{'fraction_non_alphanumeric': 0.10550895920701486, 'fraction_numerical': 0.017727792603888678, 'mean_word_length': 1.2039487502625499, 'pattern_counts': {'":': 0, '<': 150, '<?xml version=': 0, '>': 150, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 24, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3217135', 'n_tokens_mistral': 2705, 'n_tokens_neox': 2385, 'n_words': 489}