Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't reset binning on join columns to "Don't bin" #42681

Open
willbryant opened this issue May 15, 2024 · 0 comments
Open

Can't reset binning on join columns to "Don't bin" #42681

willbryant opened this issue May 15, 2024 · 0 comments
Assignees
Labels
.Frontend Priority:P2 Average run of the mill bug Querying/Notebook Items specific to the Custom/Notebook query builder .Team/QueryingComponents Type:Bug Product defects

Comments

@willbryant
Copy link
Contributor

Describe the bug

When adding a join to a question and choosing a date field, it will by default bin the date field by month. You can change the binning, but trying to change to the "Don't bin" option doesn't work - the current binning sticks.

To Reproduce

  1. Go to 'New' > 'Question'
  2. Choose the Sample Database and any table with a date field, such as Accounts
  3. Add a join to the same table and choose the 'Created At' date field on both sides of the criteria
  4. Change the 'Created At' grouping to 'Day'; this works
  5. Change the 'Created At' grouping to 'Day of month' (from the More menu); this works
  6. Change the 'Created At' grouping to 'Don't bin'; this is ignored and 'Day of month' remains

Expected behavior

Changing the binning to "Don't bin" should work.

Logs

No response

Information about your Metabase installation

{
  "browser-info": {
    "language": "en-GB",
    "platform": "MacIntel",
    "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36",
    "vendor": "Google Inc."
  },
  "system-info": {
    "file.encoding": "UTF-8",
    "java.runtime.name": "OpenJDK Runtime Environment",
    "java.runtime.version": "11.0.23+9",
    "java.vendor": "Eclipse Adoptium",
    "java.vendor.url": "https://adoptium.net/",
    "java.version": "11.0.23",
    "java.vm.name": "OpenJDK 64-Bit Server VM",
    "java.vm.version": "11.0.23+9",
    "os.name": "Linux",
    "os.version": "5.10.215-203.850.amzn2.x86_64",
    "user.language": "en",
    "user.timezone": "Pacific/Auckland"
  },
  "metabase-info": {
    "databases": [
      "h2",
      "bigquery-cloud-sdk"
    ],
    "hosting-env": "unknown",
    "application-database": "postgres",
    "application-database-details": {
      "database": {
        "name": "PostgreSQL",
        "version": "14.5"
      },
      "jdbc-driver": {
        "name": "PostgreSQL JDBC Driver",
        "version": "42.7.2"
      }
    },
    "run-mode": "prod",
    "version": {
      "date": "2024-05-15",
      "tag": "v0.49.10",
      "hash": "9e8fc83"
    },
    "settings": {
      "report-timezone": "Pacific/Auckland"
    }
  }
}

Severity

Moderate

Additional context

No response

@alxnddr alxnddr added Priority:P2 Average run of the mill bug .Frontend Querying/Notebook Items specific to the Custom/Notebook query builder .Team/QueryingComponents and removed .Needs Triage labels May 15, 2024
@ranquild ranquild self-assigned this May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.Frontend Priority:P2 Average run of the mill bug Querying/Notebook Items specific to the Custom/Notebook query builder .Team/QueryingComponents Type:Bug Product defects
Projects
None yet
Development

No branches or pull requests

3 participants